QGIS/python/gui/qgsattributeeditor.sip
jef 71c6454e95 fix #2554:
- apply heavy modified patch from sunil.
- introduces QgsFieldValidator including sip bindings
- add missing sip bindings to QgsAttributeEditor


git-svn-id: http://svn.osgeo.org/qgis/trunk@15566 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-22 23:18:06 +00:00

17 lines
604 B
Plaintext

/* \brief create attribute widget for editing */
class QgsAttributeEditor : public QObject
{
%TypeHeaderCode
#incude <qgsattributeeditor.h>
%End
public:
QgsAttributeEditor( QObject *parent );
static QWidget *createAttributeEditor( QWidget *parent, QWidget *editor, QgsVectorLayer *vl, int idx, const QVariant &value );
static bool retrieveValue( QWidget *widget, QgsVectorLayer *vl, int idx, QVariant &value );
static bool setValue( QWidget *widget, QgsVectorLayer *vl, int idx, const QVariant &value );
public slots:
void selectFileName( void );
void selectDate( void );
};