Changeset View
Changeset View
Standalone View
Standalone View
ui/signaturepropertiesdialog.h
- This file was added.
1 | /*************************************************************************** | ||||
---|---|---|---|---|---|
2 | * Copyright (C) 2018 by Chinmoy Ranjan Pradhan <chinmoyrp65@gmail.com> * | ||||
3 | * * | ||||
4 | * This program is free software; you can redistribute it and/or modify * | ||||
5 | * it under the terms of the GNU General Public License as published by * | ||||
6 | * the Free Software Foundation; either version 2 of the License, or * | ||||
7 | * (at your option) any later version. * | ||||
8 | ***************************************************************************/ | ||||
9 | | ||||
10 | #ifndef OKULAR_SIGNATUREPROPERTIESDIALOG_H | ||||
11 | #define OKULAR_SIGNATUREPROPERTIESDIALOG_H | ||||
12 | | ||||
13 | #include <QDialog> | ||||
14 | | ||||
15 | namespace Okular { | ||||
16 | class Document; | ||||
17 | class FormFieldSignature; | ||||
18 | class SignatureInfo; | ||||
19 | } | ||||
20 | | ||||
21 | class SignaturePropertiesDialog : public QDialog | ||||
22 | { | ||||
23 | Q_OBJECT | ||||
24 | | ||||
25 | public: | ||||
26 | SignaturePropertiesDialog( Okular::Document *doc, Okular::FormFieldSignature *form, QWidget *parent = nullptr ); | ||||
27 | | ||||
28 | public Q_SLOTS: | ||||
29 | void viewSignedVersion(); | ||||
30 | void viewCertificateProperties(); | ||||
31 | | ||||
32 | private: | ||||
33 | Okular::Document *m_doc; | ||||
34 | Okular::FormFieldSignature *m_signatureForm; | ||||
35 | Okular::SignatureInfo *m_signatureInfo; | ||||
36 | }; | ||||
37 | | ||||
38 | #endif |