dRonin
adbada4
dRonin GCS
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Groups
Pages
dialgadgetoptionspage.h
Go to the documentation of this file.
1
13
/*
14
* This program is free software; you can redistribute it and/or modify
15
* it under the terms of the GNU General Public License as published by
16
* the Free Software Foundation; either version 3 of the License, or
17
* (at your option) any later version.
18
*
19
* This program is distributed in the hope that it will be useful, but
20
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
21
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22
* for more details.
23
*
24
* You should have received a copy of the GNU General Public License along
25
* with this program; if not, see <http://www.gnu.org/licenses/>
26
*/
27
28
#ifndef DIALGADGETOPTIONSPAGE_H
29
#define DIALGADGETOPTIONSPAGE_H
30
31
#include "
coreplugin/dialogs/ioptionspage.h
"
32
#include "QString"
33
#include <QStringList>
34
#include <QDebug>
35
#include <QFont>
36
#include <QFontDialog>
37
#include <QComboBox>
38
39
namespace
Core {
40
class
IUAVGadgetConfiguration
;
41
}
42
43
class
DialGadgetConfiguration
;
44
45
namespace
Ui {
46
class
DialGadgetOptionsPage
;
47
}
48
49
using namespace
Core;
50
51
class
DialGadgetOptionsPage
:
public
IOptionsPage
52
{
53
Q_OBJECT
54
public
:
55
explicit
DialGadgetOptionsPage
(
DialGadgetConfiguration
*config, QObject *parent =
nullptr
);
56
57
QWidget *createPage(QWidget *parent);
58
void
apply();
59
void
finish();
60
61
private
:
62
Ui::DialGadgetOptionsPage *options_page;
63
DialGadgetConfiguration
*m_config;
64
QFont font;
65
66
void
uavoChanged(QComboBox *widget,
const
QString &uavo);
67
68
private
slots:
69
void
on_fontPicker_clicked();
70
};
71
72
#endif // DIALGADGETOPTIONSPAGE_H
ioptionspage.h
DialGadgetOptionsPage
Definition:
dialgadgetoptionspage.h:51
DialGadgetConfiguration
Definition:
dialgadgetconfiguration.h:38
Core::IUAVGadgetConfiguration
Definition:
iuavgadgetconfiguration.h:44
Core::IOptionsPage
The IOptionsPage is an interface for providing options pages.
Definition:
ioptionspage.h:42
ground
gcs
src
plugins
dial
dialgadgetoptionspage.h
Generated by
1.8.6