mainwindow.h
Go to the documentation of this file.
00001 /***************************************************************************
00002 **                                                                        **
00003 **  QcGauge, for instrumentation, and real time data measurement          **
00004 **  visualization widget for Qt.                                          **
00005 **  Copyright (C) 2015 Hadj Tahar Berrima                                 **
00006 **                                                                        **
00007 **  This program is free software: you can redistribute it and/or modify  **
00008 **  it under the terms of the GNU Lesser General Public License as        **
00009 **  published by the Free Software Foundation, either version 3 of the    **
00010 **  License, or (at your option) any later version.                       **
00011 **                                                                        **
00012 **  This program is distributed in the hope that it will be useful,       **
00013 **  but WITHOUT ANY WARRANTY; without even the implied warranty of        **
00014 **  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         **
00015 **  GNU Lesser General Public License for more details.                   **
00016 **                                                                        **
00017 **  You should have received a copy of the GNU Lesser General Public      **
00018 **  License along with this program.                                      **
00019 **  If not, see http://www.gnu.org/licenses/.                             **
00020 **                                                                        **
00021 ****************************************************************************
00022 **           Author:  Hadj Tahar Berrima                                  **
00023 **           Website: http://pytricity.com/                               **
00024 **           Contact: berrima_tahar@yahoo.com                             **
00025 **           Date:    1 dec 2014                                          **
00026 **           Version:  1.0                                                **
00027 ****************************************************************************/
00028 
00029 #ifndef MAINWINDOW_H
00030 #define MAINWINDOW_H
00031 
00032 #ifndef Q_MOC_RUN // MOC doesn't parse boost correctly. See https://bugreports.qt.io/browse/QTBUG-22829
00033 
00034 #include <QMainWindow>
00035 #include "qcgaugewidget.h"
00036 #include <ros/ros.h>
00037 #include <std_msgs/Float64.h>
00038 
00039 #endif //Q_MOC_RUN
00040 
00041 namespace Ui {
00042 class MainWindow;
00043 }
00044 
00045 class MainWindow : public QMainWindow
00046 {
00047     Q_OBJECT
00048 
00049 public:
00050     explicit MainWindow(QWidget *parent = 0, ros::NodeHandle* nh = 0);
00051     ~MainWindow();
00052     QcNeedleItem *mSpeedNeedle;
00053 
00054 private:
00055     Ui::MainWindow *ui;
00056 
00057     QcGaugeWidget * mSpeedGauge;
00058 };
00059 
00060 #endif // MAINWINDOW_H


gauges
Author(s): alexvs
autogenerated on Mon Nov 14 2016 03:32:20