QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
Encapsulates the context in which a QgsDataItem is shown within the application GUI. More...
#include <qgsdataitemguiprovider.h>
Public Member Functions | |
QgsDataItemGuiContext ()=default | |
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 |
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.