QtPass 1.5.1
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
ui_configdialog.h
Go to the documentation of this file.
1/********************************************************************************
2** Form generated from reading UI file 'configdialog.ui'
3**
4** Created by: Qt User Interface Compiler version 6.10.2
5**
6** WARNING! All changes made in this file will be lost when recompiling UI file!
7********************************************************************************/
8
9#ifndef UI_CONFIGDIALOG_H
10#define UI_CONFIGDIALOG_H
11
12#include <QtCore/QLocale>
13#include <QtCore/QVariant>
14#include <QtGui/QIcon>
15#include <QtWidgets/QAbstractButton>
16#include <QtWidgets/QApplication>
17#include <QtWidgets/QCheckBox>
18#include <QtWidgets/QComboBox>
19#include <QtWidgets/QDialog>
20#include <QtWidgets/QDialogButtonBox>
21#include <QtWidgets/QFormLayout>
22#include <QtWidgets/QGridLayout>
23#include <QtWidgets/QGroupBox>
24#include <QtWidgets/QHBoxLayout>
25#include <QtWidgets/QHeaderView>
26#include <QtWidgets/QLabel>
27#include <QtWidgets/QLineEdit>
28#include <QtWidgets/QPlainTextEdit>
29#include <QtWidgets/QRadioButton>
30#include <QtWidgets/QSpacerItem>
31#include <QtWidgets/QSpinBox>
32#include <QtWidgets/QTabWidget>
33#include <QtWidgets/QTableWidget>
34#include <QtWidgets/QToolButton>
35#include <QtWidgets/QVBoxLayout>
36#include <QtWidgets/QWidget>
37
38QT_BEGIN_NAMESPACE
39
41{
42public:
43 QVBoxLayout *verticalLayout_2;
44 QTabWidget *tabWidget;
45 QWidget *Tab_Settings;
46 QVBoxLayout *verticalLayout_5;
47 QVBoxLayout *Layout_Clipboard;
48 QLabel *label_8;
49 QHBoxLayout *horizontalLayout;
54 QLabel *labelSeconds;
55 QSpacerItem *horizontalSpacer_4;
57 QLabel *label_6;
58 QHBoxLayout *horizontalLayout_6;
61 QHBoxLayout *horizontalLayout_7;
65 QSpacerItem *horizontalSpacer_5;
66 QHBoxLayout *horizontalLayout_19;
70 QSpacerItem *horizontalSpacer_9;
72 QLabel *label_4;
73 QFormLayout *formLayout_2;
74 QLabel *label_7;
75 QHBoxLayout *horizontalLayout_13;
77 QLabel *labelLength;
78 QSpacerItem *horizontalSpacer_2;
80 QHBoxLayout *horizontalLayout_10;
82 QSpacerItem *horizontalSpacer_3;
84 QFormLayout *formLayout;
85 QCheckBox *checkBoxUsePwgen;
90 QVBoxLayout *Layout_Git;
91 QLabel *label_3;
92 QHBoxLayout *horizontalLayout_9;
93 QCheckBox *checkBoxUseGit;
94 QHBoxLayout *horizontalLayout_12;
95 QCheckBox *checkBoxAddGPGId;
96 QCheckBox *checkBoxAutoPush;
97 QCheckBox *checkBoxAutoPull;
98 QSpacerItem *horizontalSpacer_7;
99 QVBoxLayout *Extensions;
100 QLabel *label_10;
104 QCheckBox *checkBoxUseOtp;
105 QVBoxLayout *Layout_System;
106 QLabel *label_5;
112 QSpacerItem *horizontalSpacer_6;
113 QWidget *Tab_Programs;
114 QVBoxLayout *verticalLayout;
115 QLabel *label_9;
116 QHBoxLayout *horizontalLayout_5;
117 QRadioButton *radioButtonNative;
118 QRadioButton *radioButtonPass;
119 QWidget *widget;
120 QHBoxLayout *horizontalLayout_2;
121 QGroupBox *groupBoxNative;
122 QGridLayout *gridLayout;
124 QLineEdit *gpgPath;
125 QToolButton *toolButtonGpg;
126 QToolButton *toolButtonGit;
128 QLineEdit *gitPath;
129 QLineEdit *pwgenPath;
131 QToolButton *toolButtonPwgen;
132 QGroupBox *groupBoxPass;
133 QVBoxLayout *verticalLayout_4;
134 QHBoxLayout *horizontalLayout_4;
136 QLineEdit *passPath;
137 QToolButton *toolButtonPass;
138 QLabel *zx2c4;
140 QSpacerItem *horizontalSpacer_8;
141 QToolButton *autodetectButton;
142 QSpacerItem *verticalSpacer;
143 QWidget *Tab_Profiles;
144 QVBoxLayout *verticalLayout_3;
145 QTableWidget *profileTable;
146 QGridLayout *gridLayout_11;
147 QToolButton *addButton;
148 QToolButton *deleteButton;
150 QToolButton *toolButtonStore;
151 QLineEdit *storePath;
152 QWidget *Tab_Template;
153 QVBoxLayout *verticalLayout_6;
154 QLabel *label_2;
155 QHBoxLayout *horizontalLayout_8;
158 QPlainTextEdit *plainTextEditTemplate;
159 QHBoxLayout *horizontalLayout_3;
160 QLabel *label;
161 QSpacerItem *horizontalSpacer;
162 QDialogButtonBox *buttonBox;
163
164 void setupUi(QDialog *ConfigDialog)
165 {
166 if (ConfigDialog->objectName().isEmpty())
167 ConfigDialog->setObjectName("ConfigDialog");
168 ConfigDialog->resize(659, 728);
169 QSizePolicy sizePolicy(QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Minimum);
170 sizePolicy.setHorizontalStretch(0);
171 sizePolicy.setVerticalStretch(0);
172 sizePolicy.setHeightForWidth(ConfigDialog->sizePolicy().hasHeightForWidth());
173 ConfigDialog->setSizePolicy(sizePolicy);
174 QIcon icon;
175 icon.addFile(QString::fromUtf8(":/artwork/icon.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
176 ConfigDialog->setWindowIcon(icon);
177 verticalLayout_2 = new QVBoxLayout(ConfigDialog);
178 verticalLayout_2->setObjectName("verticalLayout_2");
179 verticalLayout_2->setContentsMargins(6, 6, 6, 6);
180 tabWidget = new QTabWidget(ConfigDialog);
181 tabWidget->setObjectName("tabWidget");
182 Tab_Settings = new QWidget();
183 Tab_Settings->setObjectName("Tab_Settings");
184 verticalLayout_5 = new QVBoxLayout(Tab_Settings);
185 verticalLayout_5->setObjectName("verticalLayout_5");
186 verticalLayout_5->setContentsMargins(6, 6, 6, 6);
187 Layout_Clipboard = new QVBoxLayout();
188 Layout_Clipboard->setObjectName("Layout_Clipboard");
189 label_8 = new QLabel(Tab_Settings);
190 label_8->setObjectName("label_8");
191 QFont font;
192 font.setBold(true);
193 label_8->setFont(font);
194
195 Layout_Clipboard->addWidget(label_8);
196
197 horizontalLayout = new QHBoxLayout();
198 horizontalLayout->setObjectName("horizontalLayout");
199 comboBoxClipboard = new QComboBox(Tab_Settings);
200 comboBoxClipboard->setObjectName("comboBoxClipboard");
201 comboBoxClipboard->setMinimumSize(QSize(140, 0));
202
204
205 checkBoxSelection = new QCheckBox(Tab_Settings);
206 checkBoxSelection->setObjectName("checkBoxSelection");
207
209
210 checkBoxAutoclear = new QCheckBox(Tab_Settings);
211 checkBoxAutoclear->setObjectName("checkBoxAutoclear");
212
214
216 spinBoxAutoclearSeconds->setObjectName("spinBoxAutoclearSeconds");
217 spinBoxAutoclearSeconds->setMinimum(5);
218 spinBoxAutoclearSeconds->setValue(10);
219
221
222 labelSeconds = new QLabel(Tab_Settings);
223 labelSeconds->setObjectName("labelSeconds");
224
225 horizontalLayout->addWidget(labelSeconds);
226
227 horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
228
230
231
233
234
236
237 Layout_PasswordBehaviour = new QVBoxLayout();
238 Layout_PasswordBehaviour->setObjectName("Layout_PasswordBehaviour");
239 label_6 = new QLabel(Tab_Settings);
240 label_6->setObjectName("label_6");
241 label_6->setFont(font);
242
244
245 horizontalLayout_6 = new QHBoxLayout();
246 horizontalLayout_6->setObjectName("horizontalLayout_6");
247 horizontalLayout_6->setContentsMargins(-1, 0, -1, -1);
248 checkBoxHideContent = new QCheckBox(Tab_Settings);
249 checkBoxHideContent->setObjectName("checkBoxHideContent");
250
252
253 checkBoxHidePassword = new QCheckBox(Tab_Settings);
254 checkBoxHidePassword->setObjectName("checkBoxHidePassword");
255
257
258 horizontalLayout_7 = new QHBoxLayout();
259 horizontalLayout_7->setObjectName("horizontalLayout_7");
260 checkBoxAutoclearPanel = new QCheckBox(Tab_Settings);
261 checkBoxAutoclearPanel->setObjectName("checkBoxAutoclearPanel");
262
264
266 spinBoxAutoclearPanelSeconds->setObjectName("spinBoxAutoclearPanelSeconds");
267 spinBoxAutoclearPanelSeconds->setMinimum(5);
268 spinBoxAutoclearPanelSeconds->setValue(10);
269
271
272 labelPanelSeconds = new QLabel(Tab_Settings);
273 labelPanelSeconds->setObjectName("labelPanelSeconds");
274 labelPanelSeconds->setMinimumSize(QSize(55, 0));
275
277
278
280
281 horizontalSpacer_5 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
282
284
285
287
288 horizontalLayout_19 = new QHBoxLayout();
289 horizontalLayout_19->setObjectName("horizontalLayout_19");
290 checkBoxUseMonospace = new QCheckBox(Tab_Settings);
291 checkBoxUseMonospace->setObjectName("checkBoxUseMonospace");
292
294
295 checkBoxDisplayAsIs = new QCheckBox(Tab_Settings);
296 checkBoxDisplayAsIs->setObjectName("checkBoxDisplayAsIs");
297
299
300 checkBoxNoLineWrapping = new QCheckBox(Tab_Settings);
301 checkBoxNoLineWrapping->setObjectName("checkBoxNoLineWrapping");
302
304
305 horizontalSpacer_9 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
306
308
309
311
312
314
315 Layout_PasswordGeneration = new QVBoxLayout();
316 Layout_PasswordGeneration->setObjectName("Layout_PasswordGeneration");
317 label_4 = new QLabel(Tab_Settings);
318 label_4->setObjectName("label_4");
319 label_4->setFont(font);
320
322
323 formLayout_2 = new QFormLayout();
324 formLayout_2->setObjectName("formLayout_2");
325 formLayout_2->setContentsMargins(-1, 0, -1, -1);
326 label_7 = new QLabel(Tab_Settings);
327 label_7->setObjectName("label_7");
328
329 formLayout_2->setWidget(0, QFormLayout::ItemRole::LabelRole, label_7);
330
331 horizontalLayout_13 = new QHBoxLayout();
332 horizontalLayout_13->setObjectName("horizontalLayout_13");
333 spinBoxPasswordLength = new QSpinBox(Tab_Settings);
334 spinBoxPasswordLength->setObjectName("spinBoxPasswordLength");
335 spinBoxPasswordLength->setEnabled(true);
336 spinBoxPasswordLength->setMinimumSize(QSize(50, 0));
337 spinBoxPasswordLength->setMinimum(8);
338 spinBoxPasswordLength->setMaximum(255);
339 spinBoxPasswordLength->setValue(16);
340
342
343 labelLength = new QLabel(Tab_Settings);
344 labelLength->setObjectName("labelLength");
345 labelLength->setEnabled(true);
346
348
349 horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
350
352
353
354 formLayout_2->setLayout(0, QFormLayout::ItemRole::FieldRole, horizontalLayout_13);
355
356 labelPasswordChars = new QLabel(Tab_Settings);
357 labelPasswordChars->setObjectName("labelPasswordChars");
358 labelPasswordChars->setEnabled(true);
359
360 formLayout_2->setWidget(1, QFormLayout::ItemRole::LabelRole, labelPasswordChars);
361
362 horizontalLayout_10 = new QHBoxLayout();
363 horizontalLayout_10->setObjectName("horizontalLayout_10");
364 horizontalLayout_10->setContentsMargins(-1, 0, -1, -1);
366 passwordCharTemplateSelector->addItem(QString());
367 passwordCharTemplateSelector->addItem(QString());
368 passwordCharTemplateSelector->addItem(QString());
369 passwordCharTemplateSelector->addItem(QString());
370 passwordCharTemplateSelector->setObjectName("passwordCharTemplateSelector");
371 QSizePolicy sizePolicy1(QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Fixed);
372 sizePolicy1.setHorizontalStretch(0);
373 sizePolicy1.setVerticalStretch(0);
374 sizePolicy1.setHeightForWidth(passwordCharTemplateSelector->sizePolicy().hasHeightForWidth());
375 passwordCharTemplateSelector->setSizePolicy(sizePolicy1);
376
378
379 horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
380
382
383
384 formLayout_2->setLayout(1, QFormLayout::ItemRole::FieldRole, horizontalLayout_10);
385
386 lineEditPasswordChars = new QLineEdit(Tab_Settings);
387 lineEditPasswordChars->setObjectName("lineEditPasswordChars");
388 lineEditPasswordChars->setEnabled(true);
389 QSizePolicy sizePolicy2(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Fixed);
390 sizePolicy2.setHorizontalStretch(0);
391 sizePolicy2.setVerticalStretch(0);
392 sizePolicy2.setHeightForWidth(lineEditPasswordChars->sizePolicy().hasHeightForWidth());
393 lineEditPasswordChars->setSizePolicy(sizePolicy2);
394 lineEditPasswordChars->setMaximumSize(QSize(600, 16777215));
395
396 formLayout_2->setWidget(2, QFormLayout::ItemRole::FieldRole, lineEditPasswordChars);
397
398
400
401 formLayout = new QFormLayout();
402 formLayout->setObjectName("formLayout");
403 formLayout->setContentsMargins(-1, 0, -1, -1);
404 checkBoxUsePwgen = new QCheckBox(Tab_Settings);
405 checkBoxUsePwgen->setObjectName("checkBoxUsePwgen");
406 checkBoxUsePwgen->setEnabled(true);
407
408 formLayout->setWidget(0, QFormLayout::ItemRole::LabelRole, checkBoxUsePwgen);
409
410 checkBoxAvoidCapitals = new QCheckBox(Tab_Settings);
411 checkBoxAvoidCapitals->setObjectName("checkBoxAvoidCapitals");
412
413 formLayout->setWidget(0, QFormLayout::ItemRole::FieldRole, checkBoxAvoidCapitals);
414
415 checkBoxUseSymbols = new QCheckBox(Tab_Settings);
416 checkBoxUseSymbols->setObjectName("checkBoxUseSymbols");
417 checkBoxUseSymbols->setEnabled(true);
418
419 formLayout->setWidget(3, QFormLayout::ItemRole::FieldRole, checkBoxUseSymbols);
420
421 checkBoxLessRandom = new QCheckBox(Tab_Settings);
422 checkBoxLessRandom->setObjectName("checkBoxLessRandom");
423
424 formLayout->setWidget(2, QFormLayout::ItemRole::FieldRole, checkBoxLessRandom);
425
426 checkBoxAvoidNumbers = new QCheckBox(Tab_Settings);
427 checkBoxAvoidNumbers->setObjectName("checkBoxAvoidNumbers");
428
429 formLayout->setWidget(1, QFormLayout::ItemRole::FieldRole, checkBoxAvoidNumbers);
430
431
433
434
436
437 Layout_Git = new QVBoxLayout();
438 Layout_Git->setObjectName("Layout_Git");
439 label_3 = new QLabel(Tab_Settings);
440 label_3->setObjectName("label_3");
441 label_3->setFont(font);
442
443 Layout_Git->addWidget(label_3);
444
445 horizontalLayout_9 = new QHBoxLayout();
446 horizontalLayout_9->setObjectName("horizontalLayout_9");
447 checkBoxUseGit = new QCheckBox(Tab_Settings);
448 checkBoxUseGit->setObjectName("checkBoxUseGit");
449 checkBoxUseGit->setEnabled(true);
450
452
453
454 Layout_Git->addLayout(horizontalLayout_9);
455
456 horizontalLayout_12 = new QHBoxLayout();
457 horizontalLayout_12->setObjectName("horizontalLayout_12");
458 horizontalLayout_12->setContentsMargins(-1, -1, -1, 0);
459 checkBoxAddGPGId = new QCheckBox(Tab_Settings);
460 checkBoxAddGPGId->setObjectName("checkBoxAddGPGId");
461
463
464 checkBoxAutoPush = new QCheckBox(Tab_Settings);
465 checkBoxAutoPush->setObjectName("checkBoxAutoPush");
466
468
469 checkBoxAutoPull = new QCheckBox(Tab_Settings);
470 checkBoxAutoPull->setObjectName("checkBoxAutoPull");
471
473
474 horizontalSpacer_7 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
475
477
478
480
481
482 verticalLayout_5->addLayout(Layout_Git);
483
484 Extensions = new QVBoxLayout();
485 Extensions->setObjectName("Extensions");
486 label_10 = new QLabel(Tab_Settings);
487 label_10->setObjectName("label_10");
488 label_10->setFont(font);
489
490 Extensions->addWidget(label_10);
491
492 horizontalLayout_16 = new QHBoxLayout();
493 horizontalLayout_16->setObjectName("horizontalLayout_16");
494 checkBoxUseQrencode = new QCheckBox(Tab_Settings);
495 checkBoxUseQrencode->setObjectName("checkBoxUseQrencode");
496
498
499
501
502 horizontalLayout_14 = new QHBoxLayout();
503 horizontalLayout_14->setObjectName("horizontalLayout_14");
504 checkBoxUseOtp = new QCheckBox(Tab_Settings);
505 checkBoxUseOtp->setObjectName("checkBoxUseOtp");
506 checkBoxUseOtp->setEnabled(true);
507
509
510
512
513
514 verticalLayout_5->addLayout(Extensions);
515
516 Layout_System = new QVBoxLayout();
517 Layout_System->setObjectName("Layout_System");
518 Layout_System->setContentsMargins(-1, 0, -1, -1);
519 label_5 = new QLabel(Tab_Settings);
520 label_5->setObjectName("label_5");
521 label_5->setFont(font);
522
523 Layout_System->addWidget(label_5);
524
525 horizontalLayout_11 = new QHBoxLayout();
526 horizontalLayout_11->setObjectName("horizontalLayout_11");
527 horizontalLayout_11->setContentsMargins(-1, -1, -1, 0);
528 checkBoxUseTrayIcon = new QCheckBox(Tab_Settings);
529 checkBoxUseTrayIcon->setObjectName("checkBoxUseTrayIcon");
530
532
533 checkBoxStartMinimized = new QCheckBox(Tab_Settings);
534 checkBoxStartMinimized->setObjectName("checkBoxStartMinimized");
535
537
538 checkBoxHideOnClose = new QCheckBox(Tab_Settings);
539 checkBoxHideOnClose->setObjectName("checkBoxHideOnClose");
540
542
543 checkBoxAlwaysOnTop = new QCheckBox(Tab_Settings);
544 checkBoxAlwaysOnTop->setObjectName("checkBoxAlwaysOnTop");
545
547
548 horizontalSpacer_6 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
549
551
552
554
555
557
558 tabWidget->addTab(Tab_Settings, QString());
559 Tab_Programs = new QWidget();
560 Tab_Programs->setObjectName("Tab_Programs");
561 verticalLayout = new QVBoxLayout(Tab_Programs);
562 verticalLayout->setObjectName("verticalLayout");
563 verticalLayout->setContentsMargins(6, 6, 6, 6);
564 label_9 = new QLabel(Tab_Programs);
565 label_9->setObjectName("label_9");
566
567 verticalLayout->addWidget(label_9);
568
569 horizontalLayout_5 = new QHBoxLayout();
570 horizontalLayout_5->setObjectName("horizontalLayout_5");
571 radioButtonNative = new QRadioButton(Tab_Programs);
572 radioButtonNative->setObjectName("radioButtonNative");
573
575
576 radioButtonPass = new QRadioButton(Tab_Programs);
577 radioButtonPass->setObjectName("radioButtonPass");
578
580
581
583
584 widget = new QWidget(Tab_Programs);
585 widget->setObjectName("widget");
586 horizontalLayout_2 = new QHBoxLayout(widget);
587 horizontalLayout_2->setObjectName("horizontalLayout_2");
588 horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
589 groupBoxNative = new QGroupBox(widget);
590 groupBoxNative->setObjectName("groupBoxNative");
591 gridLayout = new QGridLayout(groupBoxNative);
592 gridLayout->setObjectName("gridLayout");
593 labelGitPath = new QLabel(groupBoxNative);
594 labelGitPath->setObjectName("labelGitPath");
595
596 gridLayout->addWidget(labelGitPath, 1, 0, 1, 1);
597
598 gpgPath = new QLineEdit(groupBoxNative);
599 gpgPath->setObjectName("gpgPath");
600
601 gridLayout->addWidget(gpgPath, 0, 1, 1, 1);
602
603 toolButtonGpg = new QToolButton(groupBoxNative);
604 toolButtonGpg->setObjectName("toolButtonGpg");
605
606 gridLayout->addWidget(toolButtonGpg, 0, 2, 1, 1);
607
608 toolButtonGit = new QToolButton(groupBoxNative);
609 toolButtonGit->setObjectName("toolButtonGit");
610
611 gridLayout->addWidget(toolButtonGit, 1, 2, 1, 1);
612
613 labelGpgPath = new QLabel(groupBoxNative);
614 labelGpgPath->setObjectName("labelGpgPath");
615
616 gridLayout->addWidget(labelGpgPath, 0, 0, 1, 1);
617
618 gitPath = new QLineEdit(groupBoxNative);
619 gitPath->setObjectName("gitPath");
620
621 gridLayout->addWidget(gitPath, 1, 1, 1, 1);
622
623 pwgenPath = new QLineEdit(groupBoxNative);
624 pwgenPath->setObjectName("pwgenPath");
625
626 gridLayout->addWidget(pwgenPath, 2, 1, 1, 1);
627
628 labelPwgenPath = new QLabel(groupBoxNative);
629 labelPwgenPath->setObjectName("labelPwgenPath");
630
631 gridLayout->addWidget(labelPwgenPath, 2, 0, 1, 1);
632
633 toolButtonPwgen = new QToolButton(groupBoxNative);
634 toolButtonPwgen->setObjectName("toolButtonPwgen");
635
636 gridLayout->addWidget(toolButtonPwgen, 2, 2, 1, 1);
637
638
640
641 groupBoxPass = new QGroupBox(widget);
642 groupBoxPass->setObjectName("groupBoxPass");
643 verticalLayout_4 = new QVBoxLayout(groupBoxPass);
644 verticalLayout_4->setObjectName("verticalLayout_4");
645 horizontalLayout_4 = new QHBoxLayout();
646 horizontalLayout_4->setObjectName("horizontalLayout_4");
647 horizontalLayout_4->setSizeConstraint(QLayout::SetMinimumSize);
648 labelPassPath = new QLabel(groupBoxPass);
649 labelPassPath->setObjectName("labelPassPath");
650
652
653 passPath = new QLineEdit(groupBoxPass);
654 passPath->setObjectName("passPath");
655
656 horizontalLayout_4->addWidget(passPath);
657
658 toolButtonPass = new QToolButton(groupBoxPass);
659 toolButtonPass->setObjectName("toolButtonPass");
660
662
663
665
666 zx2c4 = new QLabel(groupBoxPass);
667 zx2c4->setObjectName("zx2c4");
668 zx2c4->setOpenExternalLinks(true);
669
670 verticalLayout_4->addWidget(zx2c4);
671
672
674
675
676 verticalLayout->addWidget(widget);
677
678 horizontalLayout_15 = new QHBoxLayout();
679 horizontalLayout_15->setObjectName("horizontalLayout_15");
680 horizontalSpacer_8 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
681
683
684 autodetectButton = new QToolButton(Tab_Programs);
685 autodetectButton->setObjectName("autodetectButton");
686
688
689
691
692 verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);
693
695
696 tabWidget->addTab(Tab_Programs, QString());
697 Tab_Profiles = new QWidget();
698 Tab_Profiles->setObjectName("Tab_Profiles");
699 verticalLayout_3 = new QVBoxLayout(Tab_Profiles);
700 verticalLayout_3->setObjectName("verticalLayout_3");
701 verticalLayout_3->setContentsMargins(6, 6, 6, 6);
702 profileTable = new QTableWidget(Tab_Profiles);
703 if (profileTable->columnCount() < 3)
704 profileTable->setColumnCount(3);
705 QTableWidgetItem *__qtablewidgetitem = new QTableWidgetItem();
706 profileTable->setHorizontalHeaderItem(0, __qtablewidgetitem);
707 QTableWidgetItem *__qtablewidgetitem1 = new QTableWidgetItem();
708 profileTable->setHorizontalHeaderItem(1, __qtablewidgetitem1);
709 QTableWidgetItem *__qtablewidgetitem2 = new QTableWidgetItem();
710 profileTable->setHorizontalHeaderItem(2, __qtablewidgetitem2);
711 profileTable->setObjectName("profileTable");
712 QSizePolicy sizePolicy3(QSizePolicy::Policy::MinimumExpanding, QSizePolicy::Policy::Expanding);
713 sizePolicy3.setHorizontalStretch(0);
714 sizePolicy3.setVerticalStretch(0);
715 sizePolicy3.setHeightForWidth(profileTable->sizePolicy().hasHeightForWidth());
716 profileTable->setSizePolicy(sizePolicy3);
717 profileTable->setFrameShape(QFrame::NoFrame);
718 profileTable->setFrameShadow(QFrame::Plain);
719 profileTable->setLineWidth(0);
720 profileTable->setEditTriggers(QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked);
721 profileTable->setAlternatingRowColors(true);
722 profileTable->setSelectionMode(QAbstractItemView::SingleSelection);
723 profileTable->setSelectionBehavior(QAbstractItemView::SelectRows);
724 profileTable->setSortingEnabled(true);
725
726 verticalLayout_3->addWidget(profileTable);
727
728 gridLayout_11 = new QGridLayout();
729 gridLayout_11->setObjectName("gridLayout_11");
730 addButton = new QToolButton(Tab_Profiles);
731 addButton->setObjectName("addButton");
732 QIcon icon1;
733 QString iconThemeName = QString::fromUtf8("list-add");
734 if (QIcon::hasThemeIcon(iconThemeName)) {
735 icon1 = QIcon::fromTheme(iconThemeName);
736 } else {
737 icon1.addFile(QString::fromUtf8(":/icons/document-new.svg"), QSize(), QIcon::Mode::Normal, QIcon::State::On);
738 }
739 addButton->setIcon(icon1);
740 addButton->setToolButtonStyle(Qt::ToolButtonFollowStyle);
741
742 gridLayout_11->addWidget(addButton, 0, 0, 1, 1);
743
744 deleteButton = new QToolButton(Tab_Profiles);
745 deleteButton->setObjectName("deleteButton");
746 QIcon icon2;
747 iconThemeName = QString::fromUtf8("list-remove");
748 if (QIcon::hasThemeIcon(iconThemeName)) {
749 icon2 = QIcon::fromTheme(iconThemeName);
750 } else {
751 icon2.addFile(QString::fromUtf8(":/icons/edit-delete.svg"), QSize(), QIcon::Mode::Normal, QIcon::State::On);
752 }
753 deleteButton->setIcon(icon2);
754 deleteButton->setToolButtonStyle(Qt::ToolButtonFollowStyle);
755
756 gridLayout_11->addWidget(deleteButton, 0, 1, 1, 1);
757
758 labelStorePath = new QLabel(Tab_Profiles);
759 labelStorePath->setObjectName("labelStorePath");
760
761 gridLayout_11->addWidget(labelStorePath, 0, 2, 1, 1);
762
763 toolButtonStore = new QToolButton(Tab_Profiles);
764 toolButtonStore->setObjectName("toolButtonStore");
765
766 gridLayout_11->addWidget(toolButtonStore, 0, 4, 1, 1);
767
768 storePath = new QLineEdit(Tab_Profiles);
769 storePath->setObjectName("storePath");
770
771 gridLayout_11->addWidget(storePath, 0, 3, 1, 1);
772
773
775
776 tabWidget->addTab(Tab_Profiles, QString());
777 Tab_Template = new QWidget();
778 Tab_Template->setObjectName("Tab_Template");
779 verticalLayout_6 = new QVBoxLayout(Tab_Template);
780 verticalLayout_6->setObjectName("verticalLayout_6");
781 verticalLayout_6->setContentsMargins(6, 6, 6, 6);
782 label_2 = new QLabel(Tab_Template);
783 label_2->setObjectName("label_2");
784 label_2->setLocale(QLocale(QLocale::German, QLocale::Germany));
785
786 verticalLayout_6->addWidget(label_2);
787
788 horizontalLayout_8 = new QHBoxLayout();
789 horizontalLayout_8->setObjectName("horizontalLayout_8");
790 checkBoxUseTemplate = new QCheckBox(Tab_Template);
791 checkBoxUseTemplate->setObjectName("checkBoxUseTemplate");
792
794
796 checkBoxTemplateAllFields->setObjectName("checkBoxTemplateAllFields");
797
799
800
802
803 plainTextEditTemplate = new QPlainTextEdit(Tab_Template);
804 plainTextEditTemplate->setObjectName("plainTextEditTemplate");
805 plainTextEditTemplate->setFrameShadow(QFrame::Plain);
806
808
809 tabWidget->addTab(Tab_Template, QString());
810
811 verticalLayout_2->addWidget(tabWidget);
812
813 horizontalLayout_3 = new QHBoxLayout();
814 horizontalLayout_3->setObjectName("horizontalLayout_3");
815 label = new QLabel(ConfigDialog);
816 label->setObjectName("label");
817 label->setOpenExternalLinks(true);
818
819 horizontalLayout_3->addWidget(label);
820
821 horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
822
824
825 buttonBox = new QDialogButtonBox(ConfigDialog);
826 buttonBox->setObjectName("buttonBox");
827 buttonBox->setOrientation(Qt::Horizontal);
828 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
829
830 horizontalLayout_3->addWidget(buttonBox);
831
832
834
835 QWidget::setTabOrder(tabWidget, radioButtonNative);
836 QWidget::setTabOrder(radioButtonNative, radioButtonPass);
837 QWidget::setTabOrder(radioButtonPass, gpgPath);
838 QWidget::setTabOrder(gpgPath, toolButtonGpg);
839 QWidget::setTabOrder(toolButtonGpg, gitPath);
840 QWidget::setTabOrder(gitPath, toolButtonGit);
841 QWidget::setTabOrder(toolButtonGit, pwgenPath);
842 QWidget::setTabOrder(pwgenPath, toolButtonPwgen);
843 QWidget::setTabOrder(toolButtonPwgen, passPath);
844 QWidget::setTabOrder(passPath, toolButtonPass);
845 QWidget::setTabOrder(toolButtonPass, profileTable);
846 QWidget::setTabOrder(profileTable, addButton);
847 QWidget::setTabOrder(addButton, deleteButton);
848 QWidget::setTabOrder(deleteButton, storePath);
849 QWidget::setTabOrder(storePath, toolButtonStore);
850
852 QObject::connect(buttonBox, &QDialogButtonBox::rejected, ConfigDialog, qOverload<>(&QDialog::reject));
853 QObject::connect(buttonBox, &QDialogButtonBox::accepted, ConfigDialog, qOverload<>(&QDialog::accept));
854
855 tabWidget->setCurrentIndex(0);
856
857
858 QMetaObject::connectSlotsByName(ConfigDialog);
859 } // setupUi
860
862 {
863 ConfigDialog->setWindowTitle(QCoreApplication::translate("ConfigDialog", "Configuration", nullptr));
864 label_8->setText(QCoreApplication::translate("ConfigDialog", "Clipboard behaviour:", nullptr));
865 checkBoxSelection->setText(QCoreApplication::translate("ConfigDialog", "Use primary selection", nullptr));
866 checkBoxAutoclear->setText(QCoreApplication::translate("ConfigDialog", "Autoclear after:", nullptr));
867 labelSeconds->setText(QCoreApplication::translate("ConfigDialog", "Seconds", nullptr));
868 label_6->setText(QCoreApplication::translate("ConfigDialog", "Content panel behaviour:", nullptr));
869 checkBoxHideContent->setText(QCoreApplication::translate("ConfigDialog", "Hide content", nullptr));
870 checkBoxHidePassword->setText(QCoreApplication::translate("ConfigDialog", "Hide password", nullptr));
871 checkBoxAutoclearPanel->setText(QCoreApplication::translate("ConfigDialog", "Autoclear panel after:", nullptr));
872 labelPanelSeconds->setText(QCoreApplication::translate("ConfigDialog", "Seconds", nullptr));
873 checkBoxUseMonospace->setText(QCoreApplication::translate("ConfigDialog", "Use a monospace font", nullptr));
874 checkBoxDisplayAsIs->setText(QCoreApplication::translate("ConfigDialog", "Display the files content as-is", nullptr));
875 checkBoxNoLineWrapping->setText(QCoreApplication::translate("ConfigDialog", "No line wrapping", nullptr));
876 label_4->setText(QCoreApplication::translate("ConfigDialog", "Password Generation:", nullptr));
877 label_7->setText(QCoreApplication::translate("ConfigDialog", "Password Length:", nullptr));
878 labelLength->setText(QCoreApplication::translate("ConfigDialog", "Characters", nullptr));
879 labelPasswordChars->setText(QCoreApplication::translate("ConfigDialog", "Use characters:", nullptr));
880 passwordCharTemplateSelector->setItemText(0, QCoreApplication::translate("ConfigDialog", "All Characters", nullptr));
881 passwordCharTemplateSelector->setItemText(1, QCoreApplication::translate("ConfigDialog", "Alphabetical", nullptr));
882 passwordCharTemplateSelector->setItemText(2, QCoreApplication::translate("ConfigDialog", "Alphanumerical", nullptr));
883 passwordCharTemplateSelector->setItemText(3, QCoreApplication::translate("ConfigDialog", "Custom", nullptr));
884
885#if QT_CONFIG(tooltip)
886 passwordCharTemplateSelector->setToolTip(QCoreApplication::translate("ConfigDialog", "Select character set for password generation", nullptr));
887#endif // QT_CONFIG(tooltip)
888 lineEditPasswordChars->setText(QCoreApplication::translate("ConfigDialog", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", nullptr));
889 checkBoxUsePwgen->setText(QCoreApplication::translate("ConfigDialog", "Use PWGen", nullptr));
890 checkBoxAvoidCapitals->setText(QCoreApplication::translate("ConfigDialog", "Exclude capital letters", nullptr));
891 checkBoxUseSymbols->setText(QCoreApplication::translate("ConfigDialog", "Include special symbols", nullptr));
892 checkBoxLessRandom->setText(QCoreApplication::translate("ConfigDialog", "Generate easy to memorize but less secure passwords", nullptr));
893 checkBoxAvoidNumbers->setText(QCoreApplication::translate("ConfigDialog", "Exclude numbers", nullptr));
894 label_3->setText(QCoreApplication::translate("ConfigDialog", "Git:", nullptr));
895 checkBoxUseGit->setText(QCoreApplication::translate("ConfigDialog", "Use Git", nullptr));
896 checkBoxAddGPGId->setText(QCoreApplication::translate("ConfigDialog", "Automatically add .gpg-id files", nullptr));
897 checkBoxAutoPush->setText(QCoreApplication::translate("ConfigDialog", "Automatically push", nullptr));
898 checkBoxAutoPull->setText(QCoreApplication::translate("ConfigDialog", "Automatically pull", nullptr));
899 label_10->setText(QCoreApplication::translate("ConfigDialog", "Extensions:", nullptr));
900 checkBoxUseQrencode->setText(QCoreApplication::translate("ConfigDialog", "Use QRencode", nullptr));
901 checkBoxUseOtp->setText(QCoreApplication::translate("ConfigDialog", "Use pass-otp extension", nullptr));
902 label_5->setText(QCoreApplication::translate("ConfigDialog", "System:", nullptr));
903 checkBoxUseTrayIcon->setText(QCoreApplication::translate("ConfigDialog", "Use TrayIcon", nullptr));
904 checkBoxStartMinimized->setText(QCoreApplication::translate("ConfigDialog", "Start minimized", nullptr));
905 checkBoxHideOnClose->setText(QCoreApplication::translate("ConfigDialog", "Hide on close", nullptr));
906 checkBoxAlwaysOnTop->setText(QCoreApplication::translate("ConfigDialog", "Always on top", nullptr));
907 tabWidget->setTabText(tabWidget->indexOf(Tab_Settings), QCoreApplication::translate("ConfigDialog", "Settings", nullptr));
908 label_9->setText(QCoreApplication::translate("ConfigDialog", "Select password storage program:", nullptr));
909 radioButtonNative->setText(QCoreApplication::translate("ConfigDialog", "Nati&ve Git/GPG", nullptr));
910 radioButtonPass->setText(QCoreApplication::translate("ConfigDialog", "&Use pass", nullptr));
911 groupBoxNative->setTitle(QCoreApplication::translate("ConfigDialog", "Native", nullptr));
912 labelGitPath->setText(QCoreApplication::translate("ConfigDialog", "Git", nullptr));
913 toolButtonGpg->setText(QCoreApplication::translate("ConfigDialog", "\342\200\246", nullptr));
914 toolButtonGit->setText(QCoreApplication::translate("ConfigDialog", "\342\200\246", nullptr));
915 labelGpgPath->setText(QCoreApplication::translate("ConfigDialog", "GPG", nullptr));
916 labelPwgenPath->setText(QCoreApplication::translate("ConfigDialog", "PWGen", nullptr));
917 toolButtonPwgen->setText(QCoreApplication::translate("ConfigDialog", "\342\200\246", nullptr));
918 groupBoxPass->setTitle(QCoreApplication::translate("ConfigDialog", "Pass", nullptr));
919 labelPassPath->setText(QCoreApplication::translate("ConfigDialog", "pass", nullptr));
920 toolButtonPass->setText(QCoreApplication::translate("ConfigDialog", "\342\200\246", nullptr));
921 zx2c4->setText(QCoreApplication::translate("ConfigDialog", "<html><head/><body><p><a href=\"https://www.passwordstore.org/\"><span style=\" text-decoration: underline;\">www.passwordstore.org</span></a></p></body></html>", nullptr));
922 autodetectButton->setText(QCoreApplication::translate("ConfigDialog", "Autodetect", nullptr));
923 tabWidget->setTabText(tabWidget->indexOf(Tab_Programs), QCoreApplication::translate("ConfigDialog", "Programs", nullptr));
924 QTableWidgetItem *___qtablewidgetitem = profileTable->horizontalHeaderItem(0);
925 ___qtablewidgetitem->setText(QCoreApplication::translate("ConfigDialog", "Name", nullptr));
926 QTableWidgetItem *___qtablewidgetitem1 = profileTable->horizontalHeaderItem(1);
927 ___qtablewidgetitem1->setText(QCoreApplication::translate("ConfigDialog", "Path", nullptr));
928 QTableWidgetItem *___qtablewidgetitem2 = profileTable->horizontalHeaderItem(2);
929 ___qtablewidgetitem2->setText(QCoreApplication::translate("ConfigDialog", "Signing Key", nullptr));
930 addButton->setText(QCoreApplication::translate("ConfigDialog", "Add", nullptr));
931 deleteButton->setText(QCoreApplication::translate("ConfigDialog", "Delete", nullptr));
932 labelStorePath->setText(QCoreApplication::translate("ConfigDialog", "Current path", nullptr));
933 toolButtonStore->setText(QCoreApplication::translate("ConfigDialog", "\342\200\246", nullptr));
934 tabWidget->setTabText(tabWidget->indexOf(Tab_Profiles), QCoreApplication::translate("ConfigDialog", "Profiles", nullptr));
935 label_2->setText(QCoreApplication::translate("ConfigDialog", "Templates add extra fields in the password generation dialogue, and in the password view.", nullptr));
936 checkBoxUseTemplate->setText(QCoreApplication::translate("ConfigDialog", "Use template", nullptr));
937#if QT_CONFIG(tooltip)
938 checkBoxTemplateAllFields->setToolTip(QCoreApplication::translate("ConfigDialog", "Show all lines beginning with a word followed by a colon as fields in password fields, not only the listed ones", nullptr));
939#endif // QT_CONFIG(tooltip)
940 checkBoxTemplateAllFields->setText(QCoreApplication::translate("ConfigDialog", "Show all fields templated", nullptr));
941 plainTextEditTemplate->setPlainText(QCoreApplication::translate("ConfigDialog", "login\n"
942"URL\n"
943"e-mail", nullptr));
944 tabWidget->setTabText(tabWidget->indexOf(Tab_Template), QCoreApplication::translate("ConfigDialog", "Template", nullptr));
945 label->setText(QCoreApplication::translate("ConfigDialog", "<a href=\"https://QtPass.org/\">QtPass</a> version ", nullptr));
946 } // retranslateUi
947
948};
949
950namespace Ui {
952} // namespace Ui
953
954QT_END_NAMESPACE
955
956#endif // UI_CONFIGDIALOG_H
The ConfigDialog handles the configuration interface.
QCheckBox * checkBoxAutoclear
QRadioButton * radioButtonNative
QVBoxLayout * verticalLayout_3
QVBoxLayout * Layout_PasswordGeneration
QCheckBox * checkBoxHideOnClose
QHBoxLayout * horizontalLayout_15
QCheckBox * checkBoxAddGPGId
QVBoxLayout * verticalLayout
QSpacerItem * horizontalSpacer_8
QSpacerItem * horizontalSpacer_6
QLineEdit * lineEditPasswordChars
QLabel * labelPanelSeconds
QCheckBox * checkBoxUsePwgen
QTableWidget * profileTable
QHBoxLayout * horizontalLayout
QCheckBox * checkBoxHidePassword
QToolButton * toolButtonPass
QHBoxLayout * horizontalLayout_3
QPlainTextEdit * plainTextEditTemplate
QLineEdit * storePath
QLineEdit * pwgenPath
QLineEdit * passPath
QDialogButtonBox * buttonBox
QVBoxLayout * Extensions
QHBoxLayout * horizontalLayout_4
void setupUi(QDialog *ConfigDialog)
QToolButton * addButton
QHBoxLayout * horizontalLayout_6
QCheckBox * checkBoxUseGit
QHBoxLayout * horizontalLayout_13
QCheckBox * checkBoxAvoidCapitals
QSpacerItem * horizontalSpacer_2
QSpinBox * spinBoxAutoclearPanelSeconds
QCheckBox * checkBoxSelection
QSpacerItem * horizontalSpacer_3
QTabWidget * tabWidget
QGridLayout * gridLayout_11
QSpinBox * spinBoxAutoclearSeconds
QCheckBox * checkBoxLessRandom
QLineEdit * gpgPath
QCheckBox * checkBoxAutoclearPanel
QCheckBox * checkBoxDisplayAsIs
QHBoxLayout * horizontalLayout_19
QHBoxLayout * horizontalLayout_14
QToolButton * toolButtonGit
QHBoxLayout * horizontalLayout_8
QHBoxLayout * horizontalLayout_12
QSpacerItem * horizontalSpacer_5
QCheckBox * checkBoxUseTrayIcon
QSpacerItem * horizontalSpacer_9
QHBoxLayout * horizontalLayout_16
QToolButton * toolButtonPwgen
QCheckBox * checkBoxUseSymbols
QVBoxLayout * verticalLayout_2
QGridLayout * gridLayout
QRadioButton * radioButtonPass
QHBoxLayout * horizontalLayout_11
QCheckBox * checkBoxUseQrencode
QHBoxLayout * horizontalLayout_10
QVBoxLayout * Layout_System
QVBoxLayout * Layout_Clipboard
QWidget * Tab_Settings
QCheckBox * checkBoxStartMinimized
QCheckBox * checkBoxHideContent
QVBoxLayout * verticalLayout_4
QSpinBox * spinBoxPasswordLength
QCheckBox * checkBoxAvoidNumbers
QToolButton * deleteButton
QCheckBox * checkBoxTemplateAllFields
QCheckBox * checkBoxNoLineWrapping
QHBoxLayout * horizontalLayout_2
QSpacerItem * horizontalSpacer
QCheckBox * checkBoxAutoPush
QFormLayout * formLayout
QGroupBox * groupBoxNative
QHBoxLayout * horizontalLayout_5
QGroupBox * groupBoxPass
void retranslateUi(QDialog *ConfigDialog)
QCheckBox * checkBoxUseOtp
QLineEdit * gitPath
QToolButton * autodetectButton
QComboBox * passwordCharTemplateSelector
QFormLayout * formLayout_2
QCheckBox * checkBoxUseMonospace
QSpacerItem * verticalSpacer
QCheckBox * checkBoxAlwaysOnTop
QHBoxLayout * horizontalLayout_9
QToolButton * toolButtonStore
QCheckBox * checkBoxAutoPull
QHBoxLayout * horizontalLayout_7
QComboBox * comboBoxClipboard
QSpacerItem * horizontalSpacer_7
QCheckBox * checkBoxUseTemplate
QToolButton * toolButtonGpg
QVBoxLayout * Layout_Git
QVBoxLayout * Layout_PasswordBehaviour
QVBoxLayout * verticalLayout_5
QVBoxLayout * verticalLayout_6
QSpacerItem * horizontalSpacer_4
QLabel * labelPasswordChars