QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
qgshistorywidgetcontext.h
Go to the documentation of this file.
1/***************************************************************************
2 qgshistorywidgetcontext.h
3 ------------------
4 Date : April 2023
5 Copyright : (C) 2023 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#ifndef QGSHISTORYWIDGETCONTEXT_H
17#define QGSHISTORYWIDGETCONTEXT_H
18
19#include "qgis.h"
20#include "qgis_gui.h"
21
22class QgsMessageBar;
23
32{
33 public:
35
41 void setMessageBar( QgsMessageBar *bar );
42
47 QgsMessageBar *messageBar() const;
48
49 private:
50 QgsMessageBar *mMessageBar = nullptr;
51};
52
53#endif // QGSHISTORYWIDGETCONTEXT_H
Contains settings which reflect the context in which a history widget is shown, e....
QgsHistoryWidgetContext()=default
A bar for displaying non-blocking messages to the user.