QGIS API Documentation
2.8.2-Wien
|
#include <qgsdatetimeeditconfig.h>
Public Member Functions | |
QgsDateTimeEditConfig (QgsVectorLayer *vl, int fieldIdx, QWidget *parent=0) | |
QgsEditorWidgetConfig | config () override |
Create a configuration from the current GUI state. | |
void | setConfig (const QgsEditorWidgetConfig &config) override |
Update the configuration widget to represent the given configuration. | |
Public Member Functions inherited from QgsEditorConfigWidget | |
QgsEditorConfigWidget (QgsVectorLayer *vl, int fieldIdx, QWidget *parent) | |
Create a new configuration widget. | |
virtual | ~QgsEditorConfigWidget () |
Destructor. | |
int | field () |
Returns the field for which this configuration widget applies. | |
QgsVectorLayer * | layer () |
Returns the layer for which this configuration widget applies. |
Definition at line 22 of file qgsdatetimeeditconfig.h.
QgsDateTimeEditConfig::QgsDateTimeEditConfig | ( | QgsVectorLayer * | vl, |
int | fieldIdx, | ||
QWidget * | parent = 0 |
||
) |
Definition at line 19 of file qgsdatetimeeditconfig.cpp.
|
overridevirtual |
Create a configuration from the current GUI state.
Implements QgsEditorConfigWidget.
Definition at line 104 of file qgsdatetimeeditconfig.cpp.
|
overridevirtual |
Update the configuration widget to represent the given configuration.
config | The configuration which should be represented by this widget |
Implements QgsEditorConfigWidget.
Definition at line 117 of file qgsdatetimeeditconfig.cpp.