Navigation Menu

Skip to content

Commit

Permalink
Add binding for QgsAttributeDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Apr 23, 2013
1 parent 3bd21bc commit 7f903ee
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/gui/gui.sip
Expand Up @@ -10,6 +10,7 @@
%Include qgisinterface.sip
%Include qgsannotationitem.sip
%Include qgsattributeeditor.sip
%Include qgsattributedialog.sip
%Include qgsbusyindicatordialog.sip
%Include qgscollapsiblegroupbox.sip
%Include qgscolorbutton.sip
Expand Down
19 changes: 19 additions & 0 deletions python/gui/qgsattributedialog.sip
@@ -0,0 +1,19 @@
class QgsAttributeDialog : QObject
{
%TypeHeaderCode
#include <qgsattributedialog.h>
%End

public:
QgsAttributeDialog( QgsVectorLayer *vl, QgsFeature *thepFeature, bool featureOwner, QgsDistanceArea myDa, QWidget* parent = 0, bool showDialogButtons = true );
void saveGeometry();
void restoreGeometry();
QDialog *dialog();
QgsFeature* feature();

public slots:
void accept();
int exec();
void show();
void dialogDestroyed();
};

0 comments on commit 7f903ee

Please sign in to comment.