Skip to content
Permalink
Browse files
Update QgsMessageBar sip file to include timeout messages
  • Loading branch information
dakcarto committed Jan 10, 2013
1 parent 5be6dc6 commit 37f7d57897a534bdb963ec5f4925428ff3ad87dd
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/gui/qgsmessagebar.sip
@@ -12,8 +12,9 @@ class QgsMessageBar: QFrame
* and putting it in a stack
* @param widget widget to add
* @param level is 0 for information, 1 for warning, 2 for critical
* @param duration timeout duration of message in seconds, 0 value indicates no timeout
*/
void pushWidget( QWidget *widget /Transfer/, int level = 0 );
void pushWidget( QWidget *widget /Transfer/, int level = 0, int duration = 0 );

/*! remove the passed widget from the bar (if previously added),
* then display the next one in the stack if any or hide the bar

0 comments on commit 37f7d57

Please sign in to comment.