dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
modelviewgadgetoptionspage.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 MODELVIEWGADGETOPTIONSPAGE_H
28 #define MODELVIEWGADGETOPTIONSPAGE_H
29 
31 #include <QLabel>
32 #include <QFileDialog>
33 #include <QPushButton>
34 #include <QHBoxLayout>
35 #include <QVBoxLayout>
36 
38 namespace Core {
40 }
41 namespace Ui {
42 class ModelViewOptionsPage;
43 }
44 
45 using namespace Core;
46 
48 {
49  Q_OBJECT
50 public:
51  explicit ModelViewGadgetOptionsPage(ModelViewGadgetConfiguration *config, QObject *parent = nullptr);
52  QString id() const { return ""; }
53  QString trName() const { return ""; }
54  QString category() const { return ""; }
55  QString trCategory() const { return ""; }
56 
57  QWidget *createPage(QWidget *parent);
58  void apply();
59  void finish();
60 
61 private:
62 signals:
63 
64 public slots:
65 private slots:
66 
67 private:
69  Ui::ModelViewOptionsPage *m_page;
70 };
71 
72 #endif // MODELVIEWGADGETOPTIONSPAGE_H
The IOptionsPage is an interface for providing options pages.
Definition: ioptionspage.h:42