CurveStyleConfigWidget.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_CURVE_STYLE_CONFIG_WIDGET_H
20 #define RQT_MULTIPLOT_CURVE_STYLE_CONFIG_WIDGET_H
21 
22 #include <QButtonGroup>
23 #include <QWidget>
24 
26 
27 namespace Ui {
28  class CurveStyleConfigWidget;
29 };
30 
31 namespace rqt_multiplot {
33  public QWidget {
34  Q_OBJECT
35  public:
36  CurveStyleConfigWidget(QWidget* parent = 0);
37  virtual ~CurveStyleConfigWidget();
38 
39  void setConfig(CurveStyleConfig* config);
40  CurveStyleConfig* getConfig() const;
41 
42  private:
43  Ui::CurveStyleConfigWidget* ui_;
44 
46 
48 
49  private slots:
50  void configTypeChanged(int type);
51 
52  void configLinesInterpolateChanged(bool interpolate);
53  void configSticksOrientationChanged(int orientation);
54  void configSticksBaselineChanged(double baseline);
55  void configStepsInvertChanged(bool invert);
56 
57  void configPenWidthChanged(size_t width);
58  void configPenStyleChanged(int style);
59  void configRenderAntialiasChanged(bool antialias);
60 
61  void radioButtonLinesToggled(bool checked);
62  void radioButtonSticksToggled(bool checked);
63  void radioButtonStepsToggled(bool checked);
64  void radioButtonPointsToggled(bool checked);
65 
66  void checkBoxLinesInterpolateStateChanged(int state);
67  void radioButtonSticksOrientationHorizontalToggled(bool checked);
68  void radioButtonSticksOrientationVerticalToggled(bool checked);
69  void lineEditSticksBaselineEditingFinished();
70  void checkBoxStepsInvertStateChanged(int state);
71 
72  void spinBoxPenWidthValueChanged(int value);
73  void comboBoxPenStyleCurrentStyleChanged(int style);
74  void checkBoxRenderAntialiasStateChanged(int state);
75  };
76 };
77 
78 #endif
config


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