mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-25 05:56:51 -05:00
a90a577ee1
When WITH_XC_NETWORKING is defined, create a QToolButton beside the Edit Entry -> Entry -> URL, which when pressed, acts as though the Edit Entry -> Icon -> Download Favicon button is pressed. This button is disabled (grayed-out) when the URL text is empty, and enabled when the text is present. Fixes #936 * Add favicon download button * Remove the progress dialog that appears when downloading an entry's URL's favicon since (when working correctly) it disappears before it can be read. When downloading icons from the button located next to the URL text box, display a message panel that confirms the download was a success. * Do not show successful icon download msg if icon alread exists
207 lines
5.7 KiB
XML
207 lines
5.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>EditEntryWidgetMain</class>
|
|
<widget class="QWidget" name="EditEntryWidgetMain">
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<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">
|
|
<item>
|
|
<widget class="QLineEdit" name="urlEdit"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="fetchFaviconButton">
|
|
</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>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<item>
|
|
<widget class="PasswordEdit" name="passwordRepeatEdit">
|
|
<property name="echoMode">
|
|
<enum>QLineEdit::Password</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="togglePasswordGeneratorButton">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="PasswordEdit" name="passwordEdit">
|
|
<property name="echoMode">
|
|
<enum>QLineEdit::Password</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="togglePasswordButton">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</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="text">
|
|
<string>Notes</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="1">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QDateTimeEdit" name="expireDatePicker">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="calendarPopup">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="expirePresets">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>Presets</string>
|
|
</property>
|
|
</widget>
|
|
</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>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="9" column="1">
|
|
<widget class="QLabel" name="notesHint">
|
|
<property name="visible">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Toggle the checkbox to reveal the notes section.</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignTop</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" alignment="Qt::AlignRight">
|
|
<widget class="QLabel" name="usernameLabel">
|
|
<property name="text">
|
|
<string>Username:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="titleEdit"/>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLineEdit" name="usernameEdit"/>
|
|
</item>
|
|
<item row="7" column="0" alignment="Qt::AlignRight">
|
|
<widget class="QCheckBox" name="expireCheck">
|
|
<property name="text">
|
|
<string>Expires</string>
|
|
</property>
|
|
</widget>
|
|
</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>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<tabstops>
|
|
<tabstop>titleEdit</tabstop>
|
|
<tabstop>usernameEdit</tabstop>
|
|
<tabstop>passwordEdit</tabstop>
|
|
<tabstop>passwordRepeatEdit</tabstop>
|
|
<tabstop>togglePasswordButton</tabstop>
|
|
<tabstop>togglePasswordGeneratorButton</tabstop>
|
|
<tabstop>urlEdit</tabstop>
|
|
<tabstop>expireDatePicker</tabstop>
|
|
<tabstop>expirePresets</tabstop>
|
|
<tabstop>notesEdit</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|