#include <qgsmessagebaritem.h>
Signals |
void | styleChanged (QString styleSheet) |
| emitted when the message level has changed
|
Public Member Functions |
| QgsMessageBarItem (const QString &text, QgsMessageBar::MessageLevel level=QgsMessageBar::INFO, int duration=0, QWidget *parent=0) |
| make out a widget containing a message to be displayed on the bar
|
| QgsMessageBarItem (const QString &title, const QString &text, QgsMessageBar::MessageLevel level=QgsMessageBar::INFO, int duration=0, QWidget *parent=0) |
| make out a widget containing title and message to be displayed on the bar
|
| QgsMessageBarItem (const QString &title, const QString &text, QWidget *widget, QgsMessageBar::MessageLevel level=QgsMessageBar::INFO, int duration=0, QWidget *parent=0) |
| make out a widget containing title, message and widget to be displayed on the bar
|
| QgsMessageBarItem (QWidget *widget, QgsMessageBar::MessageLevel level=QgsMessageBar::INFO, int duration=0, QWidget *parent=0) |
| make out a widget containing a widget to be displayed on the bar
|
| ~QgsMessageBarItem () |
QgsMessageBarItem * | setText (QString text) |
QgsMessageBarItem * | setTitle (QString title) |
QgsMessageBarItem * | setLevel (QgsMessageBar::MessageLevel level) |
QgsMessageBarItem * | setWidget (QWidget *widget) |
QgsMessageBarItem * | setIcon (const QIcon &icon) |
QgsMessageBarItem * | setDuration (int duration) |
int | duration () const |
| returns the duration in second of the message
|
QgsMessageBar::MessageLevel | level () |
| returns the level
|
QString | getStyleSheet () |
| returns the styleSheet
|
Constructor & Destructor Documentation
make out a widget containing a message to be displayed on the bar
make out a widget containing title and message to be displayed on the bar
make out a widget containing title, message and widget to be displayed on the bar
make out a widget containing a widget to be displayed on the bar
QgsMessageBarItem::~QgsMessageBarItem |
( |
| ) |
|
Member Function Documentation
int QgsMessageBarItem::duration |
( |
| ) |
const |
|
inline |
returns the duration in second of the message
QString QgsMessageBarItem::getStyleSheet |
( |
| ) |
|
|
inline |
void QgsMessageBarItem::styleChanged |
( |
QString |
styleSheet | ) |
|
|
signal |
emitted when the message level has changed
The documentation for this class was generated from the following files: