##// END OF EJS Templates
Fixed manual test...
Titta Heikkala -
r2823:3c528f4f0388
parent child
Show More
@@ -1,46 +1,46
1 1 /****************************************************************************
2 2 **
3 3 ** Copyright (C) 2015 The Qt Company Ltd
4 4 ** All rights reserved.
5 5 ** For any questions to The Qt Company, please use contact form at http://qt.io
6 6 **
7 7 ** This file is part of the Qt Charts module.
8 8 **
9 9 ** Licensees holding valid commercial license for Qt may use this file in
10 10 ** accordance with the Qt License Agreement provided with the Software
11 11 ** or, alternatively, in accordance with the terms contained in a written
12 12 ** agreement between you and The Qt Company.
13 13 **
14 14 ** If you have questions regarding the use of this file, please use
15 15 ** contact form at http://qt.io
16 16 **
17 17 ****************************************************************************/
18 18
19 19 #ifndef PENWIDGET_H
20 20 #define PENWIDGET_H
21 21
22 22 #include <QtWidgets/QWidget>
23 #include <QtWidgets/QPen>
23 #include <QtGui/QPen>
24 24
25 25 class QComboBox;
26 26 class QSpinBox;
27 27
28 28 class PenWidget : public QWidget
29 29 {
30 30 public:
31 31 explicit PenWidget(QWidget* parent = 0);
32 32 ~PenWidget();
33 33
34 34 QPen pen() const { return m_pen; }
35 35 private:
36 36 void createContent();
37 37 void createLayout();
38 38
39 39 private:
40 40 QPen m_pen;
41 41 QComboBox *m_colorComboBox;
42 42 QComboBox *m_lineStyleComboBox;
43 43 QSpinBox *m_widthSpinBox;
44 44 };
45 45
46 46 #endif /* PENWIDGET_H */
General Comments 0
You need to be logged in to leave comments. Login now