QGIS API Documentation
3.99.0-Master (8e76e220402)
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 "
qgsmessagebar.h
"
22
#include "
qgspanelwidget.h
"
23
24
#include <QDialog>
25
26
class
QgsHistoryWidget
;
27
class
QDialogButtonBox;
28
34
class
GUI_EXPORT
QgsProcessingHistoryWidget
:
public
QgsPanelWidget
35
{
36
Q_OBJECT
37
public
:
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
QgsHistoryWidget
*mHistoryWidget =
nullptr
;
62
};
63
72
class
GUI_EXPORT
QgsProcessingHistoryDialog
:
public
QDialog
73
{
74
Q_OBJECT
75
public
:
79
QgsProcessingHistoryDialog
( QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
);
80
81
private
:
82
QgsProcessingHistoryWidget
*mWidget =
nullptr
;
83
QDialogButtonBox *mButtonBox =
nullptr
;
84
QgsMessageBar
*mMessageBar =
nullptr
;
85
};
86
87
#endif
// QGSPROCESSINGHISTORYWIDGET_H
QgsHistoryWidget
A widget showing entries from a QgsHistoryProviderRegistry.
Definition
qgshistorywidget.h:56
QgsMessageBar
A bar for displaying non-blocking messages to the user.
Definition
qgsmessagebar.h:61
QgsPanelWidget::QgsPanelWidget
QgsPanelWidget(QWidget *parent=nullptr)
Base class for any widget that can be shown as an inline panel.
Definition
qgspanelwidget.cpp:30
QgsProcessingHistoryDialog::QgsProcessingHistoryDialog
QgsProcessingHistoryDialog(QWidget *parent=nullptr)
Constructor for QgsProcessingHistoryDialog.
Definition
qgsprocessinghistorywidget.cpp:92
QgsProcessingHistoryWidget
A widget for showing Processing algorithm execution history.
Definition
qgsprocessinghistorywidget.h:35
QgsProcessingHistoryWidget::saveLog
void saveLog()
Interactively allows users to save the history log.
Definition
qgsprocessinghistorywidget.cpp:61
QgsProcessingHistoryWidget::QgsProcessingHistoryWidget
QgsProcessingHistoryWidget(QWidget *parent=nullptr)
Constructor for QgsProcessingHistoryWidget, with the specified parent widget.
Definition
qgsprocessinghistorywidget.cpp:38
QgsProcessingHistoryWidget::clearHistory
void clearHistory()
Clears the Processing history (after user confirmation).
Definition
qgsprocessinghistorywidget.cpp:48
QgsProcessingHistoryWidget::openHelp
void openHelp()
Opens helps for the widget.
Definition
qgsprocessinghistorywidget.cpp:56
qgis.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:53
qgsmessagebar.h
qgspanelwidget.h
Generated on
for QGIS API Documentation by
1.15.0