QVisu
Qt-based visualization for smart homes
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
C:/Users/max/ti/qt5/qvisu/qvmainwindow.h
1
/* QVisu (c) 2015 Maximilian Gauger mgauger@kalassi.de
2
*
3
* This program is free software: you can redistribute it and/or modify
4
* it under the terms of the GNU General Public License as published by
5
* the Free Software Foundation, either version 2 of the License, or
6
* (at your option) any later version.
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*/
16
17
#ifndef MAINWINDOW_H
18
#define MAINWINDOW_H
19
20
#include <QMainWindow>
21
#include <QtXml>
22
#include <QMap>
23
#include <QList>
24
#include <QThread>
25
#include "qvelement.h"
26
#include "qvdriver.h"
27
28
namespace
Ui
{
29
class
MainWindow;
30
}
31
32
class
QVMainWindow
:
public
QMainWindow
33
{
34
Q_OBJECT
35
36
public
:
37
explicit
QVMainWindow
(uint dim_x, uint dim_y, QDomElement xml_data, QWidget *parent = 0);
38
~
QVMainWindow
();
39
40
signals:
41
void
valueGenerated(QString,QString);
42
43
protected
slots:
44
void
onTimerTimeout();
45
46
private
:
47
void
resizeEvent(QResizeEvent *);
48
int
dim_x, dim_y;
49
50
Ui::MainWindow *ui;
51
52
QList<QVElement*> elements;
53
54
QVDriver
*qv_driver;
55
static
const
int
spacing = 5;
56
57
QTimer *timer;
58
59
};
60
61
#endif // MAINWINDOW_H
Ui
Definition:
qvmainwindow.h:28
QVMainWindow
Definition:
qvmainwindow.h:32
QVDriver
Definition:
qvdriver.h:27
qvmainwindow.h
Generated on Tue Jul 7 2015 22:36:30 for QVisu by
1.8.8