QGIS API Documentation  2.15.0-Master (af20121)
qgsdatadefinedsymboldialog.h
Go to the documentation of this file.
1 #ifndef QGSDATADEFINEDSYMBOLLAYERDIALOG_H
2 #define QGSDATADEFINEDSYMBOLLAYERDIALOG_H
3 
4 #include "ui_qgsdatadefinedsymboldialogbase.h"
5 #include <QDialog>
6 
7 class QgsVectorLayer;
8 class QComboBox;
9 
10 
15 class GUI_EXPORT QgsDataDefinedSymbolDialog: public QDialog, private Ui::QgsDataDefinedSymbolDialog
16 {
17  Q_OBJECT
18  public:
19 
21  {
22  DataDefinedSymbolEntry( const QString& p, const QString& t, const QString& v, const QString& h ):
23  property( p ), title( t ), initialValue( v ), helpText( h ) {}
28  };
29 
31  Q_DECL_DEPRECATED QgsDataDefinedSymbolDialog( const QList< DataDefinedSymbolEntry >& entries, const QgsVectorLayer* vl, QWidget * parent = nullptr, const Qt::WindowFlags& f = nullptr );
33 
35  Q_DECL_DEPRECATED QMap< QString, QString > dataDefinedProperties() const;
36 
37  //common help texts
39  Q_DECL_DEPRECATED static QString doubleHelpText();
41  Q_DECL_DEPRECATED static QString colorHelpText();
43  Q_DECL_DEPRECATED static QString offsetHelpText();
45  Q_DECL_DEPRECATED static QString fileNameHelpText();
47  Q_DECL_DEPRECATED static QString horizontalAnchorHelpText();
49  Q_DECL_DEPRECATED static QString verticalAnchorHelpText();
51  Q_DECL_DEPRECATED static QString gradientTypeHelpText();
53  Q_DECL_DEPRECATED static QString gradientCoordModeHelpText();
55  Q_DECL_DEPRECATED static QString gradientSpreadHelpText();
57  Q_DECL_DEPRECATED static QString boolHelpText();
59  Q_DECL_DEPRECATED static QString lineStyleHelpText();
61  Q_DECL_DEPRECATED static QString joinStyleHelpText();
63  Q_DECL_DEPRECATED static QString capStyleHelpText();
65  Q_DECL_DEPRECATED static QString fillStyleHelpText();
66 
67  private:
68  const QgsVectorLayer* mVectorLayer;
69 };
70 
71 #endif // QGSDATADEFINEDSYMBOLLAYERDIALOG_H
DataDefinedSymbolEntry(const QString &p, const QString &t, const QString &v, const QString &h)
typedef WindowFlags
Represents a vector layer which manages a vector based data sets.