diff options
Diffstat (limited to 'src/gui/DatabaseOpenWidget.ui')
-rw-r--r-- | src/gui/DatabaseOpenWidget.ui | 331 |
1 files changed, 183 insertions, 148 deletions
diff --git a/src/gui/DatabaseOpenWidget.ui b/src/gui/DatabaseOpenWidget.ui index 60b2feadc..a7510baba 100644 --- a/src/gui/DatabaseOpenWidget.ui +++ b/src/gui/DatabaseOpenWidget.ui @@ -2,6 +2,14 @@ <ui version="4.0"> <class>DatabaseOpenWidget</class> <widget class="QWidget" name="DatabaseOpenWidget"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>588</width> + <height>448</height> + </rect> + </property> <property name="accessibleName"> <string>Unlock KeePassXC Database</string> </property> @@ -99,7 +107,7 @@ </spacer> </item> <item> - <widget class="QFrame" name="horizontalFrame"> + <widget class="QFrame" name="loginFrame"> <property name="minimumSize"> <size> <width>550</width> @@ -157,31 +165,14 @@ </widget> </item> <item> - <layout class="QHBoxLayout" name="passwordLayout"> - <item> - <widget class="PasswordEdit" name="editPassword"> - <property name="accessibleName"> - <string>Password field</string> - </property> - <property name="echoMode"> - <enum>QLineEdit::Password</enum> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="buttonTogglePassword"> - <property name="toolTip"> - <string>Toggle password visibility</string> - </property> - <property name="accessibleName"> - <string>Toggle password visibility</string> - </property> - <property name="checkable"> - <bool>true</bool> - </property> - </widget> - </item> - </layout> + <widget class="PasswordEdit" name="editPassword"> + <property name="accessibleName"> + <string>Password field</string> + </property> + <property name="echoMode"> + <enum>QLineEdit::Password</enum> + </property> + </widget> </item> <item> <spacer name="verticalSpacer_4"> @@ -235,13 +226,64 @@ <property name="topMargin"> <number>3</number> </property> + <item row="0" column="0"> + <layout class="QHBoxLayout" name="horizontalLayout_4"> + <property name="spacing"> + <number>5</number> + </property> + <item> + <widget class="QLabel" name="keyFileLabel"> + <property name="text"> + <string>Key File:</string> + </property> + <property name="buddy"> + <cstring>keyFileLineEdit</cstring> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="keyFileLabelHelp"> + <property name="cursor"> + <cursorShape>PointingHandCursor</cursorShape> + </property> + <property name="focusPolicy"> + <enum>Qt::ClickFocus</enum> + </property> + <property name="toolTip"> + <string><p>In addition to a password, you can use a secret file to enhance the security of your database. This file can be generated in your database's security settings.</p><p>This is <strong>not</strong> your *.kdbx database file!<br>If you do not have a key file, leave this field empty.</p><p>Click for more information...</p></string> + </property> + <property name="accessibleName"> + <string>Key file help</string> + </property> + <property name="styleSheet"> + <string notr="true">QToolButton { + border: none; + background: none; +}</string> + </property> + <property name="text"> + <string>?</string> + </property> + <property name="iconSize"> + <size> + <width>12</width> + <height>12</height> + </size> + </property> + <property name="popupMode"> + <enum>QToolButton::InstantPopup</enum> + </property> + </widget> + </item> + </layout> + </item> <item row="1" column="3"> <layout class="QGridLayout" name="gridLayout"> <property name="spacing"> <number>0</number> </property> <item row="1" column="2"> - <widget class="QProgressBar" name="yubikeyProgress"> + <widget class="QProgressBar" name="hardwareKeyProgress"> <property name="maximumSize"> <size> <width>16777215</width> @@ -263,7 +305,7 @@ </widget> </item> <item row="0" column="2"> - <widget class="QComboBox" name="comboChallengeResponse"> + <widget class="QComboBox" name="challengeResponseCombo"> <property name="enabled"> <bool>false</bool> </property> @@ -283,18 +325,80 @@ </item> </layout> </item> - <item row="0" column="4"> - <widget class="QPushButton" name="buttonBrowseFile"> - <property name="toolTip"> - <string>Browse for key file</string> - </property> - <property name="accessibleName"> - <string>Browse for key file</string> - </property> - <property name="text"> - <string>Browse...</string> + <item row="1" column="0"> + <layout class="QVBoxLayout" name="verticalLayout_7"> + <property name="spacing"> + <number>2</number> </property> - </widget> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_6"> + <property name="spacing"> + <number>5</number> + </property> + <item> + <widget class="QLabel" name="hardwareKeyLabel"> + <property name="text"> + <string>Hardware Key:</string> + </property> + <property name="buddy"> + <cstring>challengeResponseCombo</cstring> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="hardwareKeyLabelHelp"> + <property name="cursor"> + <cursorShape>PointingHandCursor</cursorShape> + </property> + <property name="focusPolicy"> + <enum>Qt::ClickFocus</enum> + </property> + <property name="toolTip"> + <string><p>You can use a hardware security key such as a <strong>YubiKey</strong> or <strong>OnlyKey</strong> with slots configured for HMAC-SHA1.</p> +<p>Click for more information...</p></string> + </property> + <property name="accessibleName"> + <string>Hardware key help</string> + </property> + <property name="styleSheet"> + <string notr="true">QToolButton { + border: none; + background: none; +}</string> + </property> + <property name="text"> + <string notr="true">?</string> + </property> + <property name="iconSize"> + <size> + <width>12</width> + <height>12</height> + </size> + </property> + <property name="popupMode"> + <enum>QToolButton::InstantPopup</enum> + </property> + </widget> + </item> + </layout> + </item> + <item> + <spacer name="verticalSpacer_6"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Fixed</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>0</width> + <height>2</height> + </size> + </property> + </spacer> + </item> + </layout> </item> <item row="0" column="3"> <layout class="QGridLayout" name="gridLayout_2"> @@ -302,10 +406,7 @@ <number>0</number> </property> <item row="0" column="1"> - <widget class="QComboBox" name="comboKeyFile"> - <property name="enabled"> - <bool>true</bool> - </property> + <widget class="QLineEdit" name="keyFileLineEdit"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> @@ -313,128 +414,64 @@ </sizepolicy> </property> <property name="accessibleName"> - <string>Key file selection</string> - </property> - <property name="editable"> - <bool>true</bool> + <string>Key file to unlock the database</string> </property> </widget> </item> </layout> </item> - <item row="1" column="0"> - <layout class="QHBoxLayout" name="horizontalLayout_6"> + <item row="0" column="4"> + <widget class="QPushButton" name="buttonBrowseFile"> + <property name="toolTip"> + <string>Browse for key file</string> + </property> + <property name="accessibleName"> + <string>Browse for key file</string> + </property> + <property name="text"> + <string>Browse...</string> + </property> + </widget> + </item> + <item row="1" column="4"> + <layout class="QVBoxLayout" name="verticalLayout_3"> <property name="spacing"> - <number>5</number> + <number>0</number> </property> <item> - <widget class="QLabel" name="hardwareKeyLabel"> - <property name="text"> - <string>Hardware Key:</string> - </property> - <property name="buddy"> - <cstring>comboChallengeResponse</cstring> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="hardwareKeyLabelHelp"> - <property name="cursor"> - <cursorShape>PointingHandCursor</cursorShape> + <widget class="QPushButton" name="buttonRedetectYubikey"> + <property name="enabled"> + <bool>true</bool> </property> <property name="toolTip"> - <string><p>You can use a hardware security key such as a <strong>YubiKey</strong> or <strong>OnlyKey</strong> with slots configured for HMAC-SHA1.</p> -<p>Click for more information...</p></string> + <string>Refresh hardware tokens</string> </property> <property name="accessibleName"> - <string>Hardware key help</string> - </property> - <property name="styleSheet"> - <string notr="true">QToolButton { - border: none; - background: none; -}</string> + <string>Refresh hardware tokens</string> </property> <property name="text"> - <string notr="true">?</string> - </property> - <property name="iconSize"> - <size> - <width>12</width> - <height>12</height> - </size> - </property> - <property name="popupMode"> - <enum>QToolButton::InstantPopup</enum> + <string>Refresh</string> </property> </widget> </item> - </layout> - </item> - <item row="0" column="0"> - <layout class="QHBoxLayout" name="horizontalLayout_4"> - <property name="spacing"> - <number>5</number> - </property> <item> - <widget class="QLabel" name="keyFileLabel"> - <property name="text"> - <string>Key File:</string> + <spacer name="verticalSpacer_5"> + <property name="orientation"> + <enum>Qt::Vertical</enum> </property> - <property name="buddy"> - <cstring>comboKeyFile</cstring> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="keyFileLabelHelp"> - <property name="cursor"> - <cursorShape>PointingHandCursor</cursorShape> - </property> - <property name="toolTip"> - <string><p>In addition to your master password, you can use a secret file to enhance the security of your database. Such a file can be generated in your database's security settings.</p><p>This is <strong>not</strong> your *.kdbx database file!<br>If you do not have a key file, leave the field empty.</p><p>Click for more information...</p></string> - </property> - <property name="accessibleName"> - <string>Key file help</string> + <property name="sizeType"> + <enum>QSizePolicy::Fixed</enum> </property> - <property name="styleSheet"> - <string notr="true">QToolButton { - border: none; - background: none; -}</string> - </property> - <property name="text"> - <string>?</string> - </property> - <property name="iconSize"> + <property name="sizeHint" stdset="0"> <size> - <width>12</width> - <height>12</height> + <width>0</width> + <height>2</height> </size> </property> - <property name="popupMode"> - <enum>QToolButton::InstantPopup</enum> - </property> - </widget> + </spacer> </item> </layout> </item> - <item row="1" column="4"> - <widget class="QPushButton" name="buttonRedetectYubikey"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="toolTip"> - <string>Refresh hardware tokens</string> - </property> - <property name="accessibleName"> - <string>Refresh hardware tokens</string> - </property> - <property name="text"> - <string>Refresh</string> - </property> - </widget> - </item> </layout> </item> </layout> @@ -549,11 +586,6 @@ </widget> <customwidgets> <customwidget> - <class>PasswordEdit</class> - <extends>QLineEdit</extends> - <header>gui/PasswordEdit.h</header> - </customwidget> - <customwidget> <class>MessageWidget</class> <extends>QWidget</extends> <header>gui/MessageWidget.h</header> @@ -564,14 +596,17 @@ <extends>QLabel</extends> <header>gui/widgets/ElidedLabel.h</header> </customwidget> + <customwidget> + <class>PasswordEdit</class> + <extends>QLineEdit</extends> + <header>gui/PasswordEdit.h</header> + </customwidget> </customwidgets> <tabstops> <tabstop>editPassword</tabstop> - <tabstop>buttonTogglePassword</tabstop> - <tabstop>comboKeyFile</tabstop> + <tabstop>keyFileLineEdit</tabstop> <tabstop>buttonBrowseFile</tabstop> - <tabstop>hardwareKeyLabelHelp</tabstop> - <tabstop>comboChallengeResponse</tabstop> + <tabstop>challengeResponseCombo</tabstop> <tabstop>buttonRedetectYubikey</tabstop> <tabstop>checkTouchID</tabstop> </tabstops> |