QGIS API Documentation
3.43.0-Master (9e873c7bc91)
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
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
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
symbology
qgsdashspacedialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsdashspacedialog.h
3
---------------------
4
begin : January 2010
5
copyright : (C) 2010 by Marco Hugentobler
6
email : marco at hugis dot net
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 QGSDASHSPACEDIALOG_H
17
#define QGSDASHSPACEDIALOG_H
18
19
#include "ui_qgsdashspacewidgetbase.h"
20
21
#include "qgis_gui.h"
22
#include "
qgis_sip.h
"
23
#include "
qgspanelwidget.h
"
24
#include "
qgsunittypes.h
"
25
26
#include <QDialog>
27
33
class
GUI_EXPORT
QgsDashSpaceWidget
:
public
QgsPanelWidget
,
private
Ui::QgsDashSpaceWidgetBase
34
{
35
Q_OBJECT
36
public
:
38
QgsDashSpaceWidget
(
const
QVector<qreal> &vectorPattern, QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
);
39
41
QVector<qreal> dashDotVector()
const
;
42
47
void
setUnit(
Qgis::RenderUnit
unit );
48
49
private
slots:
50
void
mAddButton_clicked();
51
void
mRemoveButton_clicked();
52
};
33
class
GUI_EXPORT
QgsDashSpaceWidget
:
public
QgsPanelWidget
,
private
Ui::QgsDashSpaceWidgetBase {
…
};
53
58
class
GUI_EXPORT
QgsDashSpaceDialog
:
public
QDialog
59
{
60
Q_OBJECT
61
public
:
63
QgsDashSpaceDialog
(
const
QVector<qreal> &v, QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
, Qt::WindowFlags f = Qt::WindowFlags() );
64
66
QVector<qreal> dashDotVector()
const
;
67
73
void
setUnit(
Qgis::RenderUnit
unit );
74
75
private
:
76
QgsDashSpaceWidget
*mWidget =
nullptr
;
77
};
58
class
GUI_EXPORT
QgsDashSpaceDialog
:
public
QDialog {
…
};
78
79
#endif
// QGSDASHSPACEDIALOG_H
Qgis::RenderUnit
RenderUnit
Rendering size units.
Definition
qgis.h:4991
QgsDashSpaceDialog
A dialog to enter a custom dash space pattern for lines.
Definition
qgsdashspacedialog.h:59
QgsDashSpaceWidget
A widget to enter a custom dash space pattern for lines.
Definition
qgsdashspacedialog.h:34
QgsPanelWidget
Base class for any widget that can be shown as a inline panel.
Definition
qgspanelwidget.h:30
qgis_sip.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:53
qgspanelwidget.h
qgsunittypes.h
Generated on Wed Mar 12 2025 12:18:25 for QGIS API Documentation by
1.9.8