diff options
author | saturneric <[email protected]> | 2025-02-01 23:21:59 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-02-01 23:21:59 +0000 |
commit | d06c31abe7e2540518c4d3471acd381edfababa3 (patch) | |
tree | 7efec63216119a6a3b77208328ba59419acd905f /ui/KeyGenDialog.ui | |
parent | fix: issues found on unit test mode (diff) | |
download | GpgFrontend-d06c31abe7e2540518c4d3471acd381edfababa3.tar.gz GpgFrontend-d06c31abe7e2540518c4d3471acd381edfababa3.zip |
feat: upgrade KeyGenDialog to meet easy and advanced requirements
Diffstat (limited to 'ui/KeyGenDialog.ui')
-rw-r--r-- | ui/KeyGenDialog.ui | 355 |
1 files changed, 355 insertions, 0 deletions
diff --git a/ui/KeyGenDialog.ui b/ui/KeyGenDialog.ui new file mode 100644 index 00000000..254cdb92 --- /dev/null +++ b/ui/KeyGenDialog.ui @@ -0,0 +1,355 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>KeyGenDialog</class> + <widget class="QDialog" name="KeyGenDialog"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>475</width> + <height>568</height> + </rect> + </property> + <property name="windowTitle"> + <string>Key Generation</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <property name="leftMargin"> + <number>5</number> + </property> + <property name="topMargin"> + <number>5</number> + </property> + <property name="rightMargin"> + <number>5</number> + </property> + <property name="bottomMargin"> + <number>5</number> + </property> + <item> + <layout class="QGridLayout" name="gridLayout_3"> + <property name="topMargin"> + <number>5</number> + </property> + <item row="4" column="0"> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>Comment</string> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>Email</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Name</string> + </property> + </widget> + </item> + <item row="2" column="1" colspan="2"> + <widget class="QLineEdit" name="nameEdit"/> + </item> + <item row="4" column="1" colspan="2"> + <widget class="QLineEdit" name="commentEdit"/> + </item> + <item row="3" column="1" colspan="2"> + <widget class="QLineEdit" name="emailEdit"/> + </item> + <item row="5" column="0"> + <widget class="QLabel" name="label_6"> + <property name="text"> + <string>Key Database</string> + </property> + </widget> + </item> + <item row="5" column="1" colspan="2"> + <widget class="QComboBox" name="keyDBIndexComboBox"/> + </item> + </layout> + </item> + <item> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QTabWidget" name="tabWidget"> + <property name="tabPosition"> + <enum>QTabWidget::TabPosition::North</enum> + </property> + <property name="currentIndex"> + <number>0</number> + </property> + <property name="documentMode"> + <bool>true</bool> + </property> + <widget class="QWidget" name="tab"> + <attribute name="title"> + <string>Easy Mode</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <item> + <layout class="QGridLayout" name="gridLayout"> + <item row="4" column="0"> + <widget class="QLabel" name="label_4"> + <property name="text"> + <string>Validity Period</string> + </property> + </widget> + </item> + <item row="0" column="1" colspan="2"> + <widget class="QComboBox" name="easyAlgoComboBox"/> + </item> + <item row="4" column="1" colspan="2"> + <widget class="QComboBox" name="easyValidityPeriodComboBox"/> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="label_5"> + <property name="text"> + <string>Algorithm</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Orientation::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QWidget" name="tab_2"> + <attribute name="title"> + <string>Primary Key</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout_4"> + <item> + <layout class="QGridLayout" name="gridLayout_2"> + <item row="3" column="0"> + <widget class="QLabel" name="label_13"> + <property name="text"> + <string>Key Length</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_7"> + <property name="text"> + <string>Validity Period</string> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="label_9"> + <property name="text"> + <string>Algorithm</string> + </property> + </widget> + </item> + <item row="4" column="0"> + <widget class="QLabel" name="label_8"> + <property name="text"> + <string>Usage</string> + </property> + </widget> + </item> + <item row="0" column="1" colspan="2"> + <widget class="QComboBox" name="pAlgoComboBox"/> + </item> + <item row="4" column="1" colspan="2"> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QCheckBox" name="pEncrCheckBox"> + <property name="text"> + <string>Encrypt</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="pSignCheckBox"> + <property name="text"> + <string>Sign</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="pAuthCheckBox"> + <property name="text"> + <string>Authentication</string> + </property> + </widget> + </item> + </layout> + </item> + <item row="3" column="1" colspan="2"> + <widget class="QComboBox" name="pKeyLengthComboBox"/> + </item> + <item row="1" column="1" colspan="2"> + <widget class="QDateTimeEdit" name="pValidityPeriodDateTimeEdit"/> + </item> + <item row="5" column="0" colspan="3"> + <widget class="QCheckBox" name="noPassphraseCheckBox"> + <property name="text"> + <string>No Passphrase</string> + </property> + </widget> + </item> + <item row="6" column="0" colspan="3"> + <widget class="QCheckBox" name="pExpireCheckBox"> + <property name="text"> + <string>Non Expired</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <spacer name="verticalSpacer_2"> + <property name="orientation"> + <enum>Qt::Orientation::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QWidget" name="tab_3"> + <attribute name="title"> + <string>Subkey</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout_7"> + <item> + <layout class="QGridLayout" name="gridLayout_4"> + <item row="1" column="0"> + <widget class="QLabel" name="label_10"> + <property name="text"> + <string>Validity Period</string> + </property> + </widget> + </item> + <item row="4" column="0"> + <widget class="QLabel" name="label_12"> + <property name="text"> + <string>Usage</string> + </property> + </widget> + </item> + <item row="1" column="1" colspan="2"> + <widget class="QDateTimeEdit" name="sValidityPeriodDateTimeEdit"/> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="label_14"> + <property name="text"> + <string>Key Length</string> + </property> + </widget> + </item> + <item row="3" column="1" colspan="2"> + <widget class="QComboBox" name="sKeyLengthComboBox"/> + </item> + <item row="0" column="1" colspan="2"> + <widget class="QComboBox" name="sAlgoComboBox"/> + </item> + <item row="4" column="1" colspan="2"> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <widget class="QCheckBox" name="sEncrCheckBox"> + <property name="text"> + <string>Encrypt</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="sSignCheckBox"> + <property name="text"> + <string>Sign</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="sAuthCheckBox"> + <property name="text"> + <string>Authentication</string> + </property> + </widget> + </item> + </layout> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="label_11"> + <property name="text"> + <string>Algorithm</string> + </property> + </widget> + </item> + <item row="5" column="0" colspan="3"> + <widget class="QCheckBox" name="sExpireCheckBox"> + <property name="text"> + <string>Non Expired</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <spacer name="verticalSpacer_3"> + <property name="orientation"> + <enum>Qt::Orientation::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </widget> + </item> + </layout> + </item> + <item> + <widget class="Line" name="line"> + <property name="orientation"> + <enum>Qt::Orientation::Horizontal</enum> + </property> + </widget> + </item> + <item> + <widget class="QPlainTextEdit" name="statusPlainTextEdit"> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="generateButton"> + <property name="text"> + <string>Generate</string> + </property> + </widget> + </item> + </layout> + </widget> + <resources/> + <connections/> +</ui> |