The ConfigDialog handles the configuration interface.
More...
#include <configdialog.h>
|
| | ConfigDialog (MainWindow *parent) |
| | Construct a ConfigDialog associated with the given main window.
|
| void | useSelection (bool useSelection) |
| | Enable or disable clipboard selection mode.
|
| void | useAutoclear (bool useAutoclear) |
| | Enable or disable autoclear of the clipboard.
|
| void | useAutoclearPanel (bool useAutoclearPanel) |
| | Enable or disable autoclear of the panel.
|
| auto | getProfiles () -> QHash< QString, QHash< QString, QString > > |
| | Return all configured profiles.
|
|
void | wizard () |
| | Run the first-time setup wizard.
|
| void | genKey (const QString &batch, QDialog *dialog) |
| | Start GPG key generation.
|
| void | useTrayIcon (bool useSystray) |
| | Show or hide the system tray icon.
|
| void | useGit (bool useGit) |
| | Enable or disable git integration.
|
| void | useOtp (bool useOtp) |
| | Enable or disable OTP support.
|
| void | useGrepSearch (bool useGrepSearch) |
| | Enable or disable grep content search.
|
| void | useQrencode (bool useQrencode) |
| | Enable or disable QR code display.
|
| void | setPwgenPath (const QString &path) |
| | Set the path to the pwgen executable.
|
| void | usePwgen (bool usePwgen) |
| | Enable or disable pwgen-based password generation.
|
| void | setPasswordConfiguration (const PasswordConfiguration &config) |
| | Apply a password configuration to the dialog controls.
|
| auto | getPasswordConfiguration () -> PasswordConfiguration |
| | Read the current password configuration from the dialog controls.
|
| void | useTemplate (bool useTemplate) |
| | Enable or disable password file templating.
|
|
| void | closeEvent (QCloseEvent *event) override |
| | Save settings and clean up on close.
|
The ConfigDialog handles the configuration interface.
Presents controls for profiles, generation tools (pwgen/pass), GPG/git/OTP/qrencode integration, template handling, tray icon and autoclear options, and exposes methods to read and update those settings.
Definition at line 29 of file configdialog.h.
◆ ConfigDialog()
Construct a ConfigDialog associated with the given main window.
- Parameters
-
◆ closeEvent()
| void ConfigDialog::closeEvent |
( |
QCloseEvent * | event | ) |
|
|
overrideprotected |
Save settings and clean up on close.
- Parameters
-
◆ genKey()
| void ConfigDialog::genKey |
( |
const QString & | batch, |
|
|
QDialog * | dialog ) |
Start GPG key generation.
- Parameters
-
| batch | GPG batch parameter string. |
| dialog | Parent dialog to return to after generation. |
◆ getPasswordConfiguration()
◆ getProfiles()
| auto ConfigDialog::getProfiles |
( |
| ) |
-> QHash< QString, QHash< QString, QString > > |
Return all configured profiles.
- Returns
- Hash of profile name to key-value settings map.
◆ setPasswordConfiguration()
Apply a password configuration to the dialog controls.
- Parameters
-
| config | Configuration to display. |
◆ setPwgenPath()
| void ConfigDialog::setPwgenPath |
( |
const QString & | path | ) |
|
Set the path to the pwgen executable.
- Parameters
-
◆ useAutoclear()
| void ConfigDialog::useAutoclear |
( |
bool | useAutoclear | ) |
|
Enable or disable autoclear of the clipboard.
- Parameters
-
◆ useAutoclearPanel()
| void ConfigDialog::useAutoclearPanel |
( |
bool | useAutoclearPanel | ) |
|
Enable or disable autoclear of the panel.
- Parameters
-
◆ useGit()
| void ConfigDialog::useGit |
( |
bool | useGit | ) |
|
Enable or disable git integration.
- Parameters
-
◆ useGrepSearch()
| void ConfigDialog::useGrepSearch |
( |
bool | useGrepSearch | ) |
|
Enable or disable grep content search.
- Parameters
-
◆ useOtp()
| void ConfigDialog::useOtp |
( |
bool | useOtp | ) |
|
Enable or disable OTP support.
- Parameters
-
◆ usePwgen()
| void ConfigDialog::usePwgen |
( |
bool | usePwgen | ) |
|
Enable or disable pwgen-based password generation.
- Parameters
-
◆ useQrencode()
| void ConfigDialog::useQrencode |
( |
bool | useQrencode | ) |
|
Enable or disable QR code display.
- Parameters
-
◆ useSelection()
| void ConfigDialog::useSelection |
( |
bool | useSelection | ) |
|
Enable or disable clipboard selection mode.
- Parameters
-
◆ useTemplate()
| void ConfigDialog::useTemplate |
( |
bool | useTemplate | ) |
|
Enable or disable password file templating.
- Parameters
-
◆ useTrayIcon()
| void ConfigDialog::useTrayIcon |
( |
bool | useSystray | ) |
|
Show or hide the system tray icon.
- Parameters
-
| useSystray | true to enable the tray icon. |
The documentation for this class was generated from the following file: