Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update QgsMessageBar sip file to include timeout messages
  • Loading branch information
dakcarto committed Jan 10, 2013
1 parent 5be6dc6 commit 37f7d57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/gui/qgsmessagebar.sip
Expand Up @@ -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
Expand Down

0 comments on commit 37f7d57

Please sign in to comment.