QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
src
gui
symbology-ng
qgsdatadefinedsymboldialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsdatadefinedsymboldialog.h
3
---------------------
4
begin : March 2013
5
copyright : (C) 2013 by Marco Hugentobler
6
email : marco dot hugentobler at sourcepole dot ch
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 QGSDATADEFINEDSYMBOLLAYERDIALOG_H
16
#define QGSDATADEFINEDSYMBOLLAYERDIALOG_H
17
18
#include "ui_qgsdatadefinedsymboldialogbase.h"
19
#include <QDialog>
20
21
class
QgsVectorLayer
;
22
class
QComboBox
;
23
24
29
class
GUI_EXPORT
QgsDataDefinedSymbolDialog
:
public
QDialog
,
private
Ui::QgsDataDefinedSymbolDialog
30
{
31
Q_OBJECT
32
public
:
33
34
struct
DataDefinedSymbolEntry
35
{
36
DataDefinedSymbolEntry
(
const
QString
& p,
const
QString
& t,
const
QString
& v,
const
QString
& h ):
37
property( p ), title( t ), initialValue( v ), helpText( h ) {}
38
QString
property
;
39
QString
title
;
40
QString
initialValue
;
41
QString
helpText
;
42
};
43
45
Q_DECL_DEPRECATED
QgsDataDefinedSymbolDialog
(
const
QList< DataDefinedSymbolEntry >
& entries,
const
QgsVectorLayer
* vl,
QWidget
* parent =
nullptr
,
const
Qt::WindowFlags
& f =
nullptr
);
46
~
QgsDataDefinedSymbolDialog
();
47
49
Q_DECL_DEPRECATED
QMap< QString, QString >
dataDefinedProperties()
const
;
50
51
//common help texts
53
Q_DECL_DEPRECATED
static
QString
doubleHelpText();
55
Q_DECL_DEPRECATED
static
QString
colorHelpText();
57
Q_DECL_DEPRECATED
static
QString
offsetHelpText();
59
Q_DECL_DEPRECATED
static
QString
fileNameHelpText();
61
Q_DECL_DEPRECATED
static
QString
horizontalAnchorHelpText();
63
Q_DECL_DEPRECATED
static
QString
verticalAnchorHelpText();
65
Q_DECL_DEPRECATED
static
QString
gradientTypeHelpText();
67
Q_DECL_DEPRECATED
static
QString
gradientCoordModeHelpText();
69
Q_DECL_DEPRECATED
static
QString
gradientSpreadHelpText();
71
Q_DECL_DEPRECATED
static
QString
boolHelpText();
73
Q_DECL_DEPRECATED
static
QString
lineStyleHelpText();
75
Q_DECL_DEPRECATED
static
QString
joinStyleHelpText();
77
Q_DECL_DEPRECATED
static
QString
capStyleHelpText();
79
Q_DECL_DEPRECATED
static
QString
fillStyleHelpText();
80
81
private
:
82
const
QgsVectorLayer
* mVectorLayer;
83
};
84
85
#endif // QGSDATADEFINEDSYMBOLLAYERDIALOG_H
QgsDataDefinedSymbolDialog
Definition:
qgsdatadefinedsymboldialog.h:29
QWidget
QMap< QString, QString >
QgsDataDefinedSymbolDialog::DataDefinedSymbolEntry
Definition:
qgsdatadefinedsymboldialog.h:34
QgsDataDefinedSymbolDialog::DataDefinedSymbolEntry::helpText
QString helpText
Definition:
qgsdatadefinedsymboldialog.h:41
QString
QList
QgsDataDefinedSymbolDialog::DataDefinedSymbolEntry::initialValue
QString initialValue
Definition:
qgsdatadefinedsymboldialog.h:40
QgsDataDefinedSymbolDialog::DataDefinedSymbolEntry::DataDefinedSymbolEntry
DataDefinedSymbolEntry(const QString &p, const QString &t, const QString &v, const QString &h)
Definition:
qgsdatadefinedsymboldialog.h:36
QDialog
Qt::WindowFlags
typedef WindowFlags
QgsVectorLayer
Represents a vector layer which manages a vector based data sets.
Definition:
qgsvectorlayer.h:408
QgsDataDefinedSymbolDialog::DataDefinedSymbolEntry::title
QString title
Definition:
qgsdatadefinedsymboldialog.h:39
QgsDataDefinedSymbolDialog::DataDefinedSymbolEntry::property
QString property
Definition:
qgsdatadefinedsymboldialog.h:38
QComboBox
Generated on Sun Jun 24 2018 11:42:48 for QGIS API Documentation by
1.8.13