Skip to content

Commit adcf119

Browse files
committed
sip bindings for user input tool bar
1 parent 953c06b commit adcf119

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

python/gui/gui.sip

+1
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
%Include qgsvertexmarker.sip
108108
%Include qgsvectorlayertools.sip
109109
%Include qgssublayersdialog.sip
110+
%Include qgsuserinputdockwidget.sip
110111
%Include qgscharacterselectdialog.sip
111112
%Include qgscomposerruler.sip
112113
%Include qgsdatadefinedbutton.sip

python/gui/qgsuserinputdockwidget.sip

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
2+
class QgsUserInputDockWidget : QDockWidget
3+
{
4+
%TypeHeaderCode
5+
#include "qgsuserinputdockwidget.h"
6+
%End
7+
8+
public:
9+
QgsUserInputDockWidget( QWidget* parent /TransferThis/ = 0 );
10+
~QgsUserInputDockWidget();
11+
12+
//! add a widget to be displayed in the dock
13+
void addUserInputWidget( QWidget* widget );
14+
15+
protected:
16+
//! will not display the dock if it contains no widget
17+
void paintEvent( QPaintEvent *event );
18+
19+
};

0 commit comments

Comments
 (0)