![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Abstract dialog for tools. More...
#include <GNEToolDialog.h>
Public Member Functions | |
| void | addArgument (GNEToolDialogElements::Argument *argument) |
| add argument More... | |
| GNEToolDialog (GNEApplicationWindow *GNEApp, const std::string &name, const int dialogWidth, const int dialogHeight) | |
| FOX-declaration. More... | |
| void | hideToolDialog () |
| hide window More... | |
| void | openToolDialog () |
| open window More... | |
| bool | shown () const |
| shown More... | |
| ~GNEToolDialog () | |
| destructor More... | |
FOX-callbacks | |
event after press run button | |
| long | onCmdRun (FXObject *, FXSelector, void *) |
| long | onCmdCancel (FXObject *, FXSelector, void *) |
| event after press cancel button More... | |
| long | onCmdReset (FXObject *, FXSelector, void *) |
| event after press reset button More... | |
Protected Member Functions | |
| FXint | openAsModalDialog (FXuint placement=PLACEMENT_CURSOR) |
| execute dialog as modal More... | |
Protected Attributes | |
| FXVerticalFrame * | myContentFrame = nullptr |
| vertical frame for contents More... | |
| GNEApplicationWindow * | myGNEApp |
| FOX needs this. More... | |
Private Member Functions | |
| GNEToolDialog (const GNEToolDialog &)=delete | |
| Invalidated copy constructor. More... | |
| GNEToolDialog & | operator= (const GNEToolDialog &)=delete |
| Invalidated assignment operator. More... | |
Private Attributes | |
| std::vector< GNEToolDialogElements::Argument * > | myArguments |
| list of arguments More... | |
Abstract dialog for tools.
Definition at line 40 of file GNEToolDialog.h.
| GNEToolDialog::GNEToolDialog | ( | GNEApplicationWindow * | GNEApp, |
| const std::string & | name, | ||
| const int | dialogWidth, | ||
| const int | dialogHeight | ||
| ) |
FOX-declaration.
Constructor
Definition at line 45 of file GNEToolDialog.cpp.
References ACCEPT, CANCEL, GUIIconSubSys::getIcon(), GUIDesignAuxiliarFrame, GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonAccept, GUIDesignButtonCancel, GUIDesignButtonReset, GUIDesignContentsFrame, GUIDesignHorizontalFrame, MID_GNE_BUTTON_CANCEL, MID_GNE_BUTTON_RESET, MID_GNE_BUTTON_RUN, RESET, and TL.
| GNEToolDialog::~GNEToolDialog | ( | ) |
destructor
Definition at line 63 of file GNEToolDialog.cpp.
|
privatedelete |
Invalidated copy constructor.
| void GNEToolDialog::addArgument | ( | GNEToolDialogElements::Argument * | argument | ) |
add argument
Definition at line 88 of file GNEToolDialog.cpp.
References myArguments.
Referenced by GNEToolDialogElements::Argument::Argument().
| void GNEToolDialog::hideToolDialog | ( | ) |
hide window
Definition at line 77 of file GNEToolDialog.cpp.
| long GNEToolDialog::onCmdCancel | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
event after press cancel button
Definition at line 107 of file GNEToolDialog.cpp.
References myGNEApp.
Referenced by FXDEFMAP().
| long GNEToolDialog::onCmdReset | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
event after press reset button
Definition at line 117 of file GNEToolDialog.cpp.
References myArguments.
Referenced by FXDEFMAP().
| long GNEToolDialog::onCmdRun | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 94 of file GNEToolDialog.cpp.
References myGNEApp.
Referenced by FXDEFMAP().
|
protected |
execute dialog as modal
Definition at line 127 of file GNEToolDialog.cpp.
Referenced by GNEToolNetDiff::GNEToolNetDiff().
| void GNEToolDialog::openToolDialog | ( | ) |
|
privatedelete |
Invalidated assignment operator.
| bool GNEToolDialog::shown | ( | ) | const |
shown
Definition at line 82 of file GNEToolDialog.cpp.
|
private |
list of arguments
Definition at line 91 of file GNEToolDialog.h.
Referenced by addArgument(), and onCmdReset().
|
protected |
vertical frame for contents
Definition at line 84 of file GNEToolDialog.h.
Referenced by GNEToolNetDiff::GNEToolNetDiff().
|
protected |
FOX needs this.
pointer to GNEApplicationWindow
Definition at line 81 of file GNEToolDialog.h.
Referenced by onCmdCancel(), onCmdRun(), and openToolDialog().