Changeset View
Changeset View
Standalone View
Standalone View
ui/signaturepanel.h
Show All 29 Lines | |||||
30 | { | 30 | { | ||
31 | Q_OBJECT | 31 | Q_OBJECT | ||
32 | public: | 32 | public: | ||
33 | SignaturePanel( QWidget *parent, Okular::Document *document ); | 33 | SignaturePanel( QWidget *parent, Okular::Document *document ); | ||
34 | ~SignaturePanel(); | 34 | ~SignaturePanel(); | ||
35 | 35 | | |||
36 | // inherited from DocumentObserver | 36 | // inherited from DocumentObserver | ||
37 | void notifySetup( const QVector<Okular::Page *> &pages, int setupFlags ) override; | 37 | void notifySetup( const QVector<Okular::Page *> &pages, int setupFlags ) override; | ||
38 | // inherited from QWidget | ||||
39 | bool event( QEvent *event ) override; | ||||
38 | 40 | | |||
39 | void setPageView( PageView *pv ); | 41 | void setPageView( PageView *pv ); | ||
40 | 42 | | |||
43 | Q_SIGNALS: | ||||
44 | void signaturePanelVisible( bool visible ); | ||||
45 | | ||||
41 | private Q_SLOTS: | 46 | private Q_SLOTS: | ||
42 | void activated( const QModelIndex& ); | 47 | void activated( const QModelIndex& ); | ||
43 | void slotShowContextMenu(); | 48 | void slotShowContextMenu(); | ||
44 | void slotViewRevision(); | 49 | void slotViewRevision(); | ||
45 | void slotViewProperties(); | 50 | void slotViewProperties(); | ||
46 | 51 | | |||
47 | private: | 52 | private: | ||
48 | Q_DECLARE_PRIVATE( SignaturePanel ) | 53 | Q_DECLARE_PRIVATE( SignaturePanel ) | ||
49 | QScopedPointer<SignaturePanelPrivate> d_ptr; | 54 | QScopedPointer<SignaturePanelPrivate> d_ptr; | ||
50 | }; | 55 | }; | ||
51 | 56 | | |||
52 | #endif | 57 | #endif |