Eclipse SUMO - Simulation of Urban MObility
|
bool argument More...
#include <GNEPythonToolDialogElements.h>
Public Member Functions | |
BoolArgument (GNEPythonToolDialog *toolDialogParent, FXVerticalFrame *argumentFrame, const std::string name, Option *option) | |
constructor More... | |
const std::string | getArgument () const |
get argument More... | |
MFXLabelTooltip * | getParameterLabel () const |
get parameter label More... | |
long | onCmdSetValue (FXObject *, FXSelector, void *) |
Called when user set bool value. More... | |
bool | requiredAttributeSet () const |
check if required attribute is set More... | |
void | reset () |
reset to default value More... | |
FOX-callbacks | |
long | onCmdResetValue (FXObject *, FXSelector, void *) |
Called when user press reset button. More... | |
long | onUpdResetValue (FXObject *, FXSelector, void *) |
Called when user press reset button. More... | |
Protected Member Functions | |
const std::string | getValue () const |
get value More... | |
Protected Attributes | |
FXCheckButton * | myCheckButton = nullptr |
check button More... | |
const std::string | myDefaultValue |
default value More... | |
FXHorizontalFrame * | myElementsFrame = nullptr |
auxiliar elements frame More... | |
Option * | myOption |
option More... | |
GNEPythonToolDialog * | myToolDialogParent |
tool dialog parent More... | |
Private Member Functions | |
BoolArgument (const IntArgument &)=delete | |
Invalidated copy constructor. More... | |
BoolArgument & | operator= (const IntArgument &)=delete |
Invalidated assignment operator. More... | |
Private Attributes | |
MFXLabelTooltip * | myParameterLabel = nullptr |
parameter label More... | |
FXButton * | myResetButton = nullptr |
reset button More... | |
bool argument
Definition at line 503 of file GNEPythonToolDialogElements.h.
GNEPythonToolDialogElements::BoolArgument::BoolArgument | ( | GNEPythonToolDialog * | toolDialogParent, |
FXVerticalFrame * | argumentFrame, | ||
const std::string | name, | ||
Option * | option | ||
) |
constructor
Definition at line 726 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 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 777 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 set bool value.
Implements GNEPythonToolDialogElements::Argument.
Definition at line 757 of file GNEPythonToolDialogElements.cpp.
References TL.
|
inherited |
Called when user press reset button.
Definition at line 182 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 743 of file GNEPythonToolDialogElements.cpp.
References TL.
|
protected |
check button
Definition at line 520 of file GNEPythonToolDialogElements.h.
Referenced by BoolArgument().
|
protectedinherited |
default value
Definition at line 114 of file GNEPythonToolDialogElements.h.
|
protectedinherited |
auxiliar elements frame
Definition at line 117 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 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.