QGIS API Documentation 3.38.0-Grenoble (exported)
Loading...
Searching...
No Matches
qgsprocessinghistorywidget.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsprocessinghistorywidget.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 QGSPROCESSINGHISTORYWIDGET_H
17#define QGSPROCESSINGHISTORYWIDGET_H
18
19#include "qgis.h"
20#include "qgis_gui.h"
21#include "qgspanelwidget.h"
22
23#include <QDialog>
24
26class QDialogButtonBox;
27
34{
35 Q_OBJECT
36 public:
37
41 QgsProcessingHistoryWidget( QWidget *parent SIP_TRANSFERTHIS = nullptr );
42
43 public slots:
44
48 void clearHistory();
49
53 void openHelp();
54
58 void saveLog();
59
60 private:
61
62 QgsHistoryWidget *mHistoryWidget = nullptr;
63
64};
65
74class GUI_EXPORT QgsProcessingHistoryDialog : public QDialog
75{
76 Q_OBJECT
77 public:
78
82 QgsProcessingHistoryDialog( QWidget *parent SIP_TRANSFERTHIS = nullptr );
83
84 private:
85
86 QgsProcessingHistoryWidget *mWidget = nullptr;
87 QDialogButtonBox *mButtonBox = nullptr;
88};
89
90#endif // QGSPROCESSINGHISTORYWIDGET_H
A widget showing entries from a QgsHistoryProviderRegistry.
Base class for any widget that can be shown as a inline panel.
A dialog for showing Processing algorithm execution history.
A widget for showing Processing algorithm execution history.
#define SIP_TRANSFERTHIS
Definition qgis_sip.h:53