mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
3D PDF: Open media viewer on double click
This commit is contained in:
@@ -601,6 +601,10 @@ public:
|
||||
/// \param type Annotation type
|
||||
static bool isTypeEditable(AnnotationType type);
|
||||
|
||||
/// Returns true, if annotation is multimedia
|
||||
/// \param type Annotation type
|
||||
static bool isTypeMultimedia(AnnotationType type);
|
||||
|
||||
protected:
|
||||
virtual QColor getStrokeColor() const;
|
||||
virtual QColor getFillColor() const;
|
||||
@@ -1655,8 +1659,9 @@ public:
|
||||
virtual int getInputPriority() const override { return AnnotationPriority; }
|
||||
|
||||
signals:
|
||||
void actionTriggered(const PDFAction* action);
|
||||
void documentModified(PDFModifiedDocument document);
|
||||
void actionTriggered(const pdf::PDFAction* action);
|
||||
void multimediaTriggered(const pdf::PDFAnnotation* annotation);
|
||||
void documentModified(pdf::PDFModifiedDocument document);
|
||||
|
||||
private:
|
||||
void updateFromMouseEvent(QMouseEvent* event);
|
||||
|
Reference in New Issue
Block a user