QGIS API Documentation  2.9.0-Master
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 ) {}
24  QString property;
25  QString title;
26  QString initialValue;
27  QString helpText;
28  };
29 
30  Q_DECL_DEPRECATED QgsDataDefinedSymbolDialog( const QList< DataDefinedSymbolEntry >& entries, const QgsVectorLayer* vl, QWidget * parent = 0, Qt::WindowFlags f = 0 );
32  Q_DECL_DEPRECATED QMap< QString, QString > dataDefinedProperties() const;
33 
34  //common help texts
35  Q_DECL_DEPRECATED static QString doubleHelpText();
36  Q_DECL_DEPRECATED static QString colorHelpText();
37  Q_DECL_DEPRECATED static QString offsetHelpText();
38  Q_DECL_DEPRECATED static QString fileNameHelpText();
39  Q_DECL_DEPRECATED static QString horizontalAnchorHelpText();
40  Q_DECL_DEPRECATED static QString verticalAnchorHelpText();
41  Q_DECL_DEPRECATED static QString gradientTypeHelpText();
42  Q_DECL_DEPRECATED static QString gradientCoordModeHelpText();
43  Q_DECL_DEPRECATED static QString gradientSpreadHelpText();
44  Q_DECL_DEPRECATED static QString boolHelpText();
45  Q_DECL_DEPRECATED static QString lineStyleHelpText();
46  Q_DECL_DEPRECATED static QString joinStyleHelpText();
47  Q_DECL_DEPRECATED static QString capStyleHelpText();
48  Q_DECL_DEPRECATED static QString fillStyleHelpText();
49 
50  private:
51  const QgsVectorLayer* mVectorLayer;
52 };
53 
54 #endif // QGSDATADEFINEDSYMBOLLAYERDIALOG_H
DataDefinedSymbolEntry(const QString &p, const QString &t, const QString &v, const QString &h)
Represents a vector layer which manages a vector based data sets.