plotwidget_transforms.h
Go to the documentation of this file.
1 /*
2  * This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this
4  * file, You can obtain one at https://mozilla.org/MPL/2.0/.
5  */
6 
7 #ifndef PLOTWIDGET_TRANSFORMS_H
8 #define PLOTWIDGET_TRANSFORMS_H
9 
10 #include <QDialog>
11 #include "plotwidget.h"
12 
13 namespace Ui
14 {
15 class plotwidget_transforms;
16 }
17 
18 class DialogTransformEditor : public QDialog
19 {
20  Q_OBJECT
21 
22 public:
23  explicit DialogTransformEditor(PlotWidget* plotwidget);
25 
26 private slots:
27 
28  void on_listCurves_itemSelectionChanged();
29 
30  void on_listTransforms_itemSelectionChanged();
31 
32  void on_pushButtonCancel_clicked();
33 
34  void on_pushButtonSave_clicked();
35 
36  void on_lineEditAlias_editingFinished();
37 
38 private:
39  Ui::plotwidget_transforms* ui;
40 
43 
44  std::set<QWidget*> _connected_transform_widgets;
45 
46  void setupTable();
47 
48  class RowWidget : public QWidget
49  {
50  public:
51  RowWidget(QString text, QColor color);
52 
53  QString text() const;
54  QColor color() const;
55 
56  private:
57  QLabel* _text;
58  QColor _color;
59  };
60 };
61 
62 #endif // PLOTWIDGET_TRANSFORMS_H
std::set< QWidget * > _connected_transform_widgets
color
Definition: color.h:23
Ui::plotwidget_transforms * ui


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:01:38