![]() |
Eclipse SUMO - Simulation of Urban MObility
|
int argument More...
#include <GNEPythonToolDialogElements.h>
Public Member Functions | |
const std::string | getArgument () const |
get argument More... | |
MFXLabelTooltip * | getParameterLabel () const |
get parameter label More... | |
IntArgument (GNEPythonToolDialog *toolDialogParent, FXVerticalFrame *argumentFrame, const std::string name, Option *option) | |
constructor More... | |
long | onCmdSetValue (FXObject *, FXSelector, void *) |
Called when user set int 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 | |
const std::string | myDefaultValue |
default value More... | |
FXHorizontalFrame * | myElementsFrame = nullptr |
auxiliar elements frame More... | |
FXTextField * | myIntTextField = nullptr |
int textField More... | |
Option * | myOption |
option More... | |
GNEPythonToolDialog * | myToolDialogParent |
tool dialog parent More... | |
Private Member Functions | |
IntArgument (const IntArgument &)=delete | |
Invalidated copy constructor. More... | |
IntArgument & | operator= (const IntArgument &)=delete |
Invalidated assignment operator. More... | |
Private Attributes | |
MFXLabelTooltip * | myParameterLabel = nullptr |
parameter label More... | |
FXButton * | myResetButton = nullptr |
reset button More... | |
Static Private Attributes | |
static const std::string | INVALID_INT_STR = toString(INVALID_INT) |
invalid int in string format More... | |
int argument
Definition at line 440 of file GNEPythonToolDialogElements.h.
GNEPythonToolDialogElements::IntArgument::IntArgument | ( | GNEPythonToolDialog * | toolDialogParent, |
FXVerticalFrame * | argumentFrame, | ||
const std::string | name, | ||
Option * | option | ||
) |
constructor
Definition at line 640 of file GNEPythonToolDialogElements.cpp.
References Option::getValueString(), GUIDesignTextFieldNCol, GUIDesignTextFieldRestricted, MID_GNE_SET_ATTRIBUTE, GNEPythonToolDialogElements::Argument::myElementsFrame, and myIntTextField.
|
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 675 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 int value.
Implements GNEPythonToolDialogElements::Argument.
Definition at line 663 of file GNEPythonToolDialogElements.cpp.
|
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 651 of file GNEPythonToolDialogElements.cpp.
|
staticprivate |
invalid int in string format
Definition at line 461 of file GNEPythonToolDialogElements.h.
|
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(), GNEPythonToolDialogElements::BoolArgument::BoolArgument(), GNEPythonToolDialogElements::EdgeArgument::EdgeArgument(), GNEPythonToolDialogElements::EdgeVectorArgument::EdgeVectorArgument(), GNEPythonToolDialogElements::FileNameArgument::FileNameArgument(), GNEPythonToolDialogElements::FloatArgument::FloatArgument(), IntArgument(), and GNEPythonToolDialogElements::StringArgument::StringArgument().
|
protected |
int textField
Definition at line 457 of file GNEPythonToolDialogElements.h.
Referenced by IntArgument().
|
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.