QtPass 1.4.0
Multi-platform GUI for pass, the standard unix password manager.
|
The ConfigDialog handles the configuration interface. More...
#include <configdialog.h>
Public Member Functions | |
ConfigDialog (MainWindow *parent) | |
ConfigDialog::ConfigDialog this sets up the configuration screen. | |
~ConfigDialog () | |
ConfigDialog::~ConfigDialog config destructor, makes sure the mainWindow knows about git, gpg and pass executables. | |
void | useSelection (bool useSelection) |
ConfigDialog::useSelection set the clipboard type use from MainWindow. | |
void | useAutoclear (bool useAutoclear) |
ConfigDialog::useAutoclear set the clipboard autoclear use from MainWindow. | |
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 | wizard () |
ConfigDialog::wizard first-time use wizard. | |
void | genKey (QString, QDialog *) |
ConfigDialog::genKey tunnel function to make MainWindow generate a gpg key pair. | |
void | useTrayIcon (bool useSystray) |
ConfigDialog::useTrayIcon set preference for using trayicon. Enable or disable related checkboxes accordingly. | |
void | useGit (bool useGit) |
ConfigDialog::useGit set preference for using git. | |
void | useOtp (bool useOtp) |
ConfigDialog::useOtp set preference for using otp plugin. | |
void | useQrencode (bool useQrencode) |
ConfigDialog::useOtp set preference for using otp plugin. | |
void | setPwgenPath (QString) |
ConfigDialog::setPwgenPath set pwgen executable path. Enable or disable related options in the interface. | |
void | usePwgen (bool usePwgen) |
ConfigDialog::usePwgen set preference for using pwgen (can be overruled buy empty pwgenPath). enable or disable related options in the interface via ConfigDialog::on_checkBoxUsePwgen_clicked. | |
void | setPasswordConfiguration (const PasswordConfiguration &config) |
PasswordConfiguration | getPasswordConfiguration () |
void | useTemplate (bool useTemplate) |
ConfigDialog::useTemplate set preference for using templates. | |
Protected Member Functions | |
void | closeEvent (QCloseEvent *event) |
ConfigDialog::closeEvent close this window. | |
The ConfigDialog handles the configuration interface.
This class should also take the handling from the MainWindow class.
Definition at line 24 of file configdialog.h.
|
explicit |
ConfigDialog::ConfigDialog this sets up the configuration screen.
parent |
Definition at line 26 of file configdialog.cpp.
ConfigDialog::~ConfigDialog | ( | ) |
ConfigDialog::~ConfigDialog config destructor, makes sure the mainWindow knows about git, gpg and pass executables.
Definition at line 137 of file configdialog.cpp.
|
protected |
ConfigDialog::closeEvent close this window.
event |
Definition at line 720 of file configdialog.cpp.
void ConfigDialog::genKey | ( | QString | batch, |
QDialog * | dialog | ||
) |
ConfigDialog::genKey tunnel function to make MainWindow generate a gpg key pair.
batch | |
dialog |
Definition at line 455 of file configdialog.cpp.
PasswordConfiguration ConfigDialog::getPasswordConfiguration | ( | ) |
Definition at line 827 of file configdialog.cpp.
QHash< QString, QHash< QString, QString > > ConfigDialog::getProfiles | ( | ) |
ConfigDialog::getProfiles return profile list.
Definition at line 496 of file configdialog.cpp.
void ConfigDialog::setPasswordConfiguration | ( | const PasswordConfiguration & | config | ) |
void ConfigDialog::setPwgenPath | ( | QString | pwgen | ) |
ConfigDialog::setPwgenPath set pwgen executable path. Enable or disable related options in the interface.
pwgen |
Definition at line 780 of file configdialog.cpp.
void ConfigDialog::useAutoclear | ( | bool | useAutoclear | ) |
ConfigDialog::useAutoclear set the clipboard autoclear use from MainWindow.
useAutoclear |
Definition at line 417 of file configdialog.cpp.
void ConfigDialog::useAutoclearPanel | ( | bool | useAutoclearPanel | ) |
ConfigDialog::useAutoclearPanel set the panel autoclear use from MainWindow.
useAutoclearPanel |
Definition at line 427 of file configdialog.cpp.
void ConfigDialog::useGit | ( | bool | useGit | ) |
ConfigDialog::useGit set preference for using git.
useGit |
Definition at line 729 of file configdialog.cpp.
void ConfigDialog::useOtp | ( | bool | useOtp | ) |
ConfigDialog::useOtp set preference for using otp plugin.
useOtp |
Definition at line 738 of file configdialog.cpp.
void ConfigDialog::usePwgen | ( | bool | usePwgen | ) |
ConfigDialog::usePwgen set preference for using pwgen (can be overruled buy empty pwgenPath). enable or disable related options in the interface via ConfigDialog::on_checkBoxUsePwgen_clicked.
usePwgen |
Definition at line 811 of file configdialog.cpp.
void ConfigDialog::useQrencode | ( | bool | useQrencode | ) |
ConfigDialog::useOtp set preference for using otp plugin.
useOtp |
Definition at line 746 of file configdialog.cpp.
void ConfigDialog::useSelection | ( | bool | useSelection | ) |
ConfigDialog::useSelection set the clipboard type use from MainWindow.
useSelection |
Definition at line 407 of file configdialog.cpp.
void ConfigDialog::useTemplate | ( | bool | useTemplate | ) |
ConfigDialog::useTemplate set preference for using templates.
useTemplate |
Definition at line 871 of file configdialog.cpp.
void ConfigDialog::useTrayIcon | ( | bool | useSystray | ) |
ConfigDialog::useTrayIcon set preference for using trayicon. Enable or disable related checkboxes accordingly.
useSystray |
Definition at line 693 of file configdialog.cpp.
void ConfigDialog::wizard | ( | ) |
ConfigDialog::wizard first-time use wizard.
Definition at line 594 of file configdialog.cpp.