Skip to content

Commit

Permalink
Update QgsMessageBar sip binding
Browse files Browse the repository at this point in the history
  • Loading branch information
dakcarto committed Nov 7, 2012
1 parent 87af12f commit 8d1ce03
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions python/gui/qgsmessagebar.sip
Expand Up @@ -32,6 +32,9 @@ class QgsMessageBar: QFrame
static QWidget* createMessage( const QString &title, const QString &text, const QIcon &icon, QWidget *parent = 0 ) /Factory/;

signals:
//! emitted when a message widget is added to the bar
void widgetAdded( QWidget *widget );

//! emitted when a widget was removed from the bar
void widgetRemoved( QWidget *widget );

Expand All @@ -41,4 +44,9 @@ class QgsMessageBar: QFrame
* @return true if the widget was removed, false otherwise
*/
bool popWidget();

/*! remove all items from the bar's widget list
* @return true if all items were removed, false otherwise
*/
bool clearWidgets();
};

0 comments on commit 8d1ce03

Please sign in to comment.