Eclipse SUMO - Simulation of Urban MObility
|
The dialog to change the application (gui) settings. More...
#include <GUIDialog_AppSettings.h>
Public Member Functions | |
GUIDialog_AppSettings (GUIMainWindow *parent) | |
Constructor. | |
~GUIDialog_AppSettings () | |
Destructor. | |
FOX-callbacks | |
long | onCmdOk (FXObject *, FXSelector, void *) |
Called on OK-button pressure. | |
long | onCmdCancel (FXObject *, FXSelector, void *) |
Called on Cancel-button pressure. | |
long | onCmdSelect (FXObject *, FXSelector sel, void *) |
Called on button change. | |
Private Member Functions | |
GUIDialog_AppSettings (const GUIDialog_AppSettings &)=delete | |
Invalidated copy constructor. | |
GUIDialog_AppSettings & | operator= (const GUIDialog_AppSettings &)=delete |
Invalidated assignment operator. | |
Private Attributes | |
bool | myAllowTextures |
Information whether textures may be used. | |
bool | myAppAutoStart |
Information whether the simulation shall start directly after loading. | |
bool | myAppDemo |
Information whether the simulation restarts after ending (demo mode) | |
bool | myAppQuitOnEnd |
Information whether the application shall be quit. | |
FXRealSpinner * | myBreakPointOffset |
Offset when adding breakpoints. | |
bool | myLocateLinks |
Information whether locate links appear in messages. | |
GUIMainWindow * | myParent |
FOX needs this. | |
FXTable * | myTable |
The list that holds the URLs. | |
The dialog to change the application (gui) settings.
Definition at line 34 of file GUIDialog_AppSettings.h.
GUIDialog_AppSettings::GUIDialog_AppSettings | ( | GUIMainWindow * | parent | ) |
Constructor.
[in] | parent | The parent window |
Definition at line 52 of file GUIDialog_AppSettings.cpp.
References GUIDesigns::buildFXButton(), EMPTY, GUIMessageWindow::getBreakPointOffset(), GUIIconSubSys::getIcon(), GUIDesignBreakpointTable, GUIDesignHeight, GUIDesignViewSettingsLabel1, GUIDesignViewSettingsSpinDial2, MID_ALLOWTEXTURES, MID_AUTOSTART, MID_DEMO, MID_LOCATELINKS, MID_QUITONSIMEND, MID_SETTINGS_CANCEL, MID_SETTINGS_OK, MID_TABLE, MID_TIMELINK_BREAKPOINT, STEPS2TIME, and TL.
GUIDialog_AppSettings::~GUIDialog_AppSettings | ( | ) |
Destructor.
Definition at line 108 of file GUIDialog_AppSettings.cpp.
|
privatedelete |
Invalidated copy constructor.
long GUIDialog_AppSettings::onCmdCancel | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on Cancel-button pressure.
Definition at line 137 of file GUIDialog_AppSettings.cpp.
Referenced by FXDEFMAP().
long GUIDialog_AppSettings::onCmdOk | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on OK-button pressure.
Definition at line 112 of file GUIDialog_AppSettings.cpp.
References GUIMainWindow::addOnlineMap(), GUITexturesHelper::allowTextures(), GUIMessageWindow::enableLocateLinks(), GUIGlobals::gDemoAutoReload, GUIGlobals::gQuitOnEnd, GUIGlobals::gRunAfterLoad, myAllowTextures, myAppAutoStart, myAppDemo, myAppQuitOnEnd, myBreakPointOffset, myLocateLinks, myParent, myTable, GUIMessageWindow::setBreakPointOffset(), and TIME2STEPS.
Referenced by FXDEFMAP().
long GUIDialog_AppSettings::onCmdSelect | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
Called on button change.
Definition at line 143 of file GUIDialog_AppSettings.cpp.
References MID_ALLOWTEXTURES, MID_AUTOSTART, MID_DEMO, MID_LOCATELINKS, MID_QUITONSIMEND, myAllowTextures, myAppAutoStart, myAppDemo, myAppQuitOnEnd, and myLocateLinks.
Referenced by FXDEFMAP().
|
privatedelete |
Invalidated assignment operator.
|
private |
Information whether textures may be used.
Definition at line 80 of file GUIDialog_AppSettings.h.
Referenced by onCmdOk(), and onCmdSelect().
|
private |
Information whether the simulation shall start directly after loading.
Definition at line 74 of file GUIDialog_AppSettings.h.
Referenced by onCmdOk(), and onCmdSelect().
|
private |
Information whether the simulation restarts after ending (demo mode)
Definition at line 77 of file GUIDialog_AppSettings.h.
Referenced by onCmdOk(), and onCmdSelect().
|
private |
Information whether the application shall be quit.
Definition at line 71 of file GUIDialog_AppSettings.h.
Referenced by onCmdOk(), and onCmdSelect().
|
private |
Offset when adding breakpoints.
Definition at line 86 of file GUIDialog_AppSettings.h.
Referenced by onCmdOk().
|
private |
Information whether locate links appear in messages.
Definition at line 83 of file GUIDialog_AppSettings.h.
Referenced by onCmdOk(), and onCmdSelect().
|
private |
FOX needs this.
The main GUI window
Definition at line 68 of file GUIDialog_AppSettings.h.
Referenced by onCmdOk().
|
private |
The list that holds the URLs.
Definition at line 89 of file GUIDialog_AppSettings.h.
Referenced by onCmdOk().