1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
|
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/processing/qgsprocessingrecentalgorithmlog.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsProcessingRecentAlgorithmLog : QObject
{
%Docstring(signature="appended")
A log for tracking recently used processing algorithms.
:py:class:`QgsProcessingRecentAlgorithmLog` is not usually directly
created, instead use the instance accessible through
:py:func:`QgsGui.processingRecentAlgorithmLog()`.
The log contents are saved and restored via :py:class:`QgsSettings`.
.. note::
Not stable API
.. versionadded:: 3.4
%End
%TypeHeaderCode
#include "qgsprocessingrecentalgorithmlog.h"
%End
public:
QgsProcessingRecentAlgorithmLog( QObject *parent = 0 );
%Docstring
Constructor for QgsProcessingRecentAlgorithmLog, with the specified
``parent`` object.
%End
QStringList recentAlgorithmIds() const;
%Docstring
Returns a list of the IDs of recently used processing algorithms, where
the first item in the list is the most recently used algorithm.
%End
void push( const QString &id );
%Docstring
Pushes the algorithm with matching ``id`` to the top of the recently
used algorithm list.
If this changes the list of recent algorithm IDs then the
:py:func:`~QgsProcessingRecentAlgorithmLog.changed` signal will be
emitted.
%End
signals:
void changed();
%Docstring
Emitted when the list of recently used algorithms is changed, e.g. when
a new algorithm ID is pushed to the list (see
:py:func:`~QgsProcessingRecentAlgorithmLog.push`).
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/processing/qgsprocessingrecentalgorithmlog.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
|