Skip to content

Commit

Permalink
sip bindings for user input tool bar
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jun 2, 2015
1 parent 953c06b commit adcf119
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 @@ -107,6 +107,7 @@
%Include qgsvertexmarker.sip
%Include qgsvectorlayertools.sip
%Include qgssublayersdialog.sip
%Include qgsuserinputdockwidget.sip
%Include qgscharacterselectdialog.sip
%Include qgscomposerruler.sip
%Include qgsdatadefinedbutton.sip
Expand Down
19 changes: 19 additions & 0 deletions python/gui/qgsuserinputdockwidget.sip
@@ -0,0 +1,19 @@

class QgsUserInputDockWidget : QDockWidget
{
%TypeHeaderCode
#include "qgsuserinputdockwidget.h"
%End

public:
QgsUserInputDockWidget( QWidget* parent /TransferThis/ = 0 );
~QgsUserInputDockWidget();

//! add a widget to be displayed in the dock
void addUserInputWidget( QWidget* widget );

protected:
//! will not display the dock if it contains no widget
void paintEvent( QPaintEvent *event );

};

0 comments on commit adcf119

Please sign in to comment.