diff options
Diffstat (limited to 'src/gui/entry/EditEntryWidgetMain.ui')
-rw-r--r-- | src/gui/entry/EditEntryWidgetMain.ui | 275 |
1 files changed, 135 insertions, 140 deletions
diff --git a/src/gui/entry/EditEntryWidgetMain.ui b/src/gui/entry/EditEntryWidgetMain.ui index 54140fcd9..f96481a3f 100644 --- a/src/gui/entry/EditEntryWidgetMain.ui +++ b/src/gui/entry/EditEntryWidgetMain.ui @@ -6,11 +6,14 @@ <rect> <x>0</x> <y>0</y> - <width>329</width> - <height>381</height> + <width>496</width> + <height>420</height> </rect> </property> - <layout class="QGridLayout" name="gridLayout_3"> + <layout class="QGridLayout" name="gridLayout"> + <property name="leftMargin"> + <number>0</number> + </property> <property name="topMargin"> <number>0</number> </property> @@ -20,127 +23,90 @@ <property name="bottomMargin"> <number>0</number> </property> - <item row="5" column="0" alignment="Qt::AlignRight"> - <widget class="QLabel" name="urlLabel"> - <property name="text"> - <string>URL:</string> - </property> - </widget> - </item> - <item row="5" column="1"> - <layout class="QHBoxLayout" name="horizontalLayout_6"> + <property name="horizontalSpacing"> + <number>10</number> + </property> + <property name="verticalSpacing"> + <number>8</number> + </property> + <item row="6" column="1"> + <layout class="QVBoxLayout" name="verticalLayout_2"> <item> - <widget class="URLEdit" name="urlEdit"> + <widget class="QPlainTextEdit" name="notesEdit"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>1</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>0</width> + <height>100</height> + </size> + </property> <property name="accessibleName"> - <string>Url field</string> + <string>Notes field</string> </property> </widget> </item> <item> - <widget class="QToolButton" name="fetchFaviconButton"> - <property name="toolTip"> - <string>Download favicon for URL</string> + <widget class="QLabel" name="notesHint"> + <property name="visible"> + <bool>true</bool> </property> - <property name="accessibleName"> - <string>Download favicon for URL</string> + <property name="text"> + <string>Toggle the checkbox to reveal the notes section.</string> + </property> + <property name="alignment"> + <set>Qt::AlignTop</set> </property> </widget> </item> </layout> </item> - <item row="4" column="1"> - <widget class="PasswordGeneratorWidget" name="passwordGenerator" native="true"/> - </item> - <item row="2" column="0" alignment="Qt::AlignRight"> - <widget class="QLabel" name="passwordLabel"> - <property name="text"> - <string>Password:</string> + <item row="1" column="1"> + <widget class="QComboBox" name="usernameComboBox"> + <property name="accessibleName"> + <string>Username field</string> </property> </widget> </item> - <item row="3" column="1"> - <layout class="QHBoxLayout" name="horizontalLayout_4"> + <item row="6" column="0"> + <layout class="QVBoxLayout" name="verticalLayout"> <item> - <widget class="PasswordEdit" name="passwordRepeatEdit"> - <property name="accessibleName"> - <string>Repeat password field</string> - </property> - <property name="echoMode"> - <enum>QLineEdit::Password</enum> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="togglePasswordGeneratorButton"> + <widget class="QCheckBox" name="notesEnabled"> <property name="toolTip"> - <string>Toggle password generator</string> - </property> - <property name="accessibleName"> - <string>Toggle password generator</string> - </property> - <property name="checkable"> - <bool>true</bool> + <string>Toggle notes visible</string> </property> - </widget> - </item> - </layout> - </item> - <item row="2" column="1"> - <layout class="QHBoxLayout" name="horizontalLayout"> - <item> - <widget class="PasswordEdit" name="passwordEdit"> <property name="accessibleName"> - <string>Password field</string> + <string>Toggle notes visible</string> </property> - <property name="echoMode"> - <enum>QLineEdit::Password</enum> + <property name="text"> + <string>Notes:</string> </property> </widget> </item> <item> - <widget class="QToolButton" name="togglePasswordButton"> - <property name="toolTip"> - <string>Toggle password visibility</string> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> </property> - <property name="accessibleName"> - <string>Toggle password visibility</string> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> </property> - <property name="checkable"> - <bool>true</bool> - </property> - </widget> + </spacer> </item> </layout> </item> - <item row="3" column="0" alignment="Qt::AlignRight"> - <widget class="QLabel" name="passwordRepeatLabel"> - <property name="text"> - <string>Repeat:</string> - </property> - </widget> - </item> - <item row="0" column="0" alignment="Qt::AlignRight"> - <widget class="QLabel" name="titleLabel"> - <property name="text"> - <string>Title:</string> - </property> - </widget> - </item> - <item row="9" column="0" alignment="Qt::AlignLeft|Qt::AlignTop"> - <widget class="QCheckBox" name="notesEnabled"> - <property name="toolTip"> - <string>Toggle notes visible</string> - </property> - <property name="accessibleName"> - <string>Toggle notes visible</string> - </property> - <property name="text"> - <string>Notes</string> - </property> - </widget> - </item> - <item row="7" column="1"> + <item row="5" column="1"> <layout class="QHBoxLayout" name="horizontalLayout_2"> + <property name="spacing"> + <number>8</number> + </property> <item> <widget class="QDateTimeEdit" name="expireDatePicker"> <property name="enabled"> @@ -175,42 +141,60 @@ </item> </layout> </item> - <item row="9" column="1"> - <widget class="QPlainTextEdit" name="notesEdit"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> - <horstretch>0</horstretch> - <verstretch>1</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>0</width> - <height>100</height> - </size> + <item row="2" column="0"> + <widget class="QLabel" name="passwordLabel"> + <property name="text"> + <string>Password:</string> </property> - <property name="accessibleName"> - <string>Notes field</string> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> - <item row="9" column="1"> - <widget class="QLabel" name="notesHint"> - <property name="visible"> - <bool>false</bool> - </property> + <item row="3" column="0"> + <widget class="QLabel" name="urlLabel"> <property name="text"> - <string>Toggle the checkbox to reveal the notes section.</string> + <string>URL:</string> </property> <property name="alignment"> - <set>Qt::AlignTop</set> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> - <item row="1" column="0" alignment="Qt::AlignRight"> - <widget class="QLabel" name="usernameLabel"> + <item row="3" column="1"> + <layout class="QHBoxLayout" name="horizontalLayout_6"> + <property name="spacing"> + <number>8</number> + </property> + <item> + <widget class="URLEdit" name="urlEdit"> + <property name="accessibleName"> + <string>Url field</string> + </property> + <property name="placeholderText"> + <string>https://example.com</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="fetchFaviconButton"> + <property name="toolTip"> + <string>Download favicon for URL</string> + </property> + <property name="accessibleName"> + <string>Download favicon for URL</string> + </property> + </widget> + </item> + </layout> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="titleLabel"> <property name="text"> - <string>Username:</string> + <string>Title:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> @@ -221,36 +205,50 @@ </property> </widget> </item> - <item row="1" column="1"> - <widget class="QComboBox" name="usernameComboBox"> - <property name="accessibleName"> - <string>Username field</string> + <item row="1" column="0"> + <widget class="QLabel" name="usernameLabel"> + <property name="text"> + <string>Username:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> - <item row="7" column="0" alignment="Qt::AlignRight"> - <widget class="QCheckBox" name="expireCheck"> - <property name="toolTip"> - <string>Toggle expiration</string> - </property> + <item row="2" column="1"> + <widget class="PasswordEdit" name="passwordEdit"> <property name="accessibleName"> - <string>Toggle expiration</string> + <string>Password field</string> </property> - <property name="text"> - <string>Expires</string> + <property name="echoMode"> + <enum>QLineEdit::Password</enum> </property> </widget> </item> + <item row="5" column="0"> + <layout class="QHBoxLayout" name="horizontalLayout"> + <property name="spacing"> + <number>0</number> + </property> + <item> + <widget class="QCheckBox" name="expireCheck"> + <property name="toolTip"> + <string>Toggle expiration</string> + </property> + <property name="accessibleName"> + <string>Toggle expiration</string> + </property> + <property name="text"> + <string>Expires:</string> + </property> + </widget> + </item> + </layout> + </item> </layout> </widget> <customwidgets> <customwidget> - <class>PasswordGeneratorWidget</class> - <extends>QWidget</extends> - <header>gui/PasswordGeneratorWidget.h</header> - <container>1</container> - </customwidget> - <customwidget> <class>PasswordEdit</class> <extends>QLineEdit</extends> <header>gui/PasswordEdit.h</header> @@ -267,9 +265,6 @@ <tabstop>titleEdit</tabstop> <tabstop>usernameComboBox</tabstop> <tabstop>passwordEdit</tabstop> - <tabstop>togglePasswordButton</tabstop> - <tabstop>passwordRepeatEdit</tabstop> - <tabstop>togglePasswordGeneratorButton</tabstop> <tabstop>urlEdit</tabstop> <tabstop>fetchFaviconButton</tabstop> <tabstop>expireCheck</tabstop> |