QgsDataItemGuiContext class

Encapsulates the context in which a QgsDataItem is shown within the application GUI.

Constructors, destructors, conversion operators

QgsDataItemGuiContext() defaulted
Constructor for QgsDataItemGuiContext.

Public functions

auto messageBar() const -> QgsMessageBar*
Returns the associated message bar.
void setMessageBar(QgsMessageBar* bar)
Sets the associated message bar.

Function documentation

QgsMessageBar* QgsDataItemGuiContext::messageBar() const

Returns the associated message bar.

This bar can be used to provide non-blocking feedback to users.

void QgsDataItemGuiContext::setMessageBar(QgsMessageBar* bar)

Sets the associated message bar.

This bar can be used to provide non-blocking feedback to users.