Issue #247: option to hide cross when adding annotations

This commit is contained in:
Jakub Melka
2025-03-26 20:26:02 +01:00
parent 55f0c8754a
commit bae1e519a8
3 changed files with 37 additions and 5 deletions

View File

@@ -368,6 +368,7 @@ public:
virtual void mousePressEvent(QWidget* widget, QMouseEvent* event) override;
virtual void mouseReleaseEvent(QWidget* widget, QMouseEvent* event) override;
virtual void mouseMoveEvent(QWidget* widget, QMouseEvent* event) override;
virtual void keyPressEvent(QWidget* widget, QKeyEvent* event) override;
QPointF getSnappedPoint() const;
PDFInteger getPageIndex() const { return m_pageIndex; }
@@ -408,6 +409,7 @@ private:
std::vector<QPointF> m_pickedPoints;
bool m_drawSelectionRectangle;
QColor m_selectionRectangleColor;
bool m_hideLargeCross;
};
/// Tool for selection of table in document. Rows and columns