Main Page
Namespaces
Classes
Files
File List
File Members
include
mainwindow.h
Go to the documentation of this file.
1
/***************************************************************************
2
** **
3
** QcGauge, for instrumentation, and real time data measurement **
4
** visualization widget for Qt. **
5
** Copyright (C) 2015 Hadj Tahar Berrima **
6
** **
7
** This program is free software: you can redistribute it and/or modify **
8
** it under the terms of the GNU Lesser General Public License as **
9
** published by the Free Software Foundation, either version 3 of the **
10
** License, or (at your option) any later version. **
11
** **
12
** This program is distributed in the hope that it will be useful, **
13
** but WITHOUT ANY WARRANTY; without even the implied warranty of **
14
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the **
15
** GNU Lesser General Public License for more details. **
16
** **
17
** You should have received a copy of the GNU Lesser General Public **
18
** License along with this program. **
19
** If not, see http://www.gnu.org/licenses/. **
20
** **
21
****************************************************************************
22
** Author: Hadj Tahar Berrima **
23
** Website: http://pytricity.com/ **
24
** Contact: berrima_tahar@yahoo.com **
25
** Date: 1 dec 2014 **
26
** Version: 1.0 **
27
****************************************************************************/
28
29
#ifndef MAINWINDOW_H
30
#define MAINWINDOW_H
31
32
#ifndef Q_MOC_RUN // MOC doesn't parse boost correctly. See https://bugreports.qt.io/browse/QTBUG-22829
33
34
#include <QMainWindow>
35
#include "
qcgaugewidget.h
"
36
#include <
ros/ros.h
>
37
#include <std_msgs/Float64.h>
38
39
#endif //Q_MOC_RUN
40
41
namespace
Ui
{
42
class
MainWindow
;
43
}
44
45
class
MainWindow
:
public
QMainWindow
46
{
47
Q_OBJECT
48
49
public
:
50
explicit
MainWindow
(QWidget *parent = 0,
ros::NodeHandle
* nh = 0);
51
~
MainWindow
();
52
QcNeedleItem
*
mSpeedNeedle
;
53
54
private
:
55
Ui::MainWindow
*
ui
;
56
57
QcGaugeWidget
*
mSpeedGauge
;
58
};
59
60
#endif // MAINWINDOW_H
MainWindow::ui
Ui::MainWindow * ui
Definition:
mainwindow.h:55
ros::NodeHandle
QcNeedleItem
Definition:
qcgaugewidget.h:271
Ui
Definition:
mainwindow.h:41
QcGaugeWidget
Definition:
qcgaugewidget.h:63
Ui::MainWindow
Definition:
mainwindow.cpp:92
ros.h
qcgaugewidget.h
MainWindow::mSpeedNeedle
QcNeedleItem * mSpeedNeedle
Definition:
mainwindow.h:52
MainWindow::mSpeedGauge
QcGaugeWidget * mSpeedGauge
Definition:
mainwindow.h:57
MainWindow
Definition:
mainwindow.h:45
gauges
Author(s): alexvs
autogenerated on Mon Nov 14 2016 03:55:02