Redact tool - basic functionality, create redaction annotations

This commit is contained in:
Jakub Melka
2020-12-26 17:59:06 +01:00
parent 8760a5ff17
commit 890b5e0e1c
19 changed files with 1815 additions and 342 deletions

View File

@ -340,6 +340,9 @@ public:
/// \param drawSelectionRectangle Draw selection rectangle?
void setDrawSelectionRectangle(bool drawSelectionRectangle);
QColor getSelectionRectangleColor() const;
void setSelectionRectangleColor(QColor selectionRectangleColor);
signals:
void pointPicked(PDFInteger pageIndex, QPointF pagePoint);
void rectanglePicked(PDFInteger pageIndex, QRectF pageRectangle);
@ -357,6 +360,7 @@ private:
PDFInteger m_pageIndex;
std::vector<QPointF> m_pickedPoints;
bool m_drawSelectionRectangle;
QColor m_selectionRectangleColor;
};
/// Tool that makes screenshot of page area and copies it to the clipboard,