File indexing completed on 2024-04-28 15:51:59

0001 /*
0002     SPDX-FileCopyrightText: 2018 Chinmoy Ranjan Pradhan <chinmoyrp65@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef OKULAR_SIGNATUREPROPERTIESDIALOG_H
0008 #define OKULAR_SIGNATUREPROPERTIESDIALOG_H
0009 
0010 #include <QDialog>
0011 
0012 namespace Okular
0013 {
0014 class Document;
0015 class FormFieldSignature;
0016 }
0017 
0018 class SignaturePropertiesDialog : public QDialog
0019 {
0020     Q_OBJECT
0021 
0022 public:
0023     SignaturePropertiesDialog(Okular::Document *doc, const Okular::FormFieldSignature *form, QWidget *parent = nullptr);
0024 
0025 public Q_SLOTS:
0026     void viewSignedVersion();
0027     void viewCertificateProperties();
0028 
0029 private:
0030     Okular::Document *m_doc;
0031     const Okular::FormFieldSignature *m_signatureForm;
0032     QString m_kleopatraPath;
0033 };
0034 
0035 #endif