QGIS API Documentation
3.43.0-Master (b60ef06885e)
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
g
h
i
l
m
n
o
p
q
r
s
t
w
Functions
a
b
c
d
f
g
h
i
l
m
n
o
p
r
s
t
w
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Symbols
3
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
Files
File List
File Members
All
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
e
f
g
h
i
l
n
o
p
q
r
s
t
w
Typedefs
3
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
w
y
Loading...
Searching...
No Matches
src
gui
qgspanelwidgetstack.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgspanelwidgetstack.h
3
---------------------
4
begin : June 2016
5
copyright : (C) 2016 by Nathan Woodrow
6
email :
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
#ifndef QGSPANELWIDGETSTACK_H
16
#define QGSPANELWIDGETSTACK_H
17
18
#include <QWidget>
19
#include <QKeyEvent>
20
#include <QStackedWidget>
21
#include <QStack>
22
23
#include "ui_qgsrenderercontainerbase.h"
24
#include "qgis_gui.h"
25
26
class
QgsPanelWidget
;
27
37
class
GUI_EXPORT
QgsPanelWidgetStack
:
public
QWidget,
private
Ui::QgsRendererWidgetContainerBase
38
{
39
Q_OBJECT
40
public
:
46
QgsPanelWidgetStack
( QWidget *parent =
nullptr
);
47
62
void
setMainPanel(
QgsPanelWidget
*panel
SIP_TRANSFER
);
63
70
QgsPanelWidget
*mainPanel();
71
81
QgsPanelWidget
*takeMainPanel()
SIP_TRANSFERBACK
;
82
87
void
clear();
88
92
QgsPanelWidget
*currentPanel();
93
94
QSize sizeHint()
const override
;
95
QSize minimumSizeHint()
const override
;
96
97
public
slots:
98
105
void
acceptCurrentPanel();
106
112
void
acceptAllPanels();
113
119
void
showPanel(
QgsPanelWidget
*panel );
120
126
void
closePanel(
QgsPanelWidget
*panel );
127
128
protected
:
129
void
mouseReleaseEvent( QMouseEvent *e )
override
;
130
void
keyPressEvent( QKeyEvent *e )
override
;
131
132
private
:
133
void
updateBreadcrumb();
134
void
updateMenuButton();
135
QStack<QString> mTitles;
136
};
37
class
GUI_EXPORT
QgsPanelWidgetStack
:
public
QWidget,
private
Ui::QgsRendererWidgetContainerBase {
…
};
137
138
139
#endif
// QGSPANELWIDGETSTACK_H
QgsPanelWidgetStack
A stack widget to manage multiple overlapping stacked panels.
Definition
qgspanelwidgetstack.h:38
QgsPanelWidget
Base class for any widget that can be shown as an inline panel.
Definition
qgspanelwidget.h:30
SIP_TRANSFER
#define SIP_TRANSFER
Definition
qgis_sip.h:36
SIP_TRANSFERBACK
#define SIP_TRANSFERBACK
Definition
qgis_sip.h:48
Generated on Sun Apr 6 2025 18:57:15 for QGIS API Documentation by
1.9.8