Mouse grabbing

This commit is contained in:
Jakub Melka
2020-04-30 19:33:50 +02:00
parent c9d2c3dd8b
commit bfb26c4807
4 changed files with 273 additions and 9 deletions

View File

@@ -1312,7 +1312,6 @@ public:
PDFFormManager* getFormManager() const;
void setFormManager(PDFFormManager* formManager);
protected:
struct PageAnnotation
{
PDFAppeareanceStreams::Appearance appearance = PDFAppeareanceStreams::Appearance::Normal;
@@ -1374,6 +1373,7 @@ protected:
/// Returns true, if any page in the given indices has annotation
bool hasAnyPageAnnotation(const std::vector<PDFInteger>& pageIndices) const;
protected:
void drawWidgetAnnotationHighlight(QRectF annotationRectangle,
const PDFAnnotation* annotation,
QPainter* painter,