CurveConfigWidget.h
Go to the documentation of this file.
00001 /******************************************************************************
00002  * Copyright (C) 2015 by Ralf Kaestner                                        *
00003  * ralf.kaestner@gmail.com                                                    *
00004  *                                                                            *
00005  * This program is free software; you can redistribute it and/or modify       *
00006  * it under the terms of the Lesser GNU General Public License as published by*
00007  * the Free Software Foundation; either version 3 of the License, or          *
00008  * (at your option) any later version.                                        *
00009  *                                                                            *
00010  * This program is distributed in the hope that it will be useful,            *
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of             *
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the               *
00013  * Lesser GNU General Public License for more details.                        *
00014  *                                                                            *
00015  * You should have received a copy of the Lesser GNU General Public License   *
00016  * along with this program. If not, see <http://www.gnu.org/licenses/>.       *
00017  ******************************************************************************/
00018 
00019 #ifndef RQT_MULTIPLOT_CURVE_CONFIG_WIDGET_H
00020 #define RQT_MULTIPLOT_CURVE_CONFIG_WIDGET_H
00021 
00022 #include <QWidget>
00023 
00024 #include <rqt_multiplot/CurveConfig.h>
00025 #include <rqt_multiplot/MessageTopicRegistry.h>
00026 
00027 namespace Ui {
00028   class CurveConfigWidget;
00029 };
00030 
00031 namespace rqt_multiplot {
00032   class CurveConfigWidget :
00033     public QWidget {
00034   Q_OBJECT
00035   public:
00036     CurveConfigWidget(QWidget* parent = 0);
00037     virtual ~CurveConfigWidget();
00038 
00039     void setConfig(const CurveConfig& config);
00040     CurveConfig& getConfig();
00041     const CurveConfig& getConfig() const;
00042     
00043   private:
00044     Ui::CurveConfigWidget* ui_;
00045     
00046     CurveConfig* config_;
00047     
00048     MessageTopicRegistry* messageTopicRegistry_;
00049   
00050   private slots:
00051     void configTitleChanged(const QString& title);
00052     void configSubscriberQueueSizeChanged(size_t queueSize);
00053     
00054     void configAxisConfigTopicChanged(const QString& topic);
00055     void configAxisConfigTypeChanged(const QString& type);
00056     
00057     void lineEditTitleEditingFinished();
00058     void pushButtonCopyRightClicked();
00059     void pushButtonCopyLeftClicked();
00060     void pushButtonSwapClicked();
00061     void spinBoxSubscriberQueueSizeValueChanged(int value);
00062   };
00063 };
00064 
00065 #endif


rqt_multiplot
Author(s): Ralf Kaestner
autogenerated on Tue May 9 2017 02:16:02