mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Redact tool - basic functionality, create redaction annotations
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user