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
qmlviewgadgetconfiguration.h
Go to the documentation of this file.
1
12
/*
13
* This program is free software; you can redistribute it and/or modify
14
* it under the terms of the GNU General Public License as published by
15
* the Free Software Foundation; either version 3 of the License, or
16
* (at your option) any later version.
17
*
18
* This program is distributed in the hope that it will be useful, but
19
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
20
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21
* for more details.
22
*
23
* You should have received a copy of the GNU General Public License along
24
* with this program; if not, see <http://www.gnu.org/licenses/>
25
*/
26
27
#ifndef QMLVIEWGADGETCONFIGURATION_H
28
#define QMLVIEWGADGETCONFIGURATION_H
29
30
#include <
coreplugin/iuavgadgetconfiguration.h
>
31
32
using namespace
Core;
33
34
class
QmlViewGadgetConfiguration
:
public
IUAVGadgetConfiguration
35
{
36
Q_OBJECT
37
public
:
38
explicit
QmlViewGadgetConfiguration
(QString classId, QSettings *qSettings =
nullptr
,
39
QObject *parent =
nullptr
);
40
41
// set dial configuration functions
42
void
setDialFile
(QString dialFile) { m_defaultDial = dialFile; }
43
44
// get dial configuration functions
45
QString
dialFile
() {
return
m_defaultDial; }
46
47
void
saveConfig(QSettings *settings)
const
;
48
IUAVGadgetConfiguration
*
clone
();
49
50
private
:
51
QString m_defaultDial;
// The name of the dial's SVG source file
52
};
53
54
#endif // QmlViewGADGETCONFIGURATION_H
QmlViewGadgetConfiguration
Definition:
qmlviewgadgetconfiguration.h:34
QmlViewGadgetConfiguration::dialFile
QString dialFile()
Definition:
qmlviewgadgetconfiguration.h:45
Core::IUAVGadgetConfiguration
Definition:
iuavgadgetconfiguration.h:44
iuavgadgetconfiguration.h
clone
UAVDataObject * clone(quint32 instID)
QmlViewGadgetConfiguration::setDialFile
void setDialFile(QString dialFile)
Definition:
qmlviewgadgetconfiguration.h:42
ground
gcs
src
plugins
qmlview
qmlviewgadgetconfiguration.h
Generated by
1.8.6