QGIS API Documentation 3.41.0-Master (cea29feecf2)
|
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 | |
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 |
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.