Skip to content

Commit

Permalink
update SIP file
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Apr 8, 2017
1 parent fc4ce3c commit df0c26d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions python/gui/qgscheckablecombobox.sip
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ class QgsCheckableComboBox : QComboBox
%TypeHeaderCode
#include "qgscheckablecombobox.h"
%End


public:

QgsCheckableComboBox( QWidget *parent /TransferThis/ = 0 );
Expand All @@ -33,6 +31,7 @@ class QgsCheckableComboBox : QComboBox
%Docstring
Returns separator used to separate items in the display text.
\see setSeparator()
:rtype: str
%End

void setSeparator( const QString &separator );
Expand All @@ -47,6 +46,7 @@ class QgsCheckableComboBox : QComboBox
Returns default text which will be displayed in the widget
when no items selected.
\see setDefaultText()
:rtype: str
%End

void setDefaultText( const QString &text );
Expand All @@ -61,6 +61,7 @@ class QgsCheckableComboBox : QComboBox
%Docstring
Returns currently checked items.
\see setCheckedItems()
:rtype: list of str
%End

Qt::CheckState itemCheckState( int index ) const;
Expand All @@ -69,6 +70,7 @@ class QgsCheckableComboBox : QComboBox
\param index item index
\see setItemCheckState()
\see toggleItemCheckState()
:rtype: Qt.CheckState
%End

void setItemCheckState( int index, Qt::CheckState state );
Expand Down Expand Up @@ -97,6 +99,7 @@ class QgsCheckableComboBox : QComboBox
virtual bool eventFilter( QObject *object, QEvent *event );
%Docstring
Filters events to enable context menu
:rtype: bool
%End

signals:
Expand Down
1 change: 1 addition & 0 deletions src/gui/qgscheckablecombobox.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <QStandardItemModel>
#include <QStyledItemDelegate>

#include "qgis.h"
#include "qgis_gui.h"

class QEvent;
Expand Down

0 comments on commit df0c26d

Please sign in to comment.