WSF
src
wizard
lib
source
gui
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
19
namespace
wizard
20
{
21
class
BackupPrefWidget
:
public
wkf::PrefWidgetT<BackupPrefObject>
22
{
23
public
:
24
BackupPrefWidget
(QWidget* parent =
nullptr
);
25
~BackupPrefWidget
()
override
=
default
;
26
27
QString
GetCategoryHint
()
const override
{
return
"Application"
; }
28
29
private
:
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
BackupPrefObject.hpp
wizard::BackupPrefWidget::~BackupPrefWidget
~BackupPrefWidget() override=default
wizard::BackupPrefWidget::GetCategoryHint
QString GetCategoryHint() const override
Definition
BackupPrefWidget.hpp:27
wizard::BackupPrefWidget::BackupPrefWidget
BackupPrefWidget(QWidget *parent=nullptr)
Definition
BackupPrefWidget.cpp:14
wizard
Definition
Runner.hpp:22
wizard::BackupPrefData
Definition
BackupPrefObject.hpp:20
Copyrights Multiple, All Rights Reserved