QGIS API Documentation
3.41.0-Master (45a0abf3bec)
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
27
class
GUI_EXPORT
QgsPenStyleComboBox
:
public
QComboBox
28
{
29
Q_OBJECT
30
31
public
:
32
QgsPenStyleComboBox
( QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
);
33
34
Qt::PenStyle penStyle()
const
;
35
36
void
setPenStyle( Qt::PenStyle style );
37
38
protected
:
39
QIcon iconForPen( Qt::PenStyle style );
40
41
};
42
47
class
GUI_EXPORT
QgsPenJoinStyleComboBox
:
public
QComboBox
48
{
49
Q_OBJECT
50
51
public
:
52
QgsPenJoinStyleComboBox
( QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
);
53
54
Qt::PenJoinStyle penJoinStyle()
const
;
55
56
void
setPenJoinStyle( Qt::PenJoinStyle style );
57
};
58
63
class
GUI_EXPORT
QgsPenCapStyleComboBox
:
public
QComboBox
64
{
65
Q_OBJECT
66
67
public
:
68
QgsPenCapStyleComboBox
( QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
);
69
70
Qt::PenCapStyle penCapStyle()
const
;
71
72
void
setPenCapStyle( Qt::PenCapStyle style );
73
};
74
75
#endif
QgsPenCapStyleComboBox
Definition
qgspenstylecombobox.h:64
QgsPenJoinStyleComboBox
Definition
qgspenstylecombobox.h:48
QgsPenStyleComboBox
Definition
qgspenstylecombobox.h:28
qgis_sip.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:53
Generated on Tue Nov 19 2024 18:20:01 for QGIS API Documentation by
1.9.8