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 
29 
31 
33 
35 
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
DialogTransformEditor::~DialogTransformEditor
~DialogTransformEditor()
Definition: plotwidget_transforms.cpp:80
color
color
Definition: color.h:16
DialogTransformEditor::_plotwidget
PlotWidget * _plotwidget
Definition: plotwidget_transforms.h:41
DialogTransformEditor::on_lineEditAlias_editingFinished
void on_lineEditAlias_editingFinished()
Definition: plotwidget_transforms.cpp:261
DialogTransformEditor::on_listCurves_itemSelectionChanged
void on_listCurves_itemSelectionChanged()
Definition: plotwidget_transforms.cpp:110
plotwidget.h
DialogTransformEditor::RowWidget::_color
QColor _color
Definition: plotwidget_transforms.h:58
DialogTransformEditor::RowWidget
Definition: plotwidget_transforms.h:48
DialogTransformEditor::RowWidget::color
QColor color() const
Definition: plotwidget_transforms.cpp:105
DialogTransformEditor::_connected_transform_widgets
std::set< QWidget * > _connected_transform_widgets
Definition: plotwidget_transforms.h:44
DialogTransformEditor::setupTable
void setupTable()
Definition: plotwidget_transforms.cpp:59
DialogTransformEditor::RowWidget::_text
QLabel * _text
Definition: plotwidget_transforms.h:57
PlotWidget
Definition: plotwidget.h:38
DialogTransformEditor::_plotwidget_origin
PlotWidget * _plotwidget_origin
Definition: plotwidget_transforms.h:42
Ui
Definition: cheatsheet_dialog.h:6
DialogTransformEditor::on_listTransforms_itemSelectionChanged
void on_listTransforms_itemSelectionChanged()
Definition: plotwidget_transforms.cpp:156
DialogTransformEditor::on_pushButtonCancel_clicked
void on_pushButtonCancel_clicked()
Definition: plotwidget_transforms.cpp:237
DialogTransformEditor::DialogTransformEditor
DialogTransformEditor(PlotWidget *plotwidget)
Definition: plotwidget_transforms.cpp:20
DialogTransformEditor::on_pushButtonSave_clicked
void on_pushButtonSave_clicked()
Definition: plotwidget_transforms.cpp:242
DialogTransformEditor::RowWidget::RowWidget
RowWidget(QString text, QColor color)
Definition: plotwidget_transforms.cpp:88
DialogTransformEditor::RowWidget::text
QString text() const
Definition: plotwidget_transforms.cpp:100
DialogTransformEditor::ui
Ui::plotwidget_transforms * ui
Definition: plotwidget_transforms.h:39
DialogTransformEditor
Definition: plotwidget_transforms.h:18


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:45