Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GUIDialog_AppSettings.h
Go to the documentation of this file.
1/****************************************************************************/
2// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo
3// Copyright (C) 2001-2024 German Aerospace Center (DLR) and others.
4// This program and the accompanying materials are made available under the
5// terms of the Eclipse Public License 2.0 which is available at
6// https://www.eclipse.org/legal/epl-2.0/
7// This Source Code may also be made available under the following Secondary
8// Licenses when the conditions for such availability set forth in the Eclipse
9// Public License 2.0 are satisfied: GNU General Public License, version 2
10// or later which is available at
11// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
12// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
13/****************************************************************************/
19// The application-settings dialog
20/****************************************************************************/
21#pragma once
22#include <config.h>
23
25
26
27// ===========================================================================
28// class definitions
29// ===========================================================================
34class GUIDialog_AppSettings : public FXDialogBox {
35 // is a FOX-object with an own mapping
36 FXDECLARE(GUIDialog_AppSettings)
37
38public:
44
47
50
52 long onCmdOk(FXObject*, FXSelector, void*);
53
55 long onCmdCancel(FXObject*, FXSelector, void*);
56
58 long onCmdSelect(FXObject*, FXSelector sel, void*);
59
61
62protected:
64 FOX_CONSTRUCTOR(GUIDialog_AppSettings)
65
66private:
69
72
75
78
81
84
86 FXRealSpinner* myBreakPointOffset;
87
89 FXTable* myTable;
90
93
96};
The dialog to change the application (gui) settings.
bool myAppDemo
Information whether the simulation restarts after ending (demo mode)
GUIDialog_AppSettings(const GUIDialog_AppSettings &)=delete
Invalidated copy constructor.
GUIDialog_AppSettings & operator=(const GUIDialog_AppSettings &)=delete
Invalidated assignment operator.
FXTable * myTable
The list that holds the URLs.
bool myAppQuitOnEnd
Information whether the application shall be quit.
long onCmdOk(FXObject *, FXSelector, void *)
Called on OK-button pressure.
bool myAppAutoStart
Information whether the simulation shall start directly after loading.
FXRealSpinner * myBreakPointOffset
Offset when adding breakpoints.
bool myLocateLinks
Information whether locate links appear in messages.
long onCmdSelect(FXObject *, FXSelector sel, void *)
Called on button change.
long onCmdCancel(FXObject *, FXSelector, void *)
Called on Cancel-button pressure.
bool myAllowTextures
Information whether textures may be used.
GUIMainWindow * myParent
FOX needs this.