QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Typedefs
qgseditorwidgetconfig.h File Reference
#include <QMap>
#include <QString>
#include <QVariant>
Include dependency graph for qgseditorwidgetconfig.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef QMap< QString, QVariant > QgsEditorWidgetConfig
 Holds a set of configuration parameters for a editor widget wrapper. More...
 

Typedef Documentation

typedef QMap<QString, QVariant> QgsEditorWidgetConfig

Holds a set of configuration parameters for a editor widget wrapper.

It's basically a set of key => value pairs.

If you need more advanced structures than a simple key => value pair, you can use a value to hold any structure a QVariant can handle (and that's about anything you get through your compiler)

These are the user configurable options in the field properties tab of the vector layer properties. They are saved in the project file per layer and field. You get these passed, for every new widget wrapper.

Definition at line 19 of file qgseditorwidgetconfig.h.