![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Dialog for edit parameters. More...
#include <GNEParametersDialog.h>
Data Structures | |
| class | ParametersOptions |
| class | ParametersValues |
| FOX-declaration. More... | |
Public Member Functions | |
| GNEParametersDialog (GNEFrameAttributesModuls::ParametersEditor *ParametersEditor) | |
| Constructor. More... | |
| ~GNEParametersDialog () | |
| destructor More... | |
FOX-callbacks | |
event after press accept button | |
| long | onCmdAccept (FXObject *, FXSelector, void *) |
| long | onCmdCancel (FXObject *, FXSelector, void *) |
| event after press cancel button More... | |
| long | onCmdReset (FXObject *, FXSelector, void *) |
| event after press reset button More... | |
Protected Attributes | |
| FXButton * | myAcceptButton |
| accept button More... | |
| FXButton * | myCancelButton |
| cancel button More... | |
| const std::vector< std::pair< std::string, std::string > > | myCopyOfParameters |
| std::vector< std::pair< std::string, std::string > > | myEditedParameters |
| current edited parameters More... | |
| GNEFrameAttributesModuls::ParametersEditor * | myParametersEditor |
| pointer to ParametersEditor More... | |
| ParametersOptions * | myParametersOptions |
| pointer to parameters options More... | |
| ParametersValues * | myParametersValues |
| pointer to parameters values More... | |
| FXButton * | myResetButton |
| cancel button More... | |
Private Member Functions | |
| GNEParametersDialog (const GNEParametersDialog &)=delete | |
| Invalidated copy constructor. More... | |
| GNEParametersDialog & | operator= (const GNEParametersDialog &)=delete |
| Invalidated assignment operator. More... | |
Dialog for edit parameters.
Definition at line 44 of file GNEParametersDialog.h.
| GNEParametersDialog::GNEParametersDialog | ( | GNEFrameAttributesModuls::ParametersEditor * | ParametersEditor | ) |
Constructor.
Definition at line 484 of file GNEParametersDialog.cpp.
References GUIIconSubSys::getIcon(), GUIDesignAuxiliarFrame, GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonAccept, GUIDesignButtonCancel, GUIDesignButtonReset, GUIDesignHorizontalFrame, GUIDesignHorizontalSeparator, ICON_ACCEPT, ICON_APP_TABLE, ICON_CANCEL, ICON_RESET, MID_GNE_ADDITIONALDIALOG_BUTTONACCEPT, MID_GNE_ADDITIONALDIALOG_BUTTONCANCEL, MID_GNE_ADDITIONALDIALOG_BUTTONRESET, myAcceptButton, myCancelButton, myParametersOptions, myParametersValues, and myResetButton.
| GNEParametersDialog::~GNEParametersDialog | ( | ) |
destructor
Definition at line 511 of file GNEParametersDialog.cpp.
|
privatedelete |
Invalidated copy constructor.
| long GNEParametersDialog::onCmdAccept | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 515 of file GNEParametersDialog.cpp.
References SUMOXMLDefinitions::isValidParameterKey(), SUMOXMLDefinitions::isValidParameterValue(), myEditedParameters, myParametersEditor, GNEFrameAttributesModuls::ParametersEditor::setParameters(), and WRITE_DEBUG.
| long GNEParametersDialog::onCmdCancel | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
event after press cancel button
Definition at line 567 of file GNEParametersDialog.cpp.
References myCopyOfParameters, myParametersValues, and GNEParametersDialog::ParametersValues::setParameters().
| long GNEParametersDialog::onCmdReset | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
event after press reset button
Definition at line 577 of file GNEParametersDialog.cpp.
References myCopyOfParameters, myParametersValues, and GNEParametersDialog::ParametersValues::setParameters().
|
privatedelete |
Invalidated assignment operator.
|
protected |
accept button
Definition at line 259 of file GNEParametersDialog.h.
Referenced by GNEParametersDialog().
|
protected |
cancel button
Definition at line 262 of file GNEParametersDialog.h.
Referenced by GNEParametersDialog().
|
protected |
Definition at line 271 of file GNEParametersDialog.h.
Referenced by onCmdCancel(), and onCmdReset().
|
protected |
current edited parameters
Definition at line 268 of file GNEParametersDialog.h.
Referenced by onCmdAccept().
|
protected |
pointer to ParametersEditor
Definition at line 250 of file GNEParametersDialog.h.
Referenced by onCmdAccept().
|
protected |
pointer to parameters options
Definition at line 256 of file GNEParametersDialog.h.
Referenced by GNEParametersDialog().
|
protected |
pointer to parameters values
Definition at line 253 of file GNEParametersDialog.h.
Referenced by GNEParametersDialog(), onCmdCancel(), and onCmdReset().
|
protected |
cancel button
Definition at line 265 of file GNEParametersDialog.h.
Referenced by GNEParametersDialog().