Skip to content

Class UndoTool#

ClassList > UndoTool

Inherits the following classes: AbstractActionTool

Public Functions#

Type Name
UndoTool (QObject * parent=nullptr)
bool closeOnButtonPressed () override const
CaptureTool * copy (QObject * parent=nullptr) override
QString description () override const
QIcon icon (const QColor & background, bool inEditor) override const
QString name () override const

Public Functions inherited from AbstractActionTool#

See AbstractActionTool

Type Name
AbstractActionTool (QObject * parent=nullptr)
QRect boundingRect () override const
bool isSelectable () override const
bool isValid () override const
void paintMousePreview (QPainter & painter, const CaptureContext & context) override
void process (QPainter & painter, const QPixmap & pixmap) override
bool showMousePreview () override const

Protected Functions#

Type Name
CaptureTool::Type type () override const

Public Functions Documentation#

function UndoTool#

explicit UndoTool::UndoTool (
    QObject * parent=nullptr

function closeOnButtonPressed#

bool UndoTool::closeOnButtonPressed () override const

function copy#

CaptureTool * UndoTool::copy (
    QObject * parent=nullptr
) override

function description#

QString UndoTool::description () override const

function icon#

QIcon UndoTool::icon (
    const QColor & background,
    bool inEditor
) override const

function name#

QString UndoTool::name () override const

Protected Functions Documentation#

function type#

CaptureTool::Type UndoTool::type () override const