17 #ifndef QGSATTRIBUTEEDITOR_H
18 #define QGSATTRIBUTEEDITOR_H
22 #include <QGridLayout>
60 static QWidget* createAttributeEditor( QWidget* parent, QWidget* editor,
QgsVectorLayer* vl,
int idx,
const QVariant &value, QMap<int, QWidget*>& proxyWidgets );
71 static QWidget* createAttributeEditor( QWidget* parent, QWidget* editor,
QgsVectorLayer* vl,
int idx,
const QVariant& value );
99 static bool retrieveValue( QWidget *widget,
QgsVectorLayer *vl,
int idx, QVariant &value );
100 static bool setValue( QWidget *widget,
QgsVectorLayer *vl,
int idx,
const QVariant &value );
103 static QComboBox *comboBox( QWidget *editor, QWidget *parent );
104 static QListWidget *listWidget( QWidget *editor, QWidget *parent );
105 static QgsDualView* dualView( QWidget* editor, QWidget* parent );
108 void selectFileName();
110 void loadUrl(
const QString & );
111 void loadPixmap(
const QString & );
128 : QObject( parent ) {}
134 void changeText( QString str );
137 void textChanged( QString );