quill/encryptionmanager.h

55 lines
1.4 KiB
C
Raw Normal View History

2021-10-08 20:37:32 -07:00
#ifndef ENCRYPTIONMANAGER_H
#define ENCRYPTIONMANAGER_H
#include <QWidget>
#include "generaldialog.h"
#include "toast.h"
#include "hourglassanimationwidget.h"
#include "alert.h"
2021-10-08 20:37:32 -07:00
namespace Ui {
class encryptionManager;
}
class encryptionManager : public QWidget
{
Q_OBJECT
public:
QString className = this->metaObject()->className();
2021-10-08 20:37:32 -07:00
explicit encryptionManager(QWidget *parent = nullptr);
~encryptionManager();
bool setupExitWidgetRan = false;
2021-10-10 09:53:24 -07:00
int setupPassphraseDialogMode;
bool setupMessageBoxRan = false;
int passphraseTries;
2021-10-08 20:37:32 -07:00
private slots:
void on_setupContinueBtn_clicked();
void on_setupAbortBtn_clicked();
void quit_restart();
void refreshScreen();
void showToast(QString messageToDisplay);
void setupEncryptedStorage();
void mkEncfsDirs();
void on_exitSuccessBtn_clicked();
void setupExitWidget(bool exitStatus);
2021-10-10 06:54:59 -07:00
void on_failureContinueBtn_clicked();
2021-10-10 09:53:24 -07:00
void setupPassphraseDialog();
2021-10-10 06:54:59 -07:00
void unlockEncryptedStorage();
void setupFailedAuthenticationMessageBox();
void on_acceptBtn_clicked();
void on_usbmsBtn_clicked();
2021-11-14 18:22:58 -08:00
void repackEncryptedStorage();
2021-10-08 20:37:32 -07:00
private:
Ui::encryptionManager *ui;
generalDialog * generalDialogWindow;
toast * toastWindow;
hourglassAnimationWidget * hourglassAnimationWidgetWindow;
alert * alertWindow;
usbms_splash *usbmsWindow;
2021-10-08 20:37:32 -07:00
};
#endif // ENCRYPTIONMANAGER_H