QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
|
Contains settings which reflect the context in which a history widget is shown, e.g., an associated message bar. More...
#include <qgshistorywidgetcontext.h>
Public Member Functions | |
QgsHistoryWidgetContext ()=default | |
Constructor for QgsHistoryWidgetContext. | |
QgsMessageBar * | messageBar () const |
Returns the message bar associated with the widget. | |
void | setMessageBar (QgsMessageBar *bar) |
Sets the message bar associated with the widget. | |
Contains settings which reflect the context in which a history widget is shown, e.g., an associated message bar.
Definition at line 31 of file qgshistorywidgetcontext.h.
|
default |
Constructor for QgsHistoryWidgetContext.
QgsMessageBar * QgsHistoryWidgetContext::messageBar | ( | ) | const |
Returns the message bar associated with the widget.
Definition at line 23 of file qgshistorywidgetcontext.cpp.
void QgsHistoryWidgetContext::setMessageBar | ( | QgsMessageBar * | bar | ) |
Sets the message bar associated with the widget.
This allows the widget to push feedback messages to the appropriate message bar.
Definition at line 18 of file qgshistorywidgetcontext.cpp.