2013-04-24 09:40:53 +10:00
|
|
|
class QgsAttributeDialog : QObject
|
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgsattributedialog.h>
|
|
|
|
%End
|
|
|
|
|
|
|
|
public:
|
2013-10-04 14:47:59 +02:00
|
|
|
QgsAttributeDialog( QgsVectorLayer *vl, QgsFeature *thepFeature, bool featureOwner, QgsDistanceArea myDa, QWidget* parent = 0, bool showDialogButtons = true ) /Deprecated/;
|
|
|
|
QgsAttributeDialog( QgsVectorLayer *vl, QgsFeature *thepFeature, bool featureOwner, QWidget* parent = 0, bool showDialogButtons = true );
|
2013-04-24 09:40:53 +10:00
|
|
|
void saveGeometry();
|
|
|
|
void restoreGeometry();
|
|
|
|
QDialog *dialog();
|
2013-10-04 14:47:59 +02:00
|
|
|
const QgsFeature* feature();
|
2013-04-24 09:40:53 +10:00
|
|
|
|
|
|
|
public slots:
|
|
|
|
void accept();
|
|
|
|
int exec();
|
|
|
|
void show();
|
|
|
|
void dialogDestroyed();
|
2013-12-08 22:37:45 +02:00
|
|
|
|
|
|
|
private:
|
|
|
|
bool eventFilter( QObject *obj, QEvent *event );
|
2013-04-24 09:40:53 +10:00
|
|
|
};
|