QGIS API Documentation
3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
src
gui
qgsblendmodecombobox.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsblendmodecombobox.h
3
------------------------
4
begin : March 21, 2013
5
copyright : (C) 2013 by Nyall Dawson
6
email :
[email protected]
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef QGSBLENDMODECOMBOBOX_H
19
#define QGSBLENDMODECOMBOBOX_H
20
21
#include <QComboBox>
22
#include "
qgis_sip.h
"
23
#include <QPainter>
// For QPainter::CompositionMode enum
24
#include "qgis_gui.h"
25
30
class
GUI_EXPORT
QgsBlendModeComboBox
:
public
QComboBox
31
{
32
Q_OBJECT
33
public
:
35
QgsBlendModeComboBox
( QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
);
36
41
QPainter::CompositionMode blendMode();
42
47
void
setBlendMode( QPainter::CompositionMode blendMode );
48
60
void
setShowClippingModes(
bool
show );
61
72
bool
showClippingModes()
const
;
73
74
private
:
75
bool
mShowClipModes =
false
;
76
77
public
slots:
78
83
void
updateModes();
84
};
85
86
#endif
// QGSBLENDMODECOMBOBOX_H
QgsBlendModeComboBox
A combobox which lets the user select blend modes from a predefined list.
Definition
qgsblendmodecombobox.h:31
qgis_sip.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:53
Generated on Sun Dec 15 2024 01:32:01 for QGIS API Documentation by
1.9.8