WSF
BackupPrefWidget.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2018 Infoscitex, a DCS Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#ifndef BACKUPPREFWIDGET_HPP
13#define BACKUPPREFWIDGET_HPP
14
15#include "BackupPrefObject.hpp"
16#include "WkfPrefWidget.hpp"
17#include "ui_BackupPrefWidget.h"
18
19namespace wizard
20{
21class BackupPrefWidget : public wkf::PrefWidgetT<BackupPrefObject>
22{
23public:
24 BackupPrefWidget(QWidget* parent = nullptr);
25 ~BackupPrefWidget() override = default;
26
27 QString GetCategoryHint() const override { return "Application"; }
28
29private:
30 void showEvent(QShowEvent* aEvent) override;
31 void ReadPreferenceData(const BackupPrefData& aPrefData) override;
32 void WritePreferenceData(BackupPrefData& aPrefData) override;
33
34 Ui::BackupPrefWidget mUi;
35};
36} // namespace wizard
37
38#endif
~BackupPrefWidget() override=default
QString GetCategoryHint() const override
Definition BackupPrefWidget.hpp:27
BackupPrefWidget(QWidget *parent=nullptr)
Definition BackupPrefWidget.cpp:14
Definition Runner.hpp:22
Definition BackupPrefObject.hpp:20
Copyrights Multiple, All Rights Reserved