1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/src/widget/form/settings/generalsettings.ui

597 lines
20 KiB
Plaintext
Raw Normal View History

2014-10-06 00:17:20 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>GeneralSettings</class>
<widget class="QWidget" name="GeneralSettings">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2014-10-22 23:57:41 +08:00
<width>545</width>
<height>644</height>
2014-10-06 00:17:20 +08:00
</rect>
</property>
<property name="windowTitle">
2014-11-01 02:24:28 +08:00
<string notr="true">Form</string>
2014-10-06 00:17:20 +08:00
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="leftMargin">
<number>9</number>
2014-10-06 00:17:20 +08:00
</property>
<property name="topMargin">
<number>9</number>
2014-10-06 00:17:20 +08:00
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number>
2014-10-06 00:17:20 +08:00
</property>
<item>
2014-10-22 23:57:41 +08:00
<widget class="QScrollArea" name="scrollArea">
<property name="widgetResizable">
<bool>true</bool>
2014-10-06 00:17:20 +08:00
</property>
2014-10-23 00:09:59 +08:00
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
2014-10-22 23:57:41 +08:00
<widget class="QWidget" name="scrollAreaWidgetContents_2">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2014-11-16 04:30:20 +08:00
<width>524</width>
<height>726</height>
2014-10-22 23:57:41 +08:00
</rect>
</property>
2014-10-23 00:09:59 +08:00
<layout class="QVBoxLayout" name="verticalLayout_4" stretch="0,0,1">
<property name="spacing">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
2014-10-22 23:57:41 +08:00
<item alignment="Qt::AlignTop">
<widget class="QGroupBox" name="generalGroup">
<property name="title">
<string>General Settings</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<layout class="QHBoxLayout" name="transLayout">
<item>
<widget class="QLabel" name="transLabel">
<property name="toolTip">
<string>The translation may not load until qTox restarts.</string>
</property>
<property name="text">
<string>Translation</string>
2014-10-22 23:57:41 +08:00
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="transComboBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>The translation may not load until qTox restarts.</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QCheckBox" name="cbMakeToxPortable">
<property name="toolTip">
<string extracomment="describes makeToxPortable checkbox">Save settings to the working directory instead of the usual conf dir</string>
</property>
<property name="text">
<string>Make Tox portable</string>
</property>
</widget>
</item>
<item>
2014-11-10 16:43:07 +08:00
<layout class="QHBoxLayout" name="trayLayout">
<item>
<widget class="QCheckBox" name="showSystemTray">
<property name="text">
<string>Show system tray icon</string>
</property>
</widget>
</item>
2014-11-10 16:43:07 +08:00
<item>
<widget class="QCheckBox" name="startInTray">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2014-11-10 21:06:35 +08:00
<property name="text">
<string>Start in tray</string>
</property>
2014-11-10 16:43:07 +08:00
</widget>
</item>
<item>
<widget class="QCheckBox" name="closeToTray">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2014-11-10 21:06:35 +08:00
<property name="text">
<string>Close to tray</string>
</property>
2014-11-10 16:43:07 +08:00
</widget>
</item>
<item>
<widget class="QCheckBox" name="minimizeToTray">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2014-11-10 21:06:35 +08:00
<property name="text">
<string>Minimize to tray</string>
</property>
2014-11-10 16:43:07 +08:00
</widget>
</item>
</layout>
2014-10-22 23:57:41 +08:00
</item>
<item>
<widget class="QCheckBox" name="trayShowsUserStatus">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Tray icon displays user status</string>
</property>
</widget>
</item>
2014-10-22 23:57:41 +08:00
<item>
<widget class="QCheckBox" name="statusChanges">
<property name="text">
<string>Show contacts' status changes</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkUpdates">
<property name="text">
<string>Check for updates on startup (unstable)</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="showInFront">
<property name="text">
2014-11-10 16:43:07 +08:00
<string>Focus qTox when a message is received</string>
</property>
</widget>
</item>
2014-11-10 21:06:35 +08:00
<item>
<widget class="QCheckBox" name="cbFauxOfflineMessaging">
<property name="text">
<string>Faux offline messaging</string>
</property>
</widget>
</item>
2014-10-22 23:57:41 +08:00
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item alignment="Qt::AlignLeft">
<widget class="QLabel" name="autoAwayLabel">
<property name="toolTip">
<string>Provided in minutes</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>Auto away after (0 to disable)</string>
2014-10-22 23:57:41 +08:00
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="autoAwaySpinBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Set to 0 to disable</string>
</property>
2014-11-16 04:30:20 +08:00
<property name="showGroupSeparator" stdset="0">
<bool>true</bool>
</property>
2014-10-22 23:57:41 +08:00
<property name="suffix">
<string> minutes</string>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>2147483647</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
2014-11-10 16:43:07 +08:00
<layout class="QHBoxLayout" name="fileLayout">
<item>
2014-11-10 16:43:07 +08:00
<widget class="QCheckBox" name="autoacceptFiles">
<property name="toolTip">
<string comment="autoaccept cb tooltip">You can set this on a per-friend basis by right clicking them.</string>
</property>
<property name="text">
2014-11-10 16:43:07 +08:00
<string>Autoaccept files</string>
</property>
</widget>
</item>
<item>
2014-11-10 16:43:07 +08:00
<layout class="QHBoxLayout" name="saveFilesHLayout">
<item>
<widget class="QLabel" name="autoSaveFilesDirLabel">
<property name="text">
<string>Save files in</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="autoSaveFilesDir">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>PushButton</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
2014-10-22 23:57:41 +08:00
</layout>
</widget>
</item>
2014-11-16 04:30:20 +08:00
<item>
2014-10-22 23:57:41 +08:00
<widget class="QGroupBox" name="themeGroup">
2014-11-16 04:30:20 +08:00
<property name="minimumSize">
<size>
<width>0</width>
<height>232</height>
</size>
</property>
2014-10-22 23:57:41 +08:00
<property name="title">
<string>Theme</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QCheckBox" name="useEmoticons">
<property name="text">
<string>Use emoticons</string>
</property>
</widget>
</item>
2014-10-22 23:57:41 +08:00
<item>
<layout class="QFormLayout" name="formLayout">
<property name="topMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item row="0" column="0">
2014-10-22 23:57:41 +08:00
<widget class="QLabel" name="smileyPackLabel">
<property name="text">
<string extracomment="Text on smiley pack label">Smiley Pack</string>
2014-10-22 23:57:41 +08:00
</property>
</widget>
</item>
<item row="0" column="1">
2014-10-22 23:57:41 +08:00
<widget class="QComboBox" name="smileyPackBrowser">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="2" column="0">
2014-10-22 23:57:41 +08:00
<widget class="QLabel" name="styleLabel">
<property name="text">
<string>Style</string>
2014-10-22 23:57:41 +08:00
</property>
</widget>
</item>
<item row="2" column="1">
2014-10-22 23:57:41 +08:00
<widget class="QComboBox" name="styleBrowser">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0,0,0">
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<item alignment="Qt::AlignTop">
<widget class="QLabel" name="smile1">
<property name="toolTip">
<string notr="true">:)</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item alignment="Qt::AlignTop">
<widget class="QLabel" name="smile2">
<property name="toolTip">
<string notr="true">;)</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item alignment="Qt::AlignTop">
<widget class="QLabel" name="smile3">
<property name="toolTip">
<string notr="true">:p</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item alignment="Qt::AlignTop">
<widget class="QLabel" name="smile4">
<property name="toolTip">
<string notr="true">:O</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item alignment="Qt::AlignTop">
<widget class="QLabel" name="smile5">
<property name="toolTip">
<string notr="true">:'(</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</item>
<item row="3" column="0">
2014-11-16 04:30:20 +08:00
<widget class="QLabel" name="themeColorLabel">
<property name="text">
<string>Theme color</string>
</property>
</widget>
</item>
<item row="3" column="1">
2014-11-16 04:30:20 +08:00
<widget class="QComboBox" name="themeColorCBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="emoticonSizeLabel">
<property name="text">
<string>Emoticon size</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QSpinBox" name="emoticonSize">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="specialValueText">
<string/>
</property>
<property name="suffix">
<string> px</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>2147483647</number>
</property>
<property name="value">
<number>25</number>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="timestampLabel">
<property name="text">
<string>Timestamp format</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QComboBox" name="timestamp">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</item>
2014-10-22 23:57:41 +08:00
</layout>
</widget>
</item>
2014-10-23 00:09:59 +08:00
<item alignment="Qt::AlignTop">
2014-10-22 23:57:41 +08:00
<widget class="QGroupBox" name="connectionGroup">
<property name="title">
<string>Connection Settings</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<layout class="QVBoxLayout" name="verticalLayoutProxy">
<property name="topMargin">
<number>9</number>
2014-10-17 01:49:50 +08:00
</property>
2014-10-22 23:57:41 +08:00
<item>
<widget class="QCheckBox" name="cbEnableIPv6">
<property name="text">
<string extracomment="Text on a checkbox to enable IPv6">Enable IPv6 (recommended)</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="cbEnableUDP">
2014-10-22 23:57:41 +08:00
<property name="toolTip">
2014-11-10 16:43:07 +08:00
<string extracomment="force tcp checkbox tooltip">Disabling this allows, e.g., toxing over Tor. It adds load to the Tox network however, so uncheck only when necessary.</string>
2014-10-22 23:57:41 +08:00
</property>
<property name="text">
<string extracomment="Text on checkbox to disable UDP">Enable UDP (recommended)</string>
2014-10-22 23:57:41 +08:00
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="cbUseProxy">
<property name="text">
<string>Use proxy (SOCKS5)</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="proxyLayout">
<property name="spacing">
<number>6</number>
2014-10-22 23:57:41 +08:00
</property>
<item>
<widget class="QLabel" name="proxyAddrLabel">
<property name="text">
<string extracomment="Text on proxy addr label">Address</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="proxyAddr"/>
</item>
<item>
<widget class="QLabel" name="proxyPortLabel">
<property name="text">
<string extracomment="Text on proxy port label">Port</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="proxyPort">
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>65535</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="reconnectButton">
<property name="text">
<string comment="reconnect button">Reconnect</string>
</property>
</widget>
</item>
2014-10-22 23:57:41 +08:00
</layout>
</widget>
</item>
</layout>
</widget>
2014-10-06 00:17:20 +08:00
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>showSystemTray</sender>
<signal>toggled(bool)</signal>
<receiver>startInTray</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>125</x>
<y>122</y>
</hint>
<hint type="destinationlabel">
<x>207</x>
<y>124</y>
</hint>
</hints>
</connection>
<connection>
<sender>showSystemTray</sender>
<signal>toggled(bool)</signal>
<receiver>closeToTray</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>66</x>
<y>119</y>
</hint>
<hint type="destinationlabel">
<x>346</x>
<y>116</y>
</hint>
</hints>
</connection>
<connection>
<sender>showSystemTray</sender>
<signal>toggled(bool)</signal>
<receiver>minimizeToTray</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>83</x>
<y>121</y>
</hint>
<hint type="destinationlabel">
<x>476</x>
<y>120</y>
</hint>
</hints>
</connection>
</connections>
2014-10-06 00:17:20 +08:00
</ui>