This commit is contained in:
Martin Rotter 2020-11-16 15:14:40 +01:00
parent 47096f4be9
commit 5b063cf1af

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>622</width> <width>519</width>
<height>442</height> <height>352</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -15,263 +15,287 @@
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<layout class="QFormLayout" name="formLayout"> <widget class="QTabWidget" name="tabWidget">
<item row="0" column="0"> <property name="currentIndex">
<widget class="QLabel" name="m_lblParentCategory"> <number>0</number>
<property name="text"> </property>
<string>Parent category</string> <widget class="QWidget" name="tabGeneral">
</property> <attribute name="title">
<property name="buddy"> <string>General</string>
<cstring>m_cmbParentCategory</cstring> </attribute>
</property> <layout class="QFormLayout" name="formLayout_4">
</widget> <item row="0" column="0">
</item> <widget class="QLabel" name="m_lblParentCategory">
<item row="0" column="1">
<widget class="QComboBox" name="m_cmbParentCategory">
<property name="toolTip">
<string>Select parent item for your feed.</string>
</property>
<property name="iconSize">
<size>
<width>12</width>
<height>12</height>
</size>
</property>
<property name="frame">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Type</string>
</property>
<property name="buddy">
<cstring>m_cmbType</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="m_cmbType">
<property name="toolTip">
<string>Select type of the standard feed.</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Encoding</string>
</property>
<property name="buddy">
<cstring>m_cmbEncoding</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="m_cmbEncoding">
<property name="toolTip">
<string>Select encoding of the standard feed. If you are unsure about the encoding, then select &quot;UTF-8&quot; encoding.</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Auto-update</string>
</property>
<property name="buddy">
<cstring>m_cmbAutoUpdateType</cstring>
</property>
</widget>
</item>
<item row="3" column="1">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QComboBox" name="m_cmbAutoUpdateType">
<property name="toolTip">
<string>Select the auto-update strategy for this feed. Default auto-update strategy means that the feed will be update in time intervals set in application settings.</string>
</property>
</widget>
</item>
<item>
<widget class="TimeSpinBox" name="m_spinAutoUpdateInterval">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="4" column="0">
<widget class="QLabel" name="m_lblTitle">
<property name="text">
<string>Title</string>
</property>
<property name="buddy">
<cstring>m_txtTitle</cstring>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="LineEditWithStatus" name="m_txtTitle" native="true"/>
</item>
<item row="5" column="0">
<widget class="QLabel" name="m_lblDescription">
<property name="text">
<string>Description</string>
</property>
<property name="buddy">
<cstring>m_txtDescription</cstring>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="LineEditWithStatus" name="m_txtDescription" native="true"/>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>URL</string>
</property>
<property name="buddy">
<cstring>m_txtUrl</cstring>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="LineEditWithStatus" name="m_txtUrl" native="true"/>
</item>
<item row="7" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="m_btnFetchMetadata">
<property name="text"> <property name="text">
<string>Fetch it now</string> <string>Parent category</string>
</property>
<property name="buddy">
<cstring>m_cmbParentCategory</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="0" column="1">
<widget class="LabelWithStatus" name="m_lblFetchMetadata" native="true"> <widget class="QComboBox" name="m_cmbParentCategory">
<property name="toolTip">
<string>Select parent item for your feed.</string>
</property>
<property name="iconSize">
<size>
<width>12</width>
<height>12</height>
</size>
</property>
<property name="frame">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Type</string>
</property>
<property name="buddy">
<cstring>m_cmbType</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="m_cmbType">
<property name="toolTip">
<string>Select type of the standard feed.</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Encoding</string>
</property>
<property name="buddy">
<cstring>m_cmbEncoding</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="m_cmbEncoding">
<property name="toolTip">
<string>Select encoding of the standard feed. If you are unsure about the encoding, then select &quot;UTF-8&quot; encoding.</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="m_lblTitle">
<property name="text">
<string>Title</string>
</property>
<property name="buddy">
<cstring>m_txtTitle</cstring>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="LineEditWithStatus" name="m_txtTitle" native="true"/>
</item>
<item row="4" column="0">
<widget class="QLabel" name="m_lblDescription">
<property name="text">
<string>Description</string>
</property>
<property name="buddy">
<cstring>m_txtDescription</cstring>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="LineEditWithStatus" name="m_txtDescription" native="true"/>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>URL</string>
</property>
<property name="buddy">
<cstring>m_txtUrl</cstring>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="LineEditWithStatus" name="m_txtUrl" native="true"/>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Fetch metadata</string>
</property>
<property name="buddy">
<cstring>m_btnFetchMetadata</cstring>
</property>
</widget>
</item>
<item row="6" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="m_btnFetchMetadata">
<property name="text">
<string>Fetch it now</string>
</property>
</widget>
</item>
<item>
<widget class="LabelWithStatus" name="m_lblFetchMetadata" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
</widget>
</item>
</layout>
</item>
<item row="7" column="0">
<widget class="QLabel" name="m_lblIcon">
<property name="text">
<string>Icon</string>
</property>
<property name="buddy">
<cstring>m_btnIcon</cstring>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QToolButton" name="m_btnIcon">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="layoutDirection"> <property name="minimumSize">
<enum>Qt::RightToLeft</enum> <size>
<width>40</width>
<height>40</height>
</size>
</property>
<property name="toolTip">
<string>Select icon for your feed.</string>
</property>
<property name="text">
<string notr="true"/>
</property>
<property name="iconSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="popupMode">
<enum>QToolButton::InstantPopup</enum>
</property>
<property name="autoRaise">
<bool>false</bool>
</property>
<property name="arrowType">
<enum>Qt::NoArrow</enum>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</item> </widget>
<item row="8" column="0"> <widget class="QWidget" name="tabUpdating">
<widget class="QLabel" name="m_lblIcon"> <attribute name="title">
<property name="text"> <string>Auto-updating</string>
<string>Icon</string> </attribute>
</property> <layout class="QFormLayout" name="formLayout">
<property name="buddy"> <item row="0" column="0">
<cstring>m_btnIcon</cstring> <widget class="QLabel" name="label_6">
</property> <property name="text">
</widget> <string>Auto-update</string>
</item> </property>
<item row="8" column="1"> <property name="buddy">
<widget class="QToolButton" name="m_btnIcon"> <cstring>m_cmbAutoUpdateType</cstring>
<property name="sizePolicy"> </property>
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"> </widget>
<horstretch>0</horstretch> </item>
<verstretch>0</verstretch> <item row="0" column="1">
</sizepolicy> <layout class="QHBoxLayout" name="horizontalLayout">
</property> <item>
<property name="minimumSize"> <widget class="QComboBox" name="m_cmbAutoUpdateType">
<size> <property name="toolTip">
<width>40</width> <string>Select the auto-update strategy for this feed. Default auto-update strategy means that the feed will be update in time intervals set in application settings.</string>
<height>40</height> </property>
</size> </widget>
</property> </item>
<property name="toolTip"> <item>
<string>Select icon for your feed.</string> <widget class="TimeSpinBox" name="m_spinAutoUpdateInterval">
</property> <property name="enabled">
<property name="text"> <bool>false</bool>
<string notr="true"/> </property>
</property> </widget>
<property name="iconSize"> </item>
<size> </layout>
<width>20</width> </item>
<height>20</height> </layout>
</size> </widget>
</property> <widget class="QWidget" name="tabNetwork">
<property name="popupMode"> <attribute name="title">
<enum>QToolButton::InstantPopup</enum> <string>Network</string>
</property> </attribute>
<property name="autoRaise"> <layout class="QFormLayout" name="formLayout_3">
<bool>false</bool> <item row="0" column="0">
</property> <widget class="QGroupBox" name="m_gbAuthentication">
<property name="arrowType"> <property name="toolTip">
<enum>Qt::NoArrow</enum> <string>Some feeds require authentication, including GMail feeds. BASIC, NTLM-2 and DIGEST-MD5 authentication schemes are supported.</string>
</property> </property>
</widget> <property name="title">
</item> <string>Requires HTTP authentication</string>
<item row="9" column="0" colspan="2"> </property>
<widget class="QGroupBox" name="m_gbAuthentication"> <property name="flat">
<property name="toolTip"> <bool>false</bool>
<string>Some feeds require authentication, including GMail feeds. BASIC, NTLM-2 and DIGEST-MD5 authentication schemes are supported.</string> </property>
</property> <property name="checkable">
<property name="title"> <bool>true</bool>
<string>Requires HTTP authentication</string> </property>
</property> <property name="checked">
<property name="flat"> <bool>false</bool>
<bool>false</bool> </property>
</property> <layout class="QFormLayout" name="formLayout_2">
<property name="checkable"> <item row="0" column="0">
<bool>true</bool> <widget class="QLabel" name="label_4">
</property> <property name="text">
<property name="checked"> <string>Username</string>
<bool>false</bool> </property>
</property> <property name="buddy">
<layout class="QFormLayout" name="formLayout_2"> <cstring>m_txtUsername</cstring>
<item row="0" column="0"> </property>
<widget class="QLabel" name="label_4"> </widget>
<property name="text"> </item>
<string>Username</string> <item row="0" column="1">
</property> <widget class="LineEditWithStatus" name="m_txtUsername" native="true"/>
<property name="buddy"> </item>
<cstring>m_txtUsername</cstring> <item row="1" column="0">
</property> <widget class="QLabel" name="label_5">
</widget> <property name="text">
</item> <string>Password</string>
<item row="0" column="1"> </property>
<widget class="LineEditWithStatus" name="m_txtUsername" native="true"/> <property name="buddy">
</item> <cstring>m_txtPassword</cstring>
<item row="1" column="0"> </property>
<widget class="QLabel" name="label_5"> </widget>
<property name="text"> </item>
<string>Password</string> <item row="1" column="1">
</property> <widget class="LineEditWithStatus" name="m_txtPassword" native="true"/>
<property name="buddy"> </item>
<cstring>m_txtPassword</cstring> </layout>
</property> </widget>
</widget> </item>
</item> </layout>
<item row="1" column="1"> </widget>
<widget class="LineEditWithStatus" name="m_txtPassword" native="true"/> </widget>
</item>
</layout>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Fetch metadata</string>
</property>
<property name="buddy">
<cstring>m_btnFetchMetadata</cstring>
</property>
</widget>
</item>
</layout>
</item> </item>
<item> <item>
<widget class="QDialogButtonBox" name="m_buttonBox"> <widget class="QDialogButtonBox" name="m_buttonBox">