17 #ifndef QGSATTRIBUTEEDITOR_H
18 #define QGSATTRIBUTEEDITOR_H
53 static QWidget *createAttributeEditor( QWidget *parent, QWidget *editor,
QgsVectorLayer *vl,
int idx,
const QVariant &value, QMap<int, QWidget*> &proxyWidgets );
63 static QWidget *createAttributeEditor( QWidget *parent, QWidget *editor,
QgsVectorLayer *vl,
int idx,
const QVariant &value );
75 static bool retrieveValue( QWidget *widget,
QgsVectorLayer *vl,
int idx, QVariant &value );
76 static bool setValue( QWidget *widget,
QgsVectorLayer *vl,
int idx,
const QVariant &value );
79 static QComboBox *comboBox( QWidget *editor, QWidget *parent );
80 static QListWidget *listWidget( QWidget *editor, QWidget *parent );
83 void selectFileName();
85 void loadUrl(
const QString & );
86 void loadPixmap(
const QString & );
103 : QObject( parent ) {}
109 void changeText( QString str );
112 void textChanged( QString );