PlotTableConfigWidget.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_TABLE_CONFIG_WIDGET_H
20 #define RQT_MULTIPLOT_PLOT_TABLE_CONFIG_WIDGET_H
21 
22 #include <QMenu>
23 #include <QWidget>
24 
26 
27 namespace Ui {
28  class PlotTableConfigWidget;
29 };
30 
31 namespace rqt_multiplot {
32  class PlotTableWidget;
33 
35  public QWidget {
36  Q_OBJECT
37  public:
38  PlotTableConfigWidget(QWidget* parent = 0);
39  virtual ~PlotTableConfigWidget();
40 
41  void setConfig(PlotTableConfig* config);
42  PlotTableConfig* getConfig() const;
43  void setPlotTable(PlotTableWidget* plotTable);
44  PlotTableWidget* getPlotTableWidget() const;
45  void runPlots();
46 
47  protected:
48  bool eventFilter(QObject* object, QEvent* event);
49 
50  private:
51  Ui::PlotTableConfigWidget* ui_;
52 
54 
57 
58  private slots:
59  void configBackgroundColorChanged(const QColor& color);
60  void configForegroundColorChanged(const QColor& color);
61  void configNumPlotsChanged(size_t numRows, size_t numColumns);
62  void configLinkScaleChanged(bool link);
63  void configLinkCursorChanged(bool link);
64  void configTrackPointsChanged(bool track);
65 
66  void spinBoxRowsValueChanged(int value);
67  void spinBoxColumnsValueChanged(int value);
68 
69  void checkBoxLinkScaleStateChanged(int state);
70  void checkBoxLinkCursorStateChanged(int state);
71  void checkBoxTrackPointsStateChanged(int state);
72 
73  void pushButtonRunClicked();
74  void pushButtonPauseClicked();
75  void pushButtonClearClicked();
76  void pushButtonImportExportClicked();
77  void menuImportBagFileTriggered();
78  void menuExportImageFileTriggered();
79  void menuExportTextFileTriggered();
80 
81  void plotTablePlotPausedChanged();
82  void plotTableJobStarted(const QString& toolTip);
83  void plotTableJobProgressChanged(double progress);
84  void plotTableJobFinished(const QString& toolTip);
85  void plotTableJobFailed(const QString& toolTip);
86  };
87 };
88 
89 #endif
config


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