Skip to content

Class TextTool#

ClassList > TextTool

Inherits the following classes: CaptureTool

Public Functions#

Type Name
TextTool (QObject * parent=nullptr)
QRect boundingRect () override const
bool closeOnButtonPressed () override const
QWidget * configurationWidget () override
CaptureTool * copy (QObject * parent=nullptr) override
QString description () override const
void drawObjectSelection (QPainter & painter) override
QIcon icon (const QColor & background, bool inEditor) override const
QString info () override
bool isChanged () override
bool isSelectable () override const
bool isValid () override const
void move (const QPoint & pos) override
QString name () override const
void paintMousePreview (QPainter & painter, const CaptureContext & context) override
const QPoint * pos () override
void process (QPainter & painter, const QPixmap & pixmap) override
void setEditMode (bool editMode) override
bool showMousePreview () override const
QWidget * widget () override
~TextTool () override

Protected Functions#

Type Name
void copyParams (const TextTool * from, TextTool * to)
CaptureTool::Type type () override const

Public Functions Documentation#

function TextTool#

explicit TextTool::TextTool (
    QObject * parent=nullptr
) 

function boundingRect#

QRect TextTool::boundingRect () override const

function closeOnButtonPressed#

bool TextTool::closeOnButtonPressed () override const

function configurationWidget#

QWidget * TextTool::configurationWidget () override

function copy#

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

function description#

QString TextTool::description () override const

function drawObjectSelection#

void TextTool::drawObjectSelection (
    QPainter & painter
) override

function icon#

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

function info#

QString TextTool::info () override

function isChanged#

bool TextTool::isChanged () override

function isSelectable#

bool TextTool::isSelectable () override const

function isValid#

bool TextTool::isValid () override const

function move#

void TextTool::move (
    const QPoint & pos
) override

function name#

QString TextTool::name () override const

function paintMousePreview#

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

function pos#

const QPoint * TextTool::pos () override

function process#

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

function setEditMode#

void TextTool::setEditMode (
    bool editMode
) override

function showMousePreview#

bool TextTool::showMousePreview () override const

function widget#

QWidget * TextTool::widget () override

function ~TextTool#

TextTool::~TextTool () override

Protected Functions Documentation#

function copyParams#

void TextTool::copyParams (
    const TextTool * from,
    TextTool * to
) 

function type#

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