17 #ifndef QGSMESSAGEBAR_H
18 #define QGSMESSAGEBAR_H
70 QgsMessageBarItem *pushWidget( QWidget *widget, MessageLevel level = INFO,
int duration = 0 );
80 static QgsMessageBarItem* createMessage(
const QString &text, QWidget *parent = 0 );
82 static QgsMessageBarItem* createMessage(
const QString &title,
const QString &text, QWidget *parent = 0 );
89 void pushMessage(
const QString &title,
const QString &text, MessageLevel level = INFO,
int duration = 0 );
111 void mousePressEvent( QMouseEvent * e );
129 void updateItemCount();
132 void updateCountdown();
133 void resetCountdown();
void pushMessage(const QString &text, MessageLevel level=INFO, int duration=0)
convenience method for pushing a message to the bar
A bar for displaying non-blocking messages to the user.
QAction * mActionCloseAll
QgsMessageBarItem * mCurrentItem
QProgressBar * mCountProgress
QList< QgsMessageBarItem * > mItems