QGIS API Documentation
2.8.2-Wien
|
#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 () | |
int | duration () const |
returns the duration in second of the message | |
QString | getStyleSheet () |
returns the styleSheet | |
QgsMessageBar::MessageLevel | level () |
returns the level | |
QgsMessageBarItem * | setDuration (int duration) |
QgsMessageBarItem * | setIcon (const QIcon &icon) |
QgsMessageBarItem * | setLevel (QgsMessageBar::MessageLevel level) |
QgsMessageBarItem * | setText (QString text) |
QgsMessageBarItem * | setTitle (QString title) |
QgsMessageBarItem * | setWidget (QWidget *widget) |
Definition at line 29 of file qgsmessagebaritem.h.
QgsMessageBarItem::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
Definition at line 26 of file qgsmessagebaritem.cpp.
QgsMessageBarItem::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
Definition at line 39 of file qgsmessagebaritem.cpp.
QgsMessageBarItem::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
Definition at line 52 of file qgsmessagebaritem.cpp.
QgsMessageBarItem::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
Definition at line 65 of file qgsmessagebaritem.cpp.
QgsMessageBarItem::~QgsMessageBarItem | ( | ) |
Definition at line 78 of file qgsmessagebaritem.cpp.
|
inline |
returns the duration in second of the message
Definition at line 60 of file qgsmessagebaritem.h.
|
inline |
returns the styleSheet
Definition at line 66 of file qgsmessagebaritem.h.
|
inline |
returns the level
Definition at line 63 of file qgsmessagebaritem.h.
QgsMessageBarItem * QgsMessageBarItem::setDuration | ( | int | duration | ) |
Definition at line 241 of file qgsmessagebaritem.cpp.
QgsMessageBarItem * QgsMessageBarItem::setIcon | ( | const QIcon & | icon | ) |
Definition at line 234 of file qgsmessagebaritem.cpp.
QgsMessageBarItem * QgsMessageBarItem::setLevel | ( | QgsMessageBar::MessageLevel | level | ) |
Definition at line 210 of file qgsmessagebaritem.cpp.
QgsMessageBarItem * QgsMessageBarItem::setText | ( | QString | text | ) |
Definition at line 196 of file qgsmessagebaritem.cpp.
QgsMessageBarItem * QgsMessageBarItem::setTitle | ( | QString | title | ) |
Definition at line 203 of file qgsmessagebaritem.cpp.
QgsMessageBarItem * QgsMessageBarItem::setWidget | ( | QWidget * | widget | ) |
Definition at line 218 of file qgsmessagebaritem.cpp.
|
signal |
emitted when the message level has changed