QGIS API Documentation
3.41.0-Master (f75d66fa9f9)
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
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
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
d
e
f
g
h
i
l
n
o
p
q
r
s
t
u
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
35
class
GUI_EXPORT
QgsPanelWidgetStack
:
public
QWidget,
private
Ui::QgsRendererWidgetContainerBase
36
{
37
Q_OBJECT
38
public
:
44
QgsPanelWidgetStack
( QWidget *parent =
nullptr
);
45
60
void
setMainPanel(
QgsPanelWidget
*panel
SIP_TRANSFER
);
61
68
QgsPanelWidget
*mainPanel();
69
79
QgsPanelWidget
*takeMainPanel()
SIP_TRANSFERBACK
;
80
85
void
clear();
86
90
QgsPanelWidget
*currentPanel();
91
92
QSize sizeHint()
const override
;
93
QSize minimumSizeHint()
const override
;
94
95
public
slots:
96
103
void
acceptCurrentPanel();
104
110
void
acceptAllPanels();
111
117
void
showPanel(
QgsPanelWidget
*panel );
118
124
void
closePanel(
QgsPanelWidget
*panel );
125
126
protected
:
127
void
mouseReleaseEvent( QMouseEvent *e )
override
;
128
void
keyPressEvent( QKeyEvent *e )
override
;
129
130
private
:
131
void
updateBreadcrumb();
132
void
updateMenuButton();
133
QStack<QString> mTitles;
134
};
35
class
GUI_EXPORT
QgsPanelWidgetStack
:
public
QWidget,
private
Ui::QgsRendererWidgetContainerBase {
…
};
135
136
137
#endif
// QGSPANELWIDGETSTACK_H
QgsPanelWidgetStack
A stack widget to manage panels in the interface.
Definition
qgspanelwidgetstack.h:36
QgsPanelWidget
Base class for any widget that can be shown as a 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 Fri Jan 24 2025 00:25:35 for QGIS API Documentation by
1.9.8