mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Create annotations tool - line, polyline, polygon, ellipse
This commit is contained in:
@ -335,6 +335,11 @@ public:
|
||||
|
||||
void resetTool();
|
||||
|
||||
/// Turns on/off drawing of selection rectangle, if rectangle picking
|
||||
/// mode is active.
|
||||
/// \param drawSelectionRectangle Draw selection rectangle?
|
||||
void setDrawSelectionRectangle(bool drawSelectionRectangle);
|
||||
|
||||
signals:
|
||||
void pointPicked(PDFInteger pageIndex, QPointF pagePoint);
|
||||
void rectanglePicked(PDFInteger pageIndex, QRectF pageRectangle);
|
||||
@ -351,6 +356,7 @@ private:
|
||||
QPoint m_mousePosition;
|
||||
PDFInteger m_pageIndex;
|
||||
std::vector<QPointF> m_pickedPoints;
|
||||
bool m_drawSelectionRectangle;
|
||||
};
|
||||
|
||||
/// Tool that makes screenshot of page area and copies it to the clipboard,
|
||||
|
Reference in New Issue
Block a user