QGIS API Documentation
3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
src
gui
symbology
qgsbrushstylecombobox.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsbrushstylecombobox.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 QGSBRUSHSTYLECOMBOBOX_H
17
#define QGSBRUSHSTYLECOMBOBOX_H
18
19
#include "qgis_gui.h"
20
#include "
qgis_sip.h
"
21
22
#include <QComboBox>
23
29
class
GUI_EXPORT
QgsBrushStyleComboBox
:
public
QComboBox
30
{
31
Q_OBJECT
32
33
public
:
34
QgsBrushStyleComboBox
( QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
);
35
36
Qt::BrushStyle
brushStyle
()
const
;
37
38
void
setBrushStyle
( Qt::BrushStyle style );
39
40
protected
:
41
QIcon
iconForBrush
( Qt::BrushStyle style );
42
};
43
44
#endif
QgsBrushStyleComboBox::brushStyle
Qt::BrushStyle brushStyle() const
Definition
qgsbrushstylecombobox.cpp:63
QgsBrushStyleComboBox::iconForBrush
QIcon iconForBrush(Qt::BrushStyle style)
Definition
qgsbrushstylecombobox.cpp:74
QgsBrushStyleComboBox::QgsBrushStyleComboBox
QgsBrushStyleComboBox(QWidget *parent=nullptr)
Definition
qgsbrushstylecombobox.cpp:29
QgsBrushStyleComboBox::setBrushStyle
void setBrushStyle(Qt::BrushStyle style)
Definition
qgsbrushstylecombobox.cpp:68
qgis_sip.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:53
Generated on
for QGIS API Documentation by
1.15.0