summaryrefslogtreecommitdiffstats
path: root/mainwindow.h
diff options
context:
space:
mode:
authorAndrey Mazo <brouwer@annejan.com>2016-03-01 00:30:51 -0500
committerAndrey Mazo <ahippo@yandex.com>2016-03-06 23:57:29 +0300
commit1fce33ff508c0d083afeafc58e3894233ae87979 (patch)
tree0fc1b3ab6d57f065bee96ca9ca413f1472e7d55b /mainwindow.h
parent9c61978d503263a1f60c630b45f7336a695692b6 (diff)
Use --secure for pwgen and add more configurable options
Enable --secure option for pwgen by default as it allows it to generate more random passwords. Also, add the following options to pwgen together with corresponding checkboxes: * --capitalize * --numerals * --secure All these options are enabled by default, as * we're a password manager, so no need to memorize passwords, so we should make them more secure by default; * most websites accept passwords, generated using these options (unlike --symbols option) Convert horizontal layout for options into form layout to accommodate more checkboxes.
Diffstat (limited to 'mainwindow.h')
-rw-r--r--mainwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mainwindow.h b/mainwindow.h
index 0464613d..3f642e8b 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -141,6 +141,9 @@ class MainWindow : public QMainWindow {
bool startMinimized;
bool useGit;
bool usePwgen;
+ bool avoidCapitals;
+ bool avoidNumbers;
+ bool lessRandom;
bool useSymbols;
int passwordLength;
QString passwordChars;