Class CircleCountTool#
Inherits the following classes: AbstractTwoPointTool
Public Functions#
Type | Name |
---|---|
CircleCountTool (QObject * parent=nullptr) |
|
QRect | boundingRect () override const |
CaptureTool * | copy (QObject * parent=nullptr) override |
QString | description () override const |
QIcon | icon (const QColor & background, bool inEditor) override const |
QString | info () override |
bool | isValid () override const |
QRect | mousePreviewRect (const CaptureContext & context) override const |
QString | name () override const |
void | paintMousePreview (QPainter & painter, const CaptureContext & context) override |
void | process (QPainter & painter, const QPixmap & pixmap) override |
Public Functions inherited from AbstractTwoPointTool#
Type | Name |
---|---|
AbstractTwoPointTool (QObject * parent=nullptr) |
|
QRect | boundingRect () override const |
bool | closeOnButtonPressed () override const |
const QColor & | color () |
bool | isSelectable () override const |
bool | isValid () override const |
QRect | mousePreviewRect (const CaptureContext & context) override const |
void | move (const QPoint & pos) override |
void | paintMousePreview (QPainter & painter, const CaptureContext & context) override |
const QPair< QPoint, QPoint > | points () const |
const QPoint * | pos () override |
bool | showMousePreview () override const |
int | size () override const |
Protected Attributes inherited from AbstractTwoPointTool#
Type | Name |
---|---|
bool | m_supportsDiagonalAdj = = false |
bool | m_supportsOrthogonalAdj = = false |
Protected Functions#
Type | Name |
---|---|
void | copyParams (const CircleCountTool * from, CircleCountTool * to) |
CaptureTool::Type | type () override const |
Protected Functions inherited from AbstractTwoPointTool#
Type | Name |
---|---|
void | copyParams (const AbstractTwoPointTool * from, AbstractTwoPointTool * to) |
void | setPadding (int padding) |
Public Functions Documentation#
function CircleCountTool#
explicit CircleCountTool::CircleCountTool (
QObject * parent=nullptr
)
function boundingRect#
QRect CircleCountTool::boundingRect () override const
function copy#
CaptureTool * CircleCountTool::copy (
QObject * parent=nullptr
) override
function description#
QString CircleCountTool::description () override const
function icon#
QIcon CircleCountTool::icon (
const QColor & background,
bool inEditor
) override const
function info#
QString CircleCountTool::info () override
function isValid#
bool CircleCountTool::isValid () override const
function mousePreviewRect#
QRect CircleCountTool::mousePreviewRect (
const CaptureContext & context
) override const
function name#
QString CircleCountTool::name () override const
function paintMousePreview#
void CircleCountTool::paintMousePreview (
QPainter & painter,
const CaptureContext & context
) override
function process#
void CircleCountTool::process (
QPainter & painter,
const QPixmap & pixmap
) override
Protected Functions Documentation#
function copyParams#
void CircleCountTool::copyParams (
const CircleCountTool * from,
CircleCountTool * to
)
function type#
CaptureTool::Type CircleCountTool::type () override const