Skip to content

Class AbstractActionTool#

ClassList > AbstractActionTool

Inherits the following classes: CaptureTool

Inherited by the following classes: AcceptTool, AppLauncher, CopyTool, ExitTool, ImgUploaderTool, MoveTool, PinTool, RedoTool, SaveTool, SizeDecreaseTool, SizeIncreaseTool, UndoTool

Public Functions#

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

Public Functions Documentation#

function AbstractActionTool#

explicit AbstractActionTool::AbstractActionTool (
    QObject * parent=nullptr

function boundingRect#

QRect AbstractActionTool::boundingRect () override const

function isSelectable#

bool AbstractActionTool::isSelectable () override const

function isValid#

bool AbstractActionTool::isValid () override const

function paintMousePreview#

void AbstractActionTool::paintMousePreview (
    QPainter & painter,
    const CaptureContext & context
) override

function process#

void AbstractActionTool::process (
    QPainter & painter,
    const QPixmap & pixmap
) override

function showMousePreview#

bool AbstractActionTool::showMousePreview () override const