![]() |
Eclipse SUMO - Simulation of Urban MObility
|
edge vector argument More...
#include <GNEPythonToolDialogElements.h>
Public Member Functions | |
| EdgeVectorArgument (GNEPythonToolDialog *toolDialogParent, FXVerticalFrame *argumentFrame, const std::string name, Option *option) | |
| FOX-declaration. | |
| const std::string | getArgument () const |
| get argument | |
| MFXLabelTooltip * | getParameterLabel () const |
| get parameter label | |
| long | onCmdSetValue (FXObject *, FXSelector, void *) |
| Called when user changes argument value. | |
| long | onCmdUseCurrent (FXObject *, FXSelector, void *) |
| Called when user press use seleted edges button. | |
| long | onUpdUseCurrent (FXObject *sender, FXSelector, void *) |
| enable or disable use selected edges 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 | |
| EdgeVectorArgument () | |
| FOX need this. | |
| const std::string | getValue () const |
| get value | |
Protected Attributes | |
| const std::string | myDefaultValue |
| default value | |
| FXTextField * | myEdgeVectorTextField = nullptr |
| edge vectgor textField | |
| FXHorizontalFrame * | myElementsFrame = nullptr |
| auxiliar elements frame | |
| Option * | myOption |
| option | |
| GNEPythonToolDialog * | myToolDialogParent |
| tool dialog parent | |
Private Member Functions | |
| EdgeVectorArgument (const EdgeVectorArgument &)=delete | |
| Invalidated copy constructor. | |
| EdgeVectorArgument & | operator= (const EdgeVectorArgument &)=delete |
| Invalidated assignment operator. | |
Private Attributes | |
| MFXButtonTooltip * | myCurrentEdgesButton = nullptr |
| current edges button | |
| MFXLabelTooltip * | myParameterLabel = nullptr |
| parameter label | |
| FXButton * | myResetButton = nullptr |
| reset button | |
edge vector argument
Definition at line 135 of file GNEPythonToolDialogElements.h.
| GNEPythonToolDialogElements::EdgeVectorArgument::EdgeVectorArgument | ( | GNEPythonToolDialog * | toolDialogParent, |
| FXVerticalFrame * | argumentFrame, | ||
| const std::string | name, | ||
| Option * | option | ||
| ) |
FOX-declaration.
constructor
Definition at line 269 of file GNEPythonToolDialogElements.cpp.
References EDGE, GUIIconSubSys::getIcon(), GUIMainWindow::getStaticTooltipMenu(), Option::getValueString(), GUIDesignButtonIcon, GUIDesignTextField, GUIDesignTextFieldNCol, MID_GNE_SET_ATTRIBUTE, MID_GNE_USE_CURRENT, myCurrentEdgesButton, myEdgeVectorTextField, GNEPythonToolDialogElements::Argument::myElementsFrame, GNEPythonToolDialog::myGNEApp, and TL.
|
protected |
FOX need this.
Definition at line 335 of file GNEPythonToolDialogElements.cpp.
|
privatedelete |
Invalidated copy constructor.
|
inherited |
get argument
Definition at line 154 of file GNEPythonToolDialogElements.cpp.
|
inherited |
get parameter label
Definition at line 148 of file GNEPythonToolDialogElements.cpp.
|
protectedvirtual |
get value
Implements GNEPythonToolDialogElements::Argument.
Definition at line 339 of file GNEPythonToolDialogElements.cpp.
|
inherited |
Called when user press reset button.
Definition at line 174 of file GNEPythonToolDialogElements.cpp.
Referenced by FXDEFMAP().
|
virtual |
Called when user changes argument value.
Implements GNEPythonToolDialogElements::Argument.
Definition at line 293 of file GNEPythonToolDialogElements.cpp.
| long GNEPythonToolDialogElements::EdgeVectorArgument::onCmdUseCurrent | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when user press use seleted edges button.
Definition at line 305 of file GNEPythonToolDialogElements.cpp.
Referenced by FXDEFMAP().
|
inherited |
Called when user press reset button.
Definition at line 182 of file GNEPythonToolDialogElements.cpp.
Referenced by FXDEFMAP().
| long GNEPythonToolDialogElements::EdgeVectorArgument::onUpdUseCurrent | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
enable or disable use selected edges button
Definition at line 322 of file GNEPythonToolDialogElements.cpp.
Referenced by FXDEFMAP().
|
privatedelete |
Invalidated assignment operator.
|
inherited |
check if required attribute is set
Definition at line 164 of file GNEPythonToolDialogElements.cpp.
|
virtual |
reset to default value
Implements GNEPythonToolDialogElements::Argument.
Definition at line 285 of file GNEPythonToolDialogElements.cpp.
|
private |
current edges button
Definition at line 168 of file GNEPythonToolDialogElements.h.
Referenced by EdgeVectorArgument().
|
protectedinherited |
default value
Definition at line 114 of file GNEPythonToolDialogElements.h.
|
protected |
edge vectgor textField
Definition at line 164 of file GNEPythonToolDialogElements.h.
Referenced by EdgeVectorArgument().
|
protectedinherited |
auxiliar elements frame
Definition at line 117 of file GNEPythonToolDialogElements.h.
Referenced by GNEPythonToolDialogElements::Argument::Argument(), GNEPythonToolDialogElements::BoolArgument::BoolArgument(), GNEPythonToolDialogElements::EdgeArgument::EdgeArgument(), EdgeVectorArgument(), GNEPythonToolDialogElements::FileNameArgument::FileNameArgument(), GNEPythonToolDialogElements::FloatArgument::FloatArgument(), GNEPythonToolDialogElements::IntArgument::IntArgument(), and GNEPythonToolDialogElements::StringArgument::StringArgument().
|
protectedinherited |
option
Definition at line 111 of file GNEPythonToolDialogElements.h.
|
privateinherited |
parameter label
Definition at line 121 of file GNEPythonToolDialogElements.h.
Referenced by GNEPythonToolDialogElements::Argument::Argument().
|
privateinherited |
reset button
Definition at line 124 of file GNEPythonToolDialogElements.h.
Referenced by GNEPythonToolDialogElements::Argument::Argument().
|
protectedinherited |
tool dialog parent
Definition at line 108 of file GNEPythonToolDialogElements.h.