QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
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
17#include "qgsattributedialog.h"
18#include "qgsmessagebar.h"
19
20
22
24{
25 return mAttributeDialog;
26}
27
29{
30 mAttributeDialog = dialog;
31}
32
34{
35 return mMessageBar;
36}
37
39{
40 mMessageBar = bar;
41}
QgsAttributeDialog * attributeDialog() const
Returns the attribute dialog associated with the action's execution.
void setAttributeDialog(QgsAttributeDialog *dialog)
Sets the attribute dialog associated with the action's execution.
QgsMessageBar * messageBar() const
Returns the message bar associated with the action's execution.
void setMessageBar(QgsMessageBar *bar)
Sets the message bar associated with the action's execution.
A bar for displaying non-blocking messages to the user.