QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
|
Encapsulates the context in which a QgsDataItem is shown within the application GUI. More...
#include <qgsdataitemguiprovider.h>
Public Member Functions | |
QgsDataItemGuiContext ()=default | |
Constructor for QgsDataItemGuiContext. | |
QgsMessageBar * | messageBar () const |
Returns the associated message bar. | |
void | setMessageBar (QgsMessageBar *bar) |
Sets the associated message bar. | |
void | setView (QgsBrowserTreeView *view) |
Sets the associated view. | |
QgsBrowserTreeView * | view () const |
Returns the associated view. | |
Encapsulates the context in which a QgsDataItem is shown within the application GUI.
Definition at line 41 of file qgsdataitemguiprovider.h.
|
default |
Constructor for QgsDataItemGuiContext.
QgsMessageBar * QgsDataItemGuiContext::messageBar | ( | ) | const |
Returns the associated message bar.
This bar can be used to provide non-blocking feedback to users.
Definition at line 27 of file qgsdataitemguiprovider.cpp.
void QgsDataItemGuiContext::setMessageBar | ( | QgsMessageBar * | bar | ) |
Sets the associated message bar.
This bar can be used to provide non-blocking feedback to users.
Definition at line 32 of file qgsdataitemguiprovider.cpp.
void QgsDataItemGuiContext::setView | ( | QgsBrowserTreeView * | view | ) |
Sets the associated view.
Definition at line 42 of file qgsdataitemguiprovider.cpp.
QgsBrowserTreeView * QgsDataItemGuiContext::view | ( | ) | const |
Returns the associated view.
Definition at line 37 of file qgsdataitemguiprovider.cpp.