diff options
Diffstat (limited to 'plugins/ProfileEditor/forms/profileview.ui')
-rw-r--r-- | plugins/ProfileEditor/forms/profileview.ui | 535 |
1 files changed, 266 insertions, 269 deletions
diff --git a/plugins/ProfileEditor/forms/profileview.ui b/plugins/ProfileEditor/forms/profileview.ui index 630e53d..46e0a68 100644 --- a/plugins/ProfileEditor/forms/profileview.ui +++ b/plugins/ProfileEditor/forms/profileview.ui @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>640</width> - <height>504</height> + <height>510</height> </rect> </property> <property name="minimumSize"> @@ -19,7 +19,7 @@ <property name="windowTitle"> <string>Profile</string> </property> - <layout class="QVBoxLayout" name="verticalLayout"> + <layout class="QVBoxLayout" name="verticalLayout_7"> <item> <widget class="QTabWidget" name="tabWidget"> <property name="currentIndex"> @@ -29,76 +29,58 @@ <attribute name="title"> <string>General</string> </attribute> - <layout class="QFormLayout" name="formLayout"> - <item row="0" column="0"> - <widget class="QLabel" name="name_label"> - <property name="text"> - <string>Name</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QLineEdit" name="name"/> - </item> - <item row="1" column="1"> - <widget class="QCheckBox" name="offTheRecord"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="text"> - <string>Off-the-record</string> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QLineEdit" name="configurationPath"> - <property name="enabled"> - <bool>false</bool> - </property> - </widget> + <layout class="QVBoxLayout" name="verticalLayout_5"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QLabel" name="name"> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="offTheRecord"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Off-the-record</string> + </property> + </widget> + </item> + </layout> </item> - <item row="2" column="0"> - <widget class="QLabel" name="configurationPath_label"> - <property name="text"> + <item> + <widget class="QGroupBox" name="groupBox"> + <property name="title"> <string>Configuration</string> </property> - </widget> - </item> - <item row="4" column="0"> - <widget class="QLabel" name="homepage_label"> - <property name="text"> - <string>Homepage</string> - </property> - </widget> - </item> - <item row="5" column="0"> - <widget class="QLabel" name="newtab_label"> - <property name="text"> - <string>New tab page</string> - </property> - </widget> - </item> - <item row="6" column="0"> - <widget class="QLabel" name="search_label"> - <property name="text"> - <string>Search</string> - </property> - </widget> - </item> - <item row="5" column="1"> - <widget class="QLineEdit" name="newtab"/> - </item> - <item row="6" column="1"> - <widget class="QLineEdit" name="search"/> - </item> - <item row="4" column="1"> - <widget class="QLineEdit" name="homepage"/> - </item> - <item row="3" column="1"> - <widget class="Line" name="line_8"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> + <property name="flat"> + <bool>true</bool> </property> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <item> + <widget class="SettingsTable" name="settings_table"> + <attribute name="horizontalHeaderStretchLastSection"> + <bool>true</bool> + </attribute> + <attribute name="verticalHeaderVisible"> + <bool>false</bool> + </attribute> + <column> + <property name="text"> + <string>Key</string> + </property> + </column> + <column> + <property name="text"> + <string>Value</string> + </property> + </column> + </widget> + </item> + </layout> </widget> </item> </layout> @@ -125,176 +107,150 @@ </property> </widget> </item> - <item row="2" column="0"> - <widget class="QLabel" name="label_5"> - <property name="text"> - <string>Cache Type</string> - </property> + <item row="1" column="1"> + <widget class="QPlainTextEdit" name="acceptLanguage"/> + </item> + <item row="3" column="1"> + <widget class="SettingsTable" name="headers_table"> + <attribute name="horizontalHeaderStretchLastSection"> + <bool>true</bool> + </attribute> + <attribute name="verticalHeaderVisible"> + <bool>false</bool> + </attribute> + <column> + <property name="text"> + <string>Key</string> + </property> + </column> + <column> + <property name="text"> + <string>Value</string> + </property> + </column> </widget> </item> <item row="3" column="0"> - <widget class="QLabel" name="label_6"> + <widget class="QLabel" name="label_2"> <property name="text"> - <string>Cache Size</string> + <string>Headers</string> </property> </widget> </item> - <item row="1" column="1"> - <widget class="QPlainTextEdit" name="acceptLanguage"/> + </layout> + </widget> + <widget class="QWidget" name="storageTab"> + <attribute name="title"> + <string>Storage</string> + </attribute> + <layout class="QFormLayout" name="formLayout_3"> + <item row="0" column="0"> + <widget class="QLabel" name="label_5"> + <property name="text"> + <string>Cache Type</string> + </property> + </widget> </item> - <item row="2" column="1"> - <widget class="QComboBox" name="cacheType"> + <item row="0" column="1"> + <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> - <property name="text"> - <string>Memory Cache</string> - </property> + <widget class="QComboBox" name="cacheType"> + <item> + <property name="text"> + <string>Memory Cache</string> + </property> + </item> + <item> + <property name="text"> + <string>Disk Cache</string> + </property> + </item> + <item> + <property name="text"> + <string>Disabled</string> + </property> + </item> + </widget> </item> <item> - <property name="text"> - <string>Disk Cache</string> - </property> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> </item> <item> - <property name="text"> - <string>Disabled</string> - </property> + <widget class="QPushButton" name="clearCache_pushButton"> + <property name="text"> + <string>Clear Cache</string> + </property> + </widget> </item> - </widget> - </item> - <item row="3" column="1"> - <widget class="QLineEdit" name="cacheSize"/> + </layout> </item> - <item row="6" column="0"> - <widget class="QLabel" name="storagePath_label"> + <item row="1" column="0"> + <widget class="QLabel" name="label_6"> <property name="text"> - <string>Storage Path</string> + <string>Cache Size</string> </property> </widget> </item> - <item row="6" column="1"> - <widget class="QLineEdit" name="storagePath_lineEdit"> - <property name="enabled"> - <bool>false</bool> - </property> - </widget> + <item row="1" column="1"> + <widget class="QLineEdit" name="cacheSize"/> </item> - <item row="4" column="0"> + <item row="2" column="0"> <widget class="QLabel" name="cachePath_label"> <property name="text"> <string>Cache Path</string> </property> </widget> </item> - <item row="4" column="1"> + <item row="2" column="1"> <widget class="QLineEdit" name="cachePath_lineEdit"> <property name="enabled"> <bool>false</bool> </property> </widget> </item> - <item row="5" column="1"> - <widget class="QPushButton" name="clearCache_pushButton"> + <item row="3" column="0"> + <widget class="QLabel" name="storagePath_label"> <property name="text"> - <string>Clear Cache</string> + <string>Storage Path</string> </property> </widget> </item> - <item row="7" column="0"> - <widget class="QLabel" name="cookiePolicy_label"> - <property name="text"> - <string>Cookies</string> + <item row="3" column="1"> + <widget class="QLineEdit" name="storagePath_lineEdit"> + <property name="enabled"> + <bool>false</bool> </property> </widget> </item> - <item row="7" column="1"> - <widget class="QComboBox" name="cookiePolicy"> - <item> - <property name="text"> - <string>No Persistent Cookies</string> - </property> - </item> - <item> - <property name="text"> - <string>Allow Persistent Cookies</string> - </property> - </item> - <item> - <property name="text"> - <string>Force Persistent Cookies</string> - </property> - </item> - </widget> - </item> - <item row="8" column="1"> + <item row="4" column="1"> <widget class="QPushButton" name="clearHistory_pushButton"> <property name="text"> <string>Clear History</string> </property> </widget> </item> - </layout> - </widget> - <widget class="QWidget" name="httpHeadersTab"> - <attribute name="title"> - <string>Headers</string> - </attribute> - <layout class="QHBoxLayout" name="horizontalLayout_2"> - <item> - <widget class="QTableWidget" name="httpHeaders"> - <attribute name="horizontalHeaderDefaultSectionSize"> - <number>200</number> - </attribute> - <attribute name="horizontalHeaderMinimumSectionSize"> - <number>100</number> - </attribute> - <attribute name="horizontalHeaderStretchLastSection"> - <bool>true</bool> - </attribute> - <attribute name="verticalHeaderVisible"> - <bool>false</bool> - </attribute> - <column> - <property name="text"> - <string>Name</string> - </property> - </column> - <column> - <property name="text"> - <string>Value</string> - </property> - </column> - </widget> - </item> - <item> - <layout class="QVBoxLayout" name="verticalLayout_3"> - <item> - <widget class="QPushButton" name="headers_insert"> - <property name="text"> - <string>Insert</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="headers_delete"> - <property name="text"> - <string>Delete</string> - </property> - </widget> - </item> - <item> - <spacer name="verticalSpacer_2"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> - </item> - </layout> + <item row="5" column="1"> + <spacer name="verticalSpacer_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> </item> </layout> </widget> @@ -313,7 +269,7 @@ <rect> <x>0</x> <y>0</y> - <width>584</width> + <width>273</width> <height>797</height> </rect> </property> @@ -559,94 +515,128 @@ <attribute name="title"> <string>Cookies</string> </attribute> - <layout class="QHBoxLayout" name="horizontalLayout"> + <layout class="QVBoxLayout" name="verticalLayout_6"> <item> - <widget class="QTableWidget" name="cookies"> - <property name="sizeAdjustPolicy"> - <enum>QAbstractScrollArea::AdjustToContents</enum> - </property> - <property name="editTriggers"> - <set>QAbstractItemView::NoEditTriggers</set> - </property> - <property name="selectionBehavior"> - <enum>QAbstractItemView::SelectRows</enum> - </property> - <property name="cornerButtonEnabled"> - <bool>false</bool> - </property> - <attribute name="horizontalHeaderHighlightSections"> - <bool>false</bool> - </attribute> - <attribute name="horizontalHeaderStretchLastSection"> - <bool>true</bool> - </attribute> - <attribute name="verticalHeaderVisible"> - <bool>false</bool> - </attribute> - <column> - <property name="text"> - <string>Name</string> - </property> - </column> - <column> - <property name="text"> - <string>Domain</string> - </property> - </column> - <column> - <property name="text"> - <string>Path</string> - </property> - </column> - <column> - <property name="text"> - <string>Expires</string> - </property> - </column> - </widget> - </item> - <item> - <layout class="QVBoxLayout" name="verticalLayout_2"> - <item> - <widget class="QPushButton" name="cookies_reload"> + <layout class="QFormLayout" name="formLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="cookiePolicy_label"> <property name="text"> - <string>Reload</string> + <string>Cookies</string> </property> </widget> </item> - <item> - <widget class="QPushButton" name="cookies_delete"> - <property name="text"> - <string>Delete</string> - </property> + <item row="0" column="1"> + <widget class="QComboBox" name="cookiePolicy"> + <item> + <property name="text"> + <string>No Persistent Cookies</string> + </property> + </item> + <item> + <property name="text"> + <string>Allow Persistent Cookies</string> + </property> + </item> + <item> + <property name="text"> + <string>Force Persistent Cookies</string> + </property> + </item> </widget> </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> <item> - <widget class="QPushButton" name="cookies_deleteSession"> - <property name="text"> - <string>Delete Session</string> + <widget class="QTableWidget" name="cookies"> + <property name="sizeAdjustPolicy"> + <enum>QAbstractScrollArea::AdjustToContents</enum> </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="cookies_deleteAll"> - <property name="text"> - <string>Delete All</string> + <property name="editTriggers"> + <set>QAbstractItemView::NoEditTriggers</set> + </property> + <property name="selectionBehavior"> + <enum>QAbstractItemView::SelectRows</enum> </property> + <property name="cornerButtonEnabled"> + <bool>false</bool> + </property> + <attribute name="horizontalHeaderHighlightSections"> + <bool>false</bool> + </attribute> + <attribute name="horizontalHeaderStretchLastSection"> + <bool>true</bool> + </attribute> + <attribute name="verticalHeaderVisible"> + <bool>false</bool> + </attribute> + <column> + <property name="text"> + <string>Name</string> + </property> + </column> + <column> + <property name="text"> + <string>Domain</string> + </property> + </column> + <column> + <property name="text"> + <string>Path</string> + </property> + </column> + <column> + <property name="text"> + <string>Expires</string> + </property> + </column> </widget> </item> <item> - <spacer name="verticalSpacer"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="QPushButton" name="cookies_reload"> + <property name="text"> + <string>Reload</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="cookies_delete"> + <property name="text"> + <string>Delete</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="cookies_deleteSession"> + <property name="text"> + <string>Delete Session</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="cookies_deleteAll"> + <property name="text"> + <string>Delete All</string> + </property> + </widget> + </item> + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + </layout> </item> </layout> </item> @@ -656,6 +646,13 @@ </item> </layout> </widget> + <customwidgets> + <customwidget> + <class>SettingsTable</class> + <extends>QTableWidget</extends> + <header>forms/settingstable.h</header> + </customwidget> + </customwidgets> <resources/> <connections/> </ui> |