PlotConfigWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright (C) 2015 by Ralf Kaestner *
3  * ralf.kaestner@gmail.com *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the Lesser GNU General Public License as published by*
7  * the Free Software Foundation; either version 3 of the License, or *
8  * (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * Lesser GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the Lesser GNU General Public License *
16  * along with this program. If not, see <http://www.gnu.org/licenses/>. *
17  ******************************************************************************/
18 
19 #ifndef RQT_MULTIPLOT_PLOT_CONFIG_WIDGET_H
20 #define RQT_MULTIPLOT_PLOT_CONFIG_WIDGET_H
21 
22 #include <QListWidgetItem>
23 #include <QWidget>
24 
26 
27 namespace Ui {
28  class PlotConfigWidget;
29 };
30 
31 namespace rqt_multiplot {
33  public QWidget {
34  Q_OBJECT
35  public:
36  PlotConfigWidget(QWidget* parent = 0);
37  virtual ~PlotConfigWidget();
38 
39  void setConfig(const PlotConfig& config);
40  const PlotConfig& getConfig() const;
41 
42  void copySelectedCurves();
43  void pasteCurves();
44 
45  bool eventFilter(QObject* object, QEvent* event);
46 
47  private:
48  Ui::PlotConfigWidget* ui_;
49 
51 
52  private slots:
53  void configTitleChanged(const QString& title);
54  void configPlotRateChanged(double rate);
55 
56  void lineEditTitleEditingFinished();
57 
58  void pushButtonAddCurveClicked();
59  void pushButtonEditCurveClicked();
60  void pushButtonRemoveCurvesClicked();
61 
62  void pushButtonCopyCurvesClicked();
63  void pushButtonPasteCurvesClicked();
64 
65  void curveListWidgetItemSelectionChanged();
66  void curveListWidgetItemDoubleClicked(QListWidgetItem* item);
67 
68  void doubleSpinBoxPlotRateValueChanged(double value);
69 
70  void clipboardDataChanged();
71  };
72 };
73 
74 #endif
config
Ui::PlotConfigWidget * ui_


rqt_multiplot
Author(s): Ralf Kaestner
autogenerated on Wed Jul 10 2019 03:49:44