![]() |
Eclipse SUMO - Simulation of Urban MObility
|
bool argument More...
#include <GNEPythonToolDialogElements.h>
Public Member Functions | |
| BoolArgument (GNEPythonToolDialog *toolDialogParent, const GNEPythonTool *pythonTool, GNEApplicationWindow *applicationWindow, FXVerticalFrame *argumentFrame, const std::string name, Option *option) | |
| constructor | |
| const std::string | getArgument () const |
| get argument | |
| MFXLabelTooltip * | getParameterLabel () const |
| get parameter label | |
| long | onCmdSetValue (FXObject *, FXSelector, void *) |
| Called when user set bool value. | |
| 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 | |
Protected Attributes | |
| FXCheckButton * | myCheckButton = nullptr |
| check button | |
| const std::string | myDefaultValue |
| default value | |
| FXHorizontalFrame * | myElementsFrame = nullptr |
| auxiliar elements frame | |
| Option * | myOption = nullptr |
| option | |
| GNEPythonToolDialog * | myToolDialogParent = nullptr |
| tool dialog parent | |
Private Member Functions | |
| BoolArgument (const IntArgument &)=delete | |
| Invalidated copy constructor. | |
| BoolArgument & | operator= (const IntArgument &)=delete |
| Invalidated assignment operator. | |
Private Attributes | |
| MFXLabelTooltip * | myParameterLabel = nullptr |
| parameter label | |
| FXButton * | myResetButton = nullptr |
| reset button | |
bool argument
Definition at line 523 of file GNEPythonToolDialogElements.h.
| GNEPythonToolDialogElements::BoolArgument::BoolArgument | ( | GNEPythonToolDialog * | toolDialogParent, |
| const GNEPythonTool * | pythonTool, | ||
| GNEApplicationWindow * | applicationWindow, | ||
| FXVerticalFrame * | argumentFrame, | ||
| const std::string | name, | ||
| Option * | option | ||
| ) |
constructor
Definition at line 765 of file GNEPythonToolDialogElements.cpp.
References Option::getBool(), GUIDesignCheckButton, MID_GNE_SET_ATTRIBUTE, myCheckButton, GNEPythonToolDialogElements::Argument::myElementsFrame, and TL.
|
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.
|
protectedvirtual |
get value
Implements GNEPythonToolDialogElements::Argument.
Definition at line 816 of file GNEPythonToolDialogElements.cpp.
|
inherited |
Called when user press reset button.
Definition at line 169 of file GNEPythonToolDialogElements.cpp.
Referenced by FXDEFMAP().
|
virtual |
Called when user set bool value.
Implements GNEPythonToolDialogElements::Argument.
Definition at line 796 of file GNEPythonToolDialogElements.cpp.
References TL.
|
inherited |
Called when user press reset button.
Definition at line 177 of file GNEPythonToolDialogElements.cpp.
Referenced by FXDEFMAP().
|
privatedelete |
Invalidated assignment operator.
|
inherited |
check if required attribute is set
Definition at line 159 of file GNEPythonToolDialogElements.cpp.
|
virtual |
reset to default value
Implements GNEPythonToolDialogElements::Argument.
Definition at line 782 of file GNEPythonToolDialogElements.cpp.
References TL.
|
protected |
check button
Definition at line 542 of file GNEPythonToolDialogElements.h.
Referenced by BoolArgument().
|
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(), BoolArgument(), GNEPythonToolDialogElements::EdgeArgument::EdgeArgument(), GNEPythonToolDialogElements::EdgeVectorArgument::EdgeVectorArgument(), GNEPythonToolDialogElements::FileNameArgument::FileNameArgument(), GNEPythonToolDialogElements::FloatArgument::FloatArgument(), GNEPythonToolDialogElements::IntArgument::IntArgument(), and GNEPythonToolDialogElements::StringArgument::StringArgument().
|
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.