QGIS API Documentation 3.41.0-Master (cea29feecf2)
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:
40 QgsProcessingHistoryWidget( QWidget *parent SIP_TRANSFERTHIS = nullptr );
41
42 public slots:
43
47 void clearHistory();
48
52 void openHelp();
53
57 void saveLog();
58
59 private:
60 QgsHistoryWidget *mHistoryWidget = nullptr;
61};
62
71class GUI_EXPORT QgsProcessingHistoryDialog : public QDialog
72{
73 Q_OBJECT
74 public:
78 QgsProcessingHistoryDialog( QWidget *parent SIP_TRANSFERTHIS = nullptr );
79
80 private:
81 QgsProcessingHistoryWidget *mWidget = nullptr;
82 QDialogButtonBox *mButtonBox = nullptr;
83};
84
85#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