QGIS API Documentation 3.41.0-Master (d5b93354e9c)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsHistoryWidgetContext Class Reference

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
 
QgsMessageBarmessageBar () const
 Returns the message bar associated with the widget.
 
void setMessageBar (QgsMessageBar *bar)
 Sets the message bar associated with the widget.
 

Detailed Description

Contains settings which reflect the context in which a history widget is shown, e.g., an associated message bar.

Since
QGIS 3.32

Definition at line 31 of file qgshistorywidgetcontext.h.

Constructor & Destructor Documentation

◆ QgsHistoryWidgetContext()

QgsHistoryWidgetContext::QgsHistoryWidgetContext ( )
default

Member Function Documentation

◆ messageBar()

QgsMessageBar * QgsHistoryWidgetContext::messageBar ( ) const

Returns the message bar associated with the widget.

See also
setMessageBar()

Definition at line 23 of file qgshistorywidgetcontext.cpp.

◆ setMessageBar()

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.

See also
messageBar()

Definition at line 18 of file qgshistorywidgetcontext.cpp.


The documentation for this class was generated from the following files: