Class FeatureHistory
Inherits the following classes: QObject
Classes
| Type | Name |
|---|---|
| struct | FeatureModifications |
Public Properties
| Type | Name |
|---|---|
| property bool | isRedoAvailable |
| property bool | isUndoAvailable |
Public Signals
| Type | Name |
|---|---|
| signal void | isRedoAvailableChanged |
| signal void | isUndoAvailableChanged |
Public Functions
| Type | Name |
|---|---|
| FeatureHistory (const QgsProject * project, TrackingModel * trackingModel=nullptr) |
|
| bool | isRedoAvailable () |
| bool | isUndoAvailable () |
| Q_INVOKABLE bool | redo () Perform redo of the most recent modification step. |
| Q_INVOKABLE const QString | redoMessage () Get the redo message to be show in the UI. NOTE should be called before calling redo . |
| Q_INVOKABLE bool | undo () Perform undo of the most recent modification step. |
| Q_INVOKABLE const QString | undoMessage () Get the undo message to be show in the UI. NOTE should be called before calling undo . |
Public Properties Documentation
property isRedoAvailable [1/2]
bool FeatureHistory::isRedoAvailable;
property isUndoAvailable [1/2]
bool FeatureHistory::isUndoAvailable;
Public Signals Documentation
signal isRedoAvailableChanged
void FeatureHistory::isRedoAvailableChanged;
signal isUndoAvailableChanged
void FeatureHistory::isUndoAvailableChanged;
Public Functions Documentation
function FeatureHistory
explicit FeatureHistory::FeatureHistory (
const QgsProject * project,
TrackingModel * trackingModel=nullptr
)
Construct a new Feature history object
Parameters:
projectthe current project instancetrackingModelthe tracking model
function isRedoAvailable [2/2]
bool FeatureHistory::isRedoAvailable ()
function isUndoAvailable [2/2]
bool FeatureHistory::isUndoAvailable ()
function redo
Perform redo of the most recent modification step.
Q_INVOKABLE bool FeatureHistory::redo ()
function redoMessage
Get the redo message to be show in the UI. NOTE should be called before calling redo .
Q_INVOKABLE const QString FeatureHistory::redoMessage ()
function undo
Perform undo of the most recent modification step.
Q_INVOKABLE bool FeatureHistory::undo ()
function undoMessage
Get the undo message to be show in the UI. NOTE should be called before calling undo .
Q_INVOKABLE const QString FeatureHistory::undoMessage ()
The documentation for this class was generated from the following file src/core/featurehistory.h