/* Copyright (C) 2016 * swift project Community / Contributors * * This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level * directory of this distribution. No part of swift project, including this file, may be copied, modified, propagated, * or distributed except according to the terms contained in the LICENSE file. */ //! \file #ifndef BLACKGUI_COMPONENTS_SETTINGSSIMULATORMESSAGESCOMPONENT_H #define BLACKGUI_COMPONENTS_SETTINGSSIMULATORMESSAGESCOMPONENT_H #include "blackmisc/simulation/settings/simulatorsettings.h" #include #include namespace Ui { class CSettingsSimulatorMessagesComponent; } namespace BlackGui { namespace Components { /*! * Configure what messages are sent to simulator */ class CSettingsSimulatorMessagesComponent : public QFrame { Q_OBJECT public: //! Constructor explicit CSettingsSimulatorMessagesComponent(QWidget *parent = nullptr); //! Destructor virtual ~CSettingsSimulatorMessagesComponent() override; private: //! Save the data void save(); //! Load data void load(); private: QScopedPointer ui; BlackMisc::CSetting m_settings { this }; //!< settings for messages }; } // ns } // ns #endif // guard