![]() |
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. More... | |
const std::string | getArgument () const |
get argument More... | |
MFXLabelTooltip * | getParameterLabel () const |
get parameter label More... | |
long | onCmdSetValue (FXObject *, FXSelector, void *) |
Called when user changes argument value. More... | |
long | onCmdUseCurrent (FXObject *, FXSelector, void *) |
Called when user press use seleted edges button. More... | |
long | onUpdUseCurrent (FXObject *sender, FXSelector, void *) |
enable or disable use selected edges button 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 | |
EdgeVectorArgument () | |
FOX need this. More... | |
const std::string | getValue () const |
get value More... | |
Protected Attributes | |
const std::string | myDefaultValue |
default value More... | |
FXTextField * | myEdgeVectorTextField = nullptr |
edge vectgor textField More... | |
FXHorizontalFrame * | myElementsFrame = nullptr |
auxiliar elements frame More... | |
Option * | myOption |
option More... | |
GNEPythonToolDialog * | myToolDialogParent |
tool dialog parent More... | |
Private Member Functions | |
EdgeVectorArgument (const EdgeVectorArgument &)=delete | |
Invalidated copy constructor. More... | |
EdgeVectorArgument & | operator= (const EdgeVectorArgument &)=delete |
Invalidated assignment operator. More... | |
Private Attributes | |
MFXButtonTooltip * | myCurrentEdgesButton = nullptr |
current edges button More... | |
MFXLabelTooltip * | myParameterLabel = nullptr |
parameter label More... | |
FXButton * | myResetButton = nullptr |
reset button More... | |
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.