Skip to content
Permalink
Browse files

Update QgsMessageBar sip binding

  • Loading branch information
dakcarto committed Nov 7, 2012
1 parent 87af12f commit 8d1ce0337c715d84aacda23fb151555029310d85
Showing with 8 additions and 0 deletions.
  1. +8 −0 python/gui/qgsmessagebar.sip
@@ -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 );

@@ -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.
You can’t perform that action at this time.