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
usagestatsoptionpage.h
Go to the documentation of this file.
1
11
/*
12
* This program is free software; you can redistribute it and/or modify
13
* it under the terms of the GNU General Public License as published by
14
* the Free Software Foundation; either version 3 of the License, or
15
* (at your option) any later version.
16
*
17
* This program is distributed in the hope that it will be useful, but
18
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
19
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20
* for more details.
21
*
22
* You should have received a copy of the GNU General Public License along
23
* with this program; if not, see <http://www.gnu.org/licenses/>
24
*/
25
26
#ifndef USAGESTATSOPTIONPAGE_H
27
#define USAGESTATSOPTIONPAGE_H
28
29
#include <QWidget>
30
#include "
coreplugin/dialogs/ioptionspage.h
"
31
#include <
coreplugin/iconfigurableplugin.h
>
32
33
class
UsageStatsPlugin
;
34
namespace
Core {
35
class
IUAVGadgetConfiguration
;
36
}
37
38
namespace
Ui {
39
class
UsageStatsOptionPage
;
40
}
41
42
using namespace
Core;
43
44
class
UsageStatsOptionPage
:
public
IOptionsPage
45
{
46
Q_OBJECT
47
public
:
48
UsageStatsOptionPage
(QObject *parent =
nullptr
);
49
virtual
~
UsageStatsOptionPage
();
50
51
QString
id
()
const
{
return
QLatin1String(
"settings"
); }
52
QString
trName
()
const
{
return
tr(
"settings"
); }
53
QString
category
()
const
{
return
"Usage Statistics"
; }
54
QString
trCategory
()
const
{
return
"Usage Statistics"
; }
55
56
QWidget *createPage(QWidget *parent);
57
void
apply();
58
void
finish();
59
signals:
60
void
settingsUpdated();
61
private
slots:
62
private
:
63
Ui::UsageStatsOptionPage *m_page;
64
UsageStatsPlugin
*m_config;
65
};
66
67
#endif // USAGESTATSOPTIONPAGE_H
ioptionspage.h
UsageStatsOptionPage::id
QString id() const
Definition:
usagestatsoptionpage.h:51
UsageStatsOptionPage::trName
QString trName() const
Definition:
usagestatsoptionpage.h:52
UsageStatsOptionPage::category
QString category() const
Definition:
usagestatsoptionpage.h:53
Core::IUAVGadgetConfiguration
Definition:
iuavgadgetconfiguration.h:44
UsageStatsOptionPage
Definition:
usagestatsoptionpage.h:44
iconfigurableplugin.h
UsageStatsOptionPage::trCategory
QString trCategory() const
Definition:
usagestatsoptionpage.h:54
Core::IOptionsPage
The IOptionsPage is an interface for providing options pages.
Definition:
ioptionspage.h:42
UsageStatsPlugin
Definition:
usagestatsplugin.h:72
ground
gcs
src
plugins
usagestatsgadget
usagestatsoptionpage.h
Generated by
1.8.6