QGIS API Documentation 3.43.0-Master (8fc5848dca1)
|
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 | |
QgsHistoryWidget * | historyWidget () const |
Returns the parent history widget. | |
QgsMessageBar * | messageBar () const |
Returns the message bar associated with the widget. | |
void | setHistoryWidget (QgsHistoryWidget *widget) |
Sets the parent history 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 32 of file qgshistorywidgetcontext.h.
|
default |
QgsHistoryWidget * QgsHistoryWidgetContext::historyWidget | ( | ) | const |
Returns the parent history widget.
Definition at line 33 of file qgshistorywidgetcontext.cpp.
QgsMessageBar * QgsHistoryWidgetContext::messageBar | ( | ) | const |
Returns the message bar associated with the widget.
Definition at line 23 of file qgshistorywidgetcontext.cpp.
void QgsHistoryWidgetContext::setHistoryWidget | ( | QgsHistoryWidget * | widget | ) |
Sets the parent history widget.
Definition at line 28 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.