mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
33 lines
619 B
Plaintext
33 lines
619 B
Plaintext
|
/** \ingroup core
|
||
|
* Holder for the widget type and its configuration for a field.
|
||
|
*/
|
||
|
class QgsEditorWidgetSetup
|
||
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <qgseditorwidgetsetup.h>
|
||
|
%End
|
||
|
public:
|
||
|
/**
|
||
|
* Constructor
|
||
|
*/
|
||
|
QgsEditorWidgetSetup( const QString& type, const QgsEditorWidgetConfig& config );
|
||
|
QgsEditorWidgetSetup();
|
||
|
|
||
|
/**
|
||
|
* @return the widget type to use
|
||
|
*/
|
||
|
QString type() const;
|
||
|
|
||
|
/**
|
||
|
* @return the widget configuration to used
|
||
|
*/
|
||
|
QgsEditorWidgetConfig config() const;
|
||
|
|
||
|
/**
|
||
|
* @return true if there is no widget configured.
|
||
|
*/
|
||
|
bool isNull() const;
|
||
|
};
|
||
|
|
||
|
|