QGIS API Documentation
3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
src
gui
processing
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
25
class
QgsHistoryWidget
;
26
class
QDialogButtonBox;
27
33
class
GUI_EXPORT
QgsProcessingHistoryWidget
:
public
QgsPanelWidget
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
71
class
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
QgsHistoryWidget
A widget showing entries from a QgsHistoryProviderRegistry.
Definition
qgshistorywidget.h:56
QgsPanelWidget::QgsPanelWidget
QgsPanelWidget(QWidget *parent=nullptr)
Base class for any widget that can be shown as an inline panel.
Definition
qgspanelwidget.cpp:27
QgsProcessingHistoryDialog::QgsProcessingHistoryDialog
QgsProcessingHistoryDialog(QWidget *parent=nullptr)
Constructor for QgsProcessingHistoryDialog.
Definition
qgsprocessinghistorywidget.cpp:88
QgsProcessingHistoryWidget
A widget for showing Processing algorithm execution history.
Definition
qgsprocessinghistorywidget.h:34
QgsProcessingHistoryWidget::saveLog
void saveLog()
Interactively allows users to save the history log.
Definition
qgsprocessinghistorywidget.cpp:57
QgsProcessingHistoryWidget::QgsProcessingHistoryWidget
QgsProcessingHistoryWidget(QWidget *parent=nullptr)
Constructor for QgsProcessingHistoryWidget, with the specified parent widget.
Definition
qgsprocessinghistorywidget.cpp:34
QgsProcessingHistoryWidget::clearHistory
void clearHistory()
Clears the Processing history (after user confirmation).
Definition
qgsprocessinghistorywidget.cpp:44
QgsProcessingHistoryWidget::openHelp
void openHelp()
Opens helps for the widget.
Definition
qgsprocessinghistorywidget.cpp:52
qgis.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:53
qgspanelwidget.h
Generated on
for QGIS API Documentation by
1.15.0