![]() |
Eclipse SUMO - Simulation of Urban MObility
|
network argument More...
#include <GNEPythonToolDialogElements.h>
Public Member Functions | |
| const std::string | getArgument () const |
| get argument | |
| MFXLabelTooltip * | getParameterLabel () const |
| get parameter label | |
| NetworkArgument (GNEPythonToolDialog *toolDialogParent, const GNEPythonTool *pythonTool, GNEApplicationWindow *applicationWindow, FXVerticalFrame *argumentFrame, const std::string name, Option *option) | |
| FOX-declaration. | |
| long | onCmdOpenFilename (FXObject *, FXSelector, void *) |
| Called when user press open filename button. | |
| long | onCmdSetValue (FXObject *, FXSelector, void *) |
| Called when user set filename. | |
| long | onCmdUseCurrentNetworkFile (FXObject *, FXSelector, void *) |
| Called when user press use current button. | |
| long | onUpdUseCurrentNetworkFile (FXObject *sender, FXSelector, void *) |
| enable or disable use current button | |
| bool | requiredAttributeSet () const |
| check if required attribute is set | |
| void | reset () |
| reset to default value | |
FOX-callbacks | |
| long | onCmdResetValue (FXObject *, FXSelector, void *) |
| Called when user press reset button. | |
| long | onUpdResetValue (FXObject *, FXSelector, void *) |
| Called when user press reset button. | |
Protected Member Functions | |
| const std::string | getValue () const |
| get value | |
| NetworkArgument () | |
| FOX need this. | |
Protected Attributes | |
| const std::string | myDefaultValue |
| default value | |
| FXHorizontalFrame * | myElementsFrame = nullptr |
| auxiliar elements frame | |
| FXTextField * | myFilenameTextField = nullptr |
| filename textField | |
| Option * | myOption = nullptr |
| option | |
| GNEPythonToolDialog * | myToolDialogParent = nullptr |
| tool dialog parent | |
Private Member Functions | |
| NetworkArgument (const NetworkArgument &)=delete | |
| Invalidated copy constructor. | |
| NetworkArgument & | operator= (const NetworkArgument &)=delete |
| Invalidated assignment operator. | |
Private Attributes | |
| MFXButtonTooltip * | myCurrentButton = nullptr |
| current button | |
| MFXButtonTooltip * | myOpenFilenameButton = nullptr |
| filename button | |
| MFXLabelTooltip * | myParameterLabel = nullptr |
| parameter label | |
| FXButton * | myResetButton = nullptr |
| reset button | |
network argument
Definition at line 233 of file GNEPythonToolDialogElements.h.
| GNEPythonToolDialogElements::NetworkArgument::NetworkArgument | ( | GNEPythonToolDialog * | toolDialogParent, |
| const GNEPythonTool * | pythonTool, | ||
| GNEApplicationWindow * | applicationWindow, | ||
| FXVerticalFrame * | argumentFrame, | ||
| const std::string | name, | ||
| Option * | option | ||
| ) |
|
protected |
FOX need this.
Definition at line 391 of file GNEPythonToolDialogElements.cpp.
|
privatedelete |
Invalidated copy constructor.
|
inherited |
get argument
Definition at line 149 of file GNEPythonToolDialogElements.cpp.
|
inherited |
get parameter label
Definition at line 143 of file GNEPythonToolDialogElements.cpp.
|
protectedvirtualinherited |
get value
Implements GNEPythonToolDialogElements::Argument.
Definition at line 262 of file GNEPythonToolDialogElements.cpp.
| long GNEPythonToolDialogElements::NetworkArgument::onCmdOpenFilename | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when user press open filename button.
Definition at line 353 of file GNEPythonToolDialogElements.cpp.
References GNEDialog::ACCEPT, GNEFileDialog::LOAD_MULTIPLE, GNEFileDialog::NETEDIT, SUMOXMLDefinitions::NetFileExtensions, GNEFileDialog::SAVE, and TL.
Referenced by FXDEFMAP().
|
inherited |
Called when user press reset button.
Definition at line 169 of file GNEPythonToolDialogElements.cpp.
Referenced by FXDEFMAP().
|
virtualinherited |
Called when user set filename.
Implements GNEPythonToolDialogElements::Argument.
Definition at line 227 of file GNEPythonToolDialogElements.cpp.
| long GNEPythonToolDialogElements::NetworkArgument::onCmdUseCurrentNetworkFile | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when user press use current button.
Definition at line 373 of file GNEPythonToolDialogElements.cpp.
References OptionsCont::getOptions().
Referenced by FXDEFMAP().
|
inherited |
Called when user press reset button.
Definition at line 177 of file GNEPythonToolDialogElements.cpp.
Referenced by FXDEFMAP().
| long GNEPythonToolDialogElements::NetworkArgument::onUpdUseCurrentNetworkFile | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
enable or disable use current button
Definition at line 380 of file GNEPythonToolDialogElements.cpp.
References OptionsCont::getOptions().
Referenced by FXDEFMAP().
|
privatedelete |
Invalidated assignment operator.
|
inherited |
check if required attribute is set
Definition at line 159 of file GNEPythonToolDialogElements.cpp.
|
virtualinherited |
reset to default value
Implements GNEPythonToolDialogElements::Argument.
Definition at line 199 of file GNEPythonToolDialogElements.cpp.
|
privateinherited |
current button
Definition at line 220 of file GNEPythonToolDialogElements.h.
Referenced by GNEPythonToolDialogElements::FileNameArgument::FileNameArgument().
|
protectedinherited |
default value
Definition at line 118 of file GNEPythonToolDialogElements.h.
|
protectedinherited |
auxiliar elements frame
Definition at line 121 of file GNEPythonToolDialogElements.h.
Referenced by GNEPythonToolDialogElements::Argument::Argument(), GNEPythonToolDialogElements::BoolArgument::BoolArgument(), GNEPythonToolDialogElements::EdgeArgument::EdgeArgument(), GNEPythonToolDialogElements::EdgeVectorArgument::EdgeVectorArgument(), GNEPythonToolDialogElements::FileNameArgument::FileNameArgument(), GNEPythonToolDialogElements::FloatArgument::FloatArgument(), GNEPythonToolDialogElements::IntArgument::IntArgument(), and GNEPythonToolDialogElements::StringArgument::StringArgument().
|
protectedinherited |
filename textField
Definition at line 216 of file GNEPythonToolDialogElements.h.
Referenced by GNEPythonToolDialogElements::FileNameArgument::FileNameArgument().
|
privateinherited |
filename button
Definition at line 223 of file GNEPythonToolDialogElements.h.
Referenced by GNEPythonToolDialogElements::FileNameArgument::FileNameArgument().
|
protectedinherited |
option
Definition at line 115 of file GNEPythonToolDialogElements.h.
|
privateinherited |
parameter label
Definition at line 125 of file GNEPythonToolDialogElements.h.
Referenced by GNEPythonToolDialogElements::Argument::Argument().
|
privateinherited |
reset button
Definition at line 128 of file GNEPythonToolDialogElements.h.
Referenced by GNEPythonToolDialogElements::Argument::Argument().
|
protectedinherited |
tool dialog parent
Definition at line 112 of file GNEPythonToolDialogElements.h.