23class QTableWidgetItem;
34 QHash<QString, QHash<QString, QString>>
getProfiles();
36 void genKey(QString, QDialog *);
52 void on_autodetectButton_clicked();
53 void on_radioButtonNative_clicked();
54 void on_radioButtonPass_clicked();
55 void on_toolButtonGit_clicked();
56 void on_toolButtonGpg_clicked();
57 void on_toolButtonPwgen_clicked();
58 void on_toolButtonPass_clicked();
59 void on_toolButtonStore_clicked();
60 void on_comboBoxClipboard_activated(
int);
61 void on_passwordCharTemplateSelector_activated(
int);
62 void on_checkBoxSelection_clicked();
63 void on_checkBoxAutoclear_clicked();
64 void on_checkBoxAutoclearPanel_clicked();
65 void on_addButton_clicked();
66 void on_deleteButton_clicked();
67 void on_checkBoxUseTrayIcon_clicked();
68 void on_checkBoxUseGit_clicked();
69 void on_checkBoxUsePwgen_clicked();
70 void on_checkBoxUseTemplate_clicked();
71 void onProfileTableItemChanged(QTableWidgetItem *item);
74 QScopedPointer<Ui::ConfigDialog> ui;
76 QStringList getSecretKeys();
78 void setGitPath(QString);
79 void setProfiles(QHash<QString, QHash<QString, QString>>, QString);
80 void usePass(
bool usePass);
82 void setGroupBoxState();
83 QString selectExecutable();
84 QString selectFolder();
87 void criticalMessage(
const QString &title,
const QString &text);
89 bool isPassOtpAvailable();
90 bool isQrencodeAvailable();
91 void validate(QTableWidgetItem *item =
nullptr);
The ConfigDialog handles the configuration interface.
void setPasswordConfiguration(const PasswordConfiguration &config)
PasswordConfiguration getPasswordConfiguration()
void useOtp(bool useOtp)
ConfigDialog::useOtp set preference for using otp plugin.
void genKey(QString, QDialog *)
ConfigDialog::genKey tunnel function to make MainWindow generate a gpg key pair.
~ConfigDialog()
ConfigDialog::~ConfigDialog config destructor, makes sure the mainWindow knows about git,...
void useGit(bool useGit)
ConfigDialog::useGit set preference for using git.
void useAutoclearPanel(bool useAutoclearPanel)
ConfigDialog::useAutoclearPanel set the panel autoclear use from MainWindow.
QHash< QString, QHash< QString, QString > > getProfiles()
ConfigDialog::getProfiles return profile list.
void useAutoclear(bool useAutoclear)
ConfigDialog::useAutoclear set the clipboard autoclear use from MainWindow.
void useQrencode(bool useQrencode)
ConfigDialog::useOtp set preference for using otp plugin.
void useTemplate(bool useTemplate)
ConfigDialog::useTemplate set preference for using templates.
void closeEvent(QCloseEvent *event)
ConfigDialog::closeEvent close this window.
void useTrayIcon(bool useSystray)
ConfigDialog::useTrayIcon set preference for using trayicon. Enable or disable related checkboxes acc...
void usePwgen(bool usePwgen)
ConfigDialog::usePwgen set preference for using pwgen (can be overruled buy empty pwgenPath)....
void wizard()
ConfigDialog::wizard first-time use wizard.
void setPwgenPath(QString)
ConfigDialog::setPwgenPath set pwgen executable path. Enable or disable related options in the interf...
void useSelection(bool useSelection)
ConfigDialog::useSelection set the clipboard type use from MainWindow.
The MainWindow class does way too much, not only is it a switchboard, configuration handler and more,...
Holds the Password configuration settings.
Stores key info lines including validity, creation date and more.