QGIS API Documentation
3.99.0-Master (f78f5286a64)
Loading...
Searching...
No Matches
src
gui
symbology
qgspenstylecombobox.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgspenstylecombobox.h
3
---------------------
4
begin : November 2009
5
copyright : (C) 2009 by Martin Dobias
6
email : wonder dot sk at gmail dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#ifndef QGSPENSTYLECOMBOBOX_H
17
#define QGSPENSTYLECOMBOBOX_H
18
19
#include <QComboBox>
20
#include "qgis_gui.h"
21
#include "
qgis_sip.h
"
22
28
class
GUI_EXPORT
QgsPenStyleComboBox
:
public
QComboBox
29
{
30
Q_OBJECT
31
32
public
:
33
QgsPenStyleComboBox
( QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
);
34
35
Qt::PenStyle penStyle()
const
;
36
37
void
setPenStyle( Qt::PenStyle style );
38
39
protected
:
40
QIcon iconForPen( Qt::PenStyle style );
41
};
42
48
class
GUI_EXPORT
QgsPenJoinStyleComboBox
:
public
QComboBox
49
{
50
Q_OBJECT
51
52
public
:
53
QgsPenJoinStyleComboBox
( QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
);
54
55
Qt::PenJoinStyle penJoinStyle()
const
;
56
57
void
setPenJoinStyle( Qt::PenJoinStyle style );
58
};
59
65
class
GUI_EXPORT
QgsPenCapStyleComboBox
:
public
QComboBox
66
{
67
Q_OBJECT
68
69
public
:
70
QgsPenCapStyleComboBox
( QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
);
71
72
Qt::PenCapStyle penCapStyle()
const
;
73
74
void
setPenCapStyle( Qt::PenCapStyle style );
75
};
76
77
#endif
QgsPenCapStyleComboBox
A combobox widget for selection of Qt::PenCapStyle.
Definition
qgspenstylecombobox.h:66
QgsPenJoinStyleComboBox
A combobox widget for selection of Qt::PenJoinStyle.
Definition
qgspenstylecombobox.h:49
QgsPenStyleComboBox
A combobox widget for selection of Qt::PenStyle.
Definition
qgspenstylecombobox.h:29
qgis_sip.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:53
Generated on Fri Jul 18 2025 14:01:06 for QGIS API Documentation by
1.9.8