/****************************************************************************/1// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo2// Copyright (C) 2001-2026 German Aerospace Center (DLR) and others.3// This program and the accompanying materials are made available under the4// terms of the Eclipse Public License 2.0 which is available at5// https://www.eclipse.org/legal/epl-2.0/6// This Source Code may also be made available under the following Secondary7// Licenses when the conditions for such availability set forth in the Eclipse8// Public License 2.0 are satisfied: GNU General Public License, version 29// or later which is available at10// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html11// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later12/****************************************************************************/13/// @file GUIDialog_AppSettings.h14/// @author Daniel Krajzewicz15/// @author Michael Behrisch16/// @date Mon, 08.03.200417///18// The application-settings dialog19/****************************************************************************/20#pragma once21#include <config.h>2223#include <utils/foxtools/fxheader.h>242526// ===========================================================================27// class definitions28// ===========================================================================29/**30* @class GUIDialog_AppSettings31* @brief The dialog to change the application (gui) settings.32*/33class GUIDialog_AppSettings : public FXDialogBox {34// is a FOX-object with an own mapping35FXDECLARE(GUIDialog_AppSettings)3637public:38/** @brief Constructor39*40* @param[in] parent The parent window41*/42GUIDialog_AppSettings(GUIMainWindow* parent);4344/// @brief Destructor45~GUIDialog_AppSettings();4647/// @name FOX-callbacks48/// @{4950/// @brief Called on OK-button pressure51long onCmdOk(FXObject*, FXSelector, void*);5253/// @brief Called on Cancel-button pressure54long onCmdCancel(FXObject*, FXSelector, void*);5556/// @brief Called on button change57long onCmdSelect(FXObject*, FXSelector sel, void*);5859/// @}6061protected:62/// @brief FOX needs this63FOX_CONSTRUCTOR(GUIDialog_AppSettings)6465private:66/// @brief The main GUI window67GUIMainWindow* myParent;6869/// @brief Information whether the application shall be quit70bool myAppQuitOnEnd;7172/// @brief Information whether the simulation shall start directly after loading73bool myAppAutoStart;7475/// @brief Information whether the simulation restarts after ending (demo mode)76bool myAppDemo;7778/// @brief Information whether textures may be used79bool myAllowTextures;8081/// @brief Information whether locate links appear in messages82bool myLocateLinks;8384/// @brief Offset when adding breakpoints85FXRealSpinner* myBreakPointOffset;8687/// @brief The list that holds the URLs88FXTable* myTable;8990/// @brief Invalidated copy constructor.91GUIDialog_AppSettings(const GUIDialog_AppSettings&) = delete;9293/// @brief Invalidated assignment operator.94GUIDialog_AppSettings& operator=(const GUIDialog_AppSettings&) = delete;95};969798