1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Setting forms: similar outlook and inner structure

This commit is contained in:
apprb 2014-10-29 23:23:48 +09:00
parent 7a6b349e17
commit 36d4998eb8
No known key found for this signature in database
GPG Key ID: B001911B5B22FB9B
3 changed files with 110 additions and 77 deletions

View File

@ -15,13 +15,16 @@
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" name="verticalLayout_2">
<property name="leftMargin"> <property name="leftMargin">
<number>6</number> <number>9</number>
</property> </property>
<property name="topMargin"> <property name="topMargin">
<number>6</number> <number>9</number>
</property> </property>
<property name="rightMargin"> <property name="rightMargin">
<number>6</number> <number>9</number>
</property>
<property name="bottomMargin">
<number>9</number>
</property> </property>
<item> <item>
<widget class="QScrollArea" name="scrollArea"> <widget class="QScrollArea" name="scrollArea">
@ -36,8 +39,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>531</width> <width>525</width>
<height>627</height> <height>624</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_4" stretch="0,0,1"> <layout class="QVBoxLayout" name="verticalLayout_4" stretch="0,0,1">
@ -249,7 +252,7 @@
</item> </item>
<item> <item>
<layout class="QHBoxLayout" name="styleHLayout"> <layout class="QHBoxLayout" name="styleHLayout">
<item alignment="Qt::AlignTop"> <item>
<widget class="QLabel" name="styleLabel"> <widget class="QLabel" name="styleLabel">
<property name="text"> <property name="text">
<string>Style:</string> <string>Style:</string>
@ -281,7 +284,7 @@
</property> </property>
<layout class="QVBoxLayout" name="verticalLayoutProxy"> <layout class="QVBoxLayout" name="verticalLayoutProxy">
<property name="topMargin"> <property name="topMargin">
<number>0</number> <number>9</number>
</property> </property>
<item> <item>
<widget class="QCheckBox" name="cbEnableIPv6"> <widget class="QCheckBox" name="cbEnableIPv6">
@ -310,7 +313,7 @@
<item> <item>
<layout class="QHBoxLayout" name="proxyLayout"> <layout class="QHBoxLayout" name="proxyLayout">
<property name="spacing"> <property name="spacing">
<number>0</number> <number>6</number>
</property> </property>
<item> <item>
<widget class="QLabel" name="proxyAddrLabel"> <widget class="QLabel" name="proxyAddrLabel">

View File

@ -14,6 +14,18 @@
<string>Form</string> <string>Form</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number>
</property>
<item> <item>
<widget class="QScrollArea" name="scrollArea"> <widget class="QScrollArea" name="scrollArea">
<property name="widgetResizable"> <property name="widgetResizable">
@ -111,12 +123,12 @@
<layout class="QHBoxLayout" name="profilesButtonsLayout"> <layout class="QHBoxLayout" name="profilesButtonsLayout">
<item> <item>
<widget class="QPushButton" name="loadButton"> <widget class="QPushButton" name="loadButton">
<property name="text">
<string comment="load profile button">Load</string>
</property>
<property name="toolTip"> <property name="toolTip">
<string comment="tooltip">Switching profiles is disabled during calls</string> <string comment="tooltip">Switching profiles is disabled during calls</string>
</property> </property>
<property name="text">
<string comment="load profile button">Load</string>
</property>
</widget> </widget>
</item> </item>
<item> <item>
@ -156,12 +168,12 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="newButton"> <widget class="QPushButton" name="newButton">
<property name="text">
<string comment="new profile button">New Tox ID</string>
</property>
<property name="toolTip"> <property name="toolTip">
<string comment="tooltip">Switching profiles is disabled during calls</string> <string comment="tooltip">Switching profiles is disabled during calls</string>
</property> </property>
<property name="text">
<string comment="new profile button">New Tox ID</string>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>

View File

@ -14,74 +14,92 @@
<string>Form</string> <string>Form</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number>
</property>
<item> <item>
<widget class="QCheckBox" name="cbTypingNotification"> <widget class="QScrollArea" name="scrollArea">
<property name="enabled"> <property name="widgetResizable">
<bool>false</bool>
</property>
<property name="text">
<string>Typing Notification</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="cbKeepHistory">
<property name="toolTip">
<string extracomment="History keeping still under developing. Log format changin is possible."/>
</property>
<property name="text">
<string>Keep History (unstable)</string>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="encryptionGroup">
<property name="enabled">
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="title"> <widget class="QWidget" name="scrollAreaWidgetContents">
<string>Encryption</string> <property name="geometry">
</property> <rect>
<layout class="QVBoxLayout" name="verticalLayout_2"> <x>0</x>
<item> <y>0</y>
<widget class="QCheckBox" name="cbEncryptTox"> <width>380</width>
<property name="enabled"> <height>280</height>
<bool>false</bool> </rect>
</property> </property>
<property name="text"> <layout class="QVBoxLayout" name="verticalLayout_3">
<string>Encrypt Tox datafile</string> <item>
</property> <widget class="QCheckBox" name="cbTypingNotification">
</widget> <property name="enabled">
</item> <bool>false</bool>
<item> </property>
<widget class="QCheckBox" name="cbEncryptHistory"> <property name="text">
<property name="enabled"> <string>Typing Notification</string>
<bool>false</bool> </property>
</property> </widget>
<property name="text"> </item>
<string>Encrypt History</string> <item>
</property> <widget class="QCheckBox" name="cbKeepHistory">
<property name="checkable"> <property name="toolTip">
<bool>false</bool> <string extracomment="History keeping still under developing. Log format changin is possible."/>
</property> </property>
</widget> <property name="text">
</item> <string>Keep History (unstable)</string>
</layout> </property>
</widget>
</item>
<item alignment="Qt::AlignTop">
<widget class="QGroupBox" name="encryptionGroup">
<property name="enabled">
<bool>true</bool>
</property>
<property name="title">
<string>Encryption</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QCheckBox" name="cbEncryptTox">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Encrypt Tox datafile</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="cbEncryptHistory">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Encrypt History</string>
</property>
<property name="checkable">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</widget> </widget>
</item> </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> </layout>
</widget> </widget>
<resources/> <resources/>