mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Encryption settings dialog, authorization as owner
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#define PDFENCRYPTIONSETTINGSDIALOG_H
|
||||
|
||||
#include "pdfviewerglobal.h"
|
||||
#include "pdfsecurityhandler.h"
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
@@ -27,6 +28,8 @@ namespace Ui
|
||||
class PDFEncryptionSettingsDialog;
|
||||
}
|
||||
|
||||
class QCheckBox;
|
||||
|
||||
namespace pdfviewer
|
||||
{
|
||||
|
||||
@@ -40,6 +43,12 @@ public:
|
||||
|
||||
private:
|
||||
Ui::PDFEncryptionSettingsDialog* ui;
|
||||
|
||||
void updateUi();
|
||||
void updatePasswordScore();
|
||||
|
||||
bool m_isUpdatingUi;
|
||||
std::map<QCheckBox*, pdf::PDFSecurityHandler::Permission> m_checkBoxToPermission;
|
||||
};
|
||||
|
||||
} // namespace pdfviewer
|
||||
|
Reference in New Issue
Block a user