17 #ifndef QGSMESSAGEBARITEM_H 
   18 #define QGSMESSAGEBARITEM_H 
   24 #include <QHBoxLayout> 
  103     QString text() 
const;
 
  117     QString title() 
const;
 
  146     QWidget *widget() 
const;
 
  208     void urlClicked( 
const QUrl &url );
 
  217     QWidget *mWidget = 
nullptr;
 
  219     QHBoxLayout *mLayout = 
nullptr;
 
  220     QLabel *mLblIcon = 
nullptr;
 
  222     QTextBrowser *mTextBrowser = 
nullptr;
 
MessageLevel
Level for messages This will be used both for message log and message bar in application.
Represents an item shown within a QgsMessageBar widget.
void styleChanged(const QString &styleSheet)
Emitted when the item's message level has changed and the message bar style will need to be updated a...
int duration() const
Returns the duration (in seconds) of the message.
QString getStyleSheet()
Returns the styleSheet which should be used to style a QgsMessageBar object when this item is display...
A bar for displaying non-blocking messages to the user.