Skip to content
Permalink
Browse files

sip bindings for user input tool bar

  • Loading branch information
3nids committed Jun 2, 2015
1 parent 953c06b commit adcf119afaced007cc81acc5c697d3713cc48ce8
Showing with 20 additions and 0 deletions.
  1. +1 −0 python/gui/gui.sip
  2. +19 −0 python/gui/qgsuserinputdockwidget.sip
@@ -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
@@ -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.
You can’t perform that action at this time.