1 #ifndef CONFIGDIALOG_H_ 2 #define CONFIGDIALOG_H_ 60 void genKey(QString, QDialog *);
100 void on_radioButtonNative_clicked();
101 void on_radioButtonPass_clicked();
102 void on_toolButtonGit_clicked();
103 void on_toolButtonGpg_clicked();
104 void on_toolButtonPwgen_clicked();
105 void on_toolButtonPass_clicked();
106 void on_toolButtonStore_clicked();
107 void on_comboBoxClipboard_activated(
int);
108 void on_passwordCharTemplateSelector_activated(
int);
109 void on_checkBoxSelection_clicked();
110 void on_checkBoxAutoclear_clicked();
111 void on_checkBoxAutoclearPanel_clicked();
112 void on_addButton_clicked();
113 void on_deleteButton_clicked();
114 void on_checkBoxUseTrayIcon_clicked();
115 void on_checkBoxUseGit_clicked();
116 void on_checkBoxUsePwgen_clicked();
117 void on_checkBoxUseTemplate_clicked();
120 QScopedPointer<Ui::ConfigDialog> ui;
121 void setGroupBoxState();
122 QString selectExecutable();
123 QString selectFolder();
126 void criticalMessage(
const QString &title,
const QString &text);
130 #endif // CONFIGDIALOG_H_ QHash< QString, QString > getProfiles()
ConfigDialog::getProfiles return profile list.
void setPasswordConfiguration(const PasswordConfiguration &config)
~ConfigDialog()
ConfigDialog::~ConfigDialog config destructor, makes sure the mainWindow knows about git...
bool hideOnClose()
ConfigDialog::hideOnClose return preference for hiding instead of closing (quitting) application...
bool useTemplate()
ConfigDialog::useTemplate return preference for using templates.
QString getPwgenPath()
ConfigDialog::getPwgenPath return pwgen executable path.
bool autoPush()
ConfigDialog::autoPush return preference for automatically pushing to git.
bool usePwgen()
ConfigDialog::usePwgen return preference for using pwgen.
Holds the Password configuration settings.
void setPassPath(QString)
ConfigDialog::setPassPath set the pass executable path.
bool useGit()
ConfigDialog::useGit retrun preference for using git.
ConfigDialog(MainWindow *parent)
ConfigDialog::ConfigDialog this sets up the configuration screen.
bool lessRandom()
ConfigDialog::lessRandom return preference for using less random passwords in pwgen.
void setGitPath(QString)
ConfigDialog::setGitPath set the git executable path. Make sure the checkBoxUseGit is updated...
void setAutoclear(int seconds)
ConfigDialog::setAutoclear set the clipboard autoclear timout from MainWindow.
int getAutoclearPanel()
ConfigDialog::getAutoclearPanel return panel autoclear timeout.
bool templateAllFields()
ConfigDialog::templateAllFields return preference for templating all tokenisable fields.
bool autoPull()
ConfigDialog::autoPull return preference for automatically pulling from git.
bool avoidCapitals()
ConfigDialog::avoidCapitals return preference for avoiding uppercase letters using pwgen...
QString getStorePath()
ConfigDialog::getStorePath return path to .password-store.
void setProfiles(QHash< QString, QString >, QString)
ConfigDialog::setProfiles set the profiles and chosen profile from MainWindow.
QString getTemplate()
ConfigDialog::getTemplate return the desired template.
void genKey(QString, QDialog *)
ConfigDialog::genKey tunnel function to make MainWindow generate a gpg key pair.
bool useAutoclear()
ConfigDialog::useAutoclear return the use of clipboard autoclear.
bool useSelection()
ConfigDialog::useSelection return the clipboard type.
Enums::clipBoardType useClipboard()
ConfigDialog::useClipboard set the use of clipboard from MainWindow.
void wizard()
ConfigDialog::wizard first-time use wizard.
QString getPassPath()
ConfigDialog::getPassPath return path to pass.
bool hidePassword()
ConfigDialog::hidePassword return preference for hiding passwords from shoulder-surfers.
bool useTrayIcon()
ConfigDialog::useTrayIcon return preference for using a (system) tray icon.
bool useSymbols()
ConfigDialog::useSymbols return preference for using special characters with pwgen.
bool startMinimized()
ConfigDialog::startMinimized return preference for starting application minimized (tray icon)...
void setStorePath(QString)
ConfigDialog::setStorePath set the .password-store folder path.
void closeEvent(QCloseEvent *event)
ConfigDialog::closeEvent close this window.
bool addGPGId()
ConfigDialog::addGPGId return preference for always adding gpg-id changes to git. ...
QString getGpgPath()
ConfigDialog::getGpgPath return path to gpg.
void setTemplate(QString)
ConfigDialog::setTemplate set the desired template.
bool avoidNumbers()
ConfigDialog::avoidNumbers return preference for using numbers in generated password using pwgen...
bool useAutoclearPanel()
ConfigDialog::useAutoclearPanel return panel autoclear usage.
The ConfigDialog handles the configuration interface.
int getAutoclear()
ConfigDialog::getAutoclear return the clipboard autoclear timout.
Stores key info lines including validity, creation date and more.
QString getGitPath()
ConfigDialog::getGitPath return path to git.
bool usePass()
ConfigDialog::usePass return wether or not we want to use pass (or native gpg+git etc)...
void setAutoclearPanel(int seconds)
ConfigDialog::setAutoclearPanel set the panel autoclear timout from MainWindow.
PasswordConfiguration getPasswordConfiguration()
The MainWindow class does way too much, not only is it a switchboard, configuration handler and more...
bool hideContent()
ConfigDialog::hideContent return preference for hiding all information from shoulder-surfers.
void setPwgenPath(QString)
ConfigDialog::setPwgenPath set pwgen executable path. Enable or disable related options in the interf...
void setGpgPath(QString)
ConfigDialog::setGpgPath set the gpg executable path.
bool alwaysOnTop()
ConfigDialog::alwaysOnTop return preference for running application on top of others.