![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEParametersDialog.h>
Data Structures | |
class | GNEParameterHandler |
load parameters from a filename More... | |
Public Member Functions | |
ParametersOptions (FXHorizontalFrame *frame, GNEParametersDialog *ParameterDialogParent) | |
FOX-declaration. More... | |
~ParametersOptions () | |
destructor More... | |
FOX-callbacks | |
event when user press load parameters button | |
long | onCmdLoadParameters (FXObject *, FXSelector, void *) |
long | onCmdSaveParameters (FXObject *, FXSelector, void *) |
event when user press save parameters button More... | |
long | onCmdClearParameters (FXObject *, FXSelector, void *) |
event when user press clear parameters button More... | |
long | onCmdSortParameters (FXObject *, FXSelector, void *) |
event when user press sort parameters button More... | |
long | onCmdHelpParameter (FXObject *, FXSelector, void *) |
event when user press help parameters button More... | |
Private Attributes | |
FXButton * | myClearButton |
clear button More... | |
FXButton * | myHelpButton |
help button More... | |
FXButton * | myLoadButton |
load button More... | |
GNEParametersDialog * | myParameterDialogParent |
pointer to Shape Frame Parent More... | |
FXButton * | mySaveButton |
save button More... | |
FXButton * | mySortButton |
sort button More... | |
Definition at line 149 of file GNEParametersDialog.h.
GNEParametersDialog::ParametersOptions::ParametersOptions | ( | FXHorizontalFrame * | frame, |
GNEParametersDialog * | ParameterDialogParent | ||
) |
FOX-declaration.
constructor
Definition at line 286 of file GNEParametersDialog.cpp.
References GUIIconSubSys::getIcon(), GUIDesignButtonRectangular100x23, ICON_CLEANJUNCTIONS, ICON_HELP, ICON_OPEN_CONFIG, ICON_RELOAD, ICON_SAVE, MID_GNE_PARAMETERS_CLEAR, MID_GNE_PARAMETERS_LOAD, MID_GNE_PARAMETERS_SAVE, MID_GNE_PARAMETERS_SORT, MID_HELP, myClearButton, myHelpButton, myLoadButton, mySaveButton, and mySortButton.
GNEParametersDialog::ParametersOptions::~ParametersOptions | ( | ) |
destructor
Definition at line 298 of file GNEParametersDialog.cpp.
long GNEParametersDialog::ParametersOptions::onCmdClearParameters | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event when user press clear parameters button
Definition at line 357 of file GNEParametersDialog.cpp.
long GNEParametersDialog::ParametersOptions::onCmdHelpParameter | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event when user press help parameters button
Definition at line 395 of file GNEParametersDialog.cpp.
References GUIIconSubSys::getIcon(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonOK, GUIDesignDialogBox, GUIDesignHorizontalSeparator, GUIDesignLabelFrameInformation, ICON_ACCEPT, ICON_APP_TABLE, and WRITE_DEBUG.
long GNEParametersDialog::ParametersOptions::onCmdLoadParameters | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 302 of file GNEParametersDialog.cpp.
References gCurrentFolder, GUIIconSubSys::getIcon(), ICON_GREENVEHICLE, XMLSubSys::runParser(), toString(), and WRITE_MESSAGE.
long GNEParametersDialog::ParametersOptions::onCmdSaveParameters | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event when user press save parameters button
Definition at line 331 of file GNEParametersDialog.cpp.
References OutputDevice::close(), OutputDevice::closeTag(), gCurrentFolder, OutputDevice::getDevice(), MFXUtils::getFilename2Write(), GUIIconSubSys::getIcon(), ICON_GREENVEHICLE, OutputDevice::openTag(), SUMO_ATTR_KEY, SUMO_ATTR_VALUE, SUMO_TAG_PARAM, OutputDevice::writeAttr(), and OutputDevice::writeXMLHeader().
long GNEParametersDialog::ParametersOptions::onCmdSortParameters | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event when user press sort parameters button
Definition at line 365 of file GNEParametersDialog.cpp.
|
private |
clear button
Definition at line 216 of file GNEParametersDialog.h.
Referenced by ParametersOptions().
|
private |
help button
Definition at line 225 of file GNEParametersDialog.h.
Referenced by ParametersOptions().
|
private |
load button
Definition at line 219 of file GNEParametersDialog.h.
Referenced by ParametersOptions().
|
private |
pointer to Shape Frame Parent
Definition at line 210 of file GNEParametersDialog.h.
|
private |
save button
Definition at line 222 of file GNEParametersDialog.h.
Referenced by ParametersOptions().
|
private |
sort button
Definition at line 213 of file GNEParametersDialog.h.
Referenced by ParametersOptions().