QGIS API Documentation
4.3.0-Master (0ad0cdb9438)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
gui
actions
qgsmaplayeractioncontext.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgsmaplayeractioncontext.cpp
3
-----------------------------
4
begin : January 2014
5
copyright : (C) 2014 by Nyall Dawson
6
email : nyall dot dawson at gmail dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#include "
qgsmaplayeractioncontext.h
"
17
18
#include "
qgsattributedialog.h
"
19
#include "
qgsmessagebar.h
"
20
21
QgsMapLayerActionContext::QgsMapLayerActionContext
() =
default
;
22
23
QgsAttributeDialog
*
QgsMapLayerActionContext::attributeDialog
()
const
24
{
25
return
mAttributeDialog;
26
}
27
28
void
QgsMapLayerActionContext::setAttributeDialog
(
QgsAttributeDialog
*dialog )
29
{
30
mAttributeDialog = dialog;
31
}
32
33
QgsMessageBar
*
QgsMapLayerActionContext::messageBar
()
const
34
{
35
return
mMessageBar;
36
}
37
38
void
QgsMapLayerActionContext::setMessageBar
(
QgsMessageBar
*bar )
39
{
40
mMessageBar = bar;
41
}
QgsAttributeDialog
An attribute table dialog for a vector layer.
Definition
qgsattributedialog.h:40
QgsMapLayerActionContext::attributeDialog
QgsAttributeDialog * attributeDialog() const
Returns the attribute dialog associated with the action's execution.
Definition
qgsmaplayeractioncontext.cpp:23
QgsMapLayerActionContext::QgsMapLayerActionContext
QgsMapLayerActionContext()
QgsMapLayerActionContext::setAttributeDialog
void setAttributeDialog(QgsAttributeDialog *dialog)
Sets the attribute dialog associated with the action's execution.
Definition
qgsmaplayeractioncontext.cpp:28
QgsMapLayerActionContext::messageBar
QgsMessageBar * messageBar() const
Returns the message bar associated with the action's execution.
Definition
qgsmaplayeractioncontext.cpp:33
QgsMapLayerActionContext::setMessageBar
void setMessageBar(QgsMessageBar *bar)
Sets the message bar associated with the action's execution.
Definition
qgsmaplayeractioncontext.cpp:38
QgsMessageBar
A bar for displaying non-blocking messages to the user.
Definition
qgsmessagebar.h:61
qgsattributedialog.h
qgsmaplayeractioncontext.h
qgsmessagebar.h
Generated on
for QGIS API Documentation by
1.17.0