1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#ifndef QGSPENSTYLECOMBOBOX_H
#define QGSPENSTYLECOMBOBOX_H
#include <QComboBox>
class GUI_EXPORT QgsPenStyleComboBox : public QComboBox
{
public:
QgsPenStyleComboBox( QWidget* parent = NULL );
Qt::PenStyle penStyle() const;
void setPenStyle( Qt::PenStyle style );
protected:
QIcon iconForPen( Qt::PenStyle style );
};
class GUI_EXPORT QgsPenJoinStyleComboBox : public QComboBox
{
public:
QgsPenJoinStyleComboBox( QWidget* parent = NULL );
Qt::PenJoinStyle penJoinStyle() const;
void setPenJoinStyle( Qt::PenJoinStyle style );
};
class GUI_EXPORT QgsPenCapStyleComboBox : public QComboBox
{
public:
QgsPenCapStyleComboBox( QWidget* parent = NULL );
Qt::PenCapStyle penCapStyle() const;
void setPenCapStyle( Qt::PenCapStyle style );
};
#endif
|