QGIS API Documentation
3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
src
gui
qgsproxystyle.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsproxystyle.h
3
---------------
4
Date : March 2018
5
Copyright : (C) 2018 by Nyall Dawson
6
Email : nyall dot dawson 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 QGSPROXYSTYLE_H
17
#define QGSPROXYSTYLE_H
18
19
#include "
qgis_sip.h
"
20
#include "
qgsgui.h
"
21
22
#include <QProxyStyle>
23
31
class
GUI_EXPORT
QgsProxyStyle
:
public
QProxyStyle
32
{
33
Q_OBJECT
34
35
public
:
36
42
explicit
QgsProxyStyle
( QWidget *parent
SIP_TRANSFER
);
43
};
44
46
#ifndef SIP_RUN
47
52
class
GUI_EXPORT QgsAppStyle :
public
QProxyStyle
53
{
54
Q_OBJECT
55
56
public
:
57
explicit
QgsAppStyle(
const
QString &base );
58
QPixmap generatedIconPixmap( QIcon::Mode iconMode,
const
QPixmap &pixmap,
const
QStyleOption *opt )
const override
;
59
void
polish( QWidget *widget )
override
;
60
61
QString baseStyle()
const
{
return
mBaseStyle; }
62
68
QProxyStyle *clone()
SIP_FACTORY
;
69
70
private:
71
QString mBaseStyle;
72
};
73
74
#endif
76
77
#endif
// QGSPROXYSTYLE_H
QgsProxyStyle::QgsProxyStyle
QgsProxyStyle(QWidget *parent)
Constructor for QgsProxyStyle.
Definition
qgsproxystyle.cpp:29
qgis_sip.h
SIP_TRANSFER
#define SIP_TRANSFER
Definition
qgis_sip.h:36
SIP_FACTORY
#define SIP_FACTORY
Definition
qgis_sip.h:84
qgsgui.h
Generated on
for QGIS API Documentation by
1.15.0