ClassList > AbstractPathTool
Inherits the following classes: CaptureTool
Inherited by the following classes: PencilTool
Public Functions
Protected Attributes
Protected Functions
Public Functions Documentation
explicit AbstractPathTool::AbstractPathTool (
QObject * parent=nullptr
)
function boundingRect
QRect AbstractPathTool::boundingRect () override const
bool AbstractPathTool::closeOnButtonPressed () override const
function isSelectable
bool AbstractPathTool::isSelectable () override const
function isValid
bool AbstractPathTool::isValid () override const
function mousePreviewRect
QRect AbstractPathTool::mousePreviewRect (
const CaptureContext & context
) override const
function move
void AbstractPathTool::move (
const QPoint & mousePos
) override
function pos
const QPoint * AbstractPathTool::pos () override
function showMousePreview
bool AbstractPathTool::showMousePreview () override const
function size
inline int AbstractPathTool::size () override const
Protected Attributes Documentation
variable m_color
QColor AbstractPathTool::m_color;
variable m_padding
int AbstractPathTool::m_padding;
variable m_pathArea
QRect AbstractPathTool::m_pathArea;
variable m_points
QVector<QPoint> AbstractPathTool::m_points;
variable m_pos
QPoint AbstractPathTool::m_pos;
Protected Functions Documentation
function addPoint
void AbstractPathTool::addPoint (
const QPoint & point
)
function copyParams
void AbstractPathTool::copyParams (
const AbstractPathTool * from,
AbstractPathTool * to
)