mirror of
https://github.com/chenx-dust/EZ4Connect.git
synced 2026-09-20 02:13:32 +08:00
544 lines
17 KiB
XML
544 lines
17 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<ui version="4.0">
|
||
<class>SettingWindow</class>
|
||
<widget class="QDialog" name="SettingWindow">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>486</width>
|
||
<height>456</height>
|
||
</rect>
|
||
</property>
|
||
<property name="windowTitle">
|
||
<string>设置</string>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true"/>
|
||
</property>
|
||
<layout class="QGridLayout" name="gridLayout">
|
||
<item row="1" column="0">
|
||
<widget class="QDialogButtonBox" name="buttonBox">
|
||
<property name="standardButtons">
|
||
<set>QDialogButtonBox::StandardButton::Apply|QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="0" colspan="2">
|
||
<widget class="QTabWidget" name="tabWidget">
|
||
<property name="locale">
|
||
<locale language="Chinese" country="China"/>
|
||
</property>
|
||
<property name="currentIndex">
|
||
<number>0</number>
|
||
</property>
|
||
<widget class="QWidget" name="commonTab">
|
||
<attribute name="title">
|
||
<string>通用</string>
|
||
</attribute>
|
||
<layout class="QGridLayout" name="gridLayout_2">
|
||
<item row="0" column="0" colspan="2">
|
||
<widget class="QGroupBox" name="credentialGroup">
|
||
<property name="title">
|
||
<string>保存的信息</string>
|
||
</property>
|
||
<layout class="QGridLayout" name="gridLayout_6">
|
||
<item row="0" column="0">
|
||
<widget class="QLabel" name="commonTabLable2">
|
||
<property name="text">
|
||
<string>账号</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="2" colspan="2">
|
||
<widget class="QLineEdit" name="usernameLineEdit">
|
||
<property name="placeholderText">
|
||
<string>VPN 账号</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="2">
|
||
<widget class="QCheckBox" name="passwordVisibleCheckBox">
|
||
<property name="text">
|
||
<string>显示密码</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<widget class="QLabel" name="commonTabLable3">
|
||
<property name="text">
|
||
<string>密码</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="2">
|
||
<widget class="QLineEdit" name="passwordLineEdit">
|
||
<property name="echoMode">
|
||
<enum>QLineEdit::EchoMode::Password</enum>
|
||
</property>
|
||
<property name="placeholderText">
|
||
<string>VPN 密码</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="1" rowspan="2">
|
||
<spacer name="horizontalSpacer_2">
|
||
<property name="orientation">
|
||
<enum>Qt::Orientation::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeType">
|
||
<enum>QSizePolicy::Policy::Preferred</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>100</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<widget class="QGroupBox" name="onStartUpGroup">
|
||
<property name="title">
|
||
<string>启动时</string>
|
||
</property>
|
||
<layout class="QGridLayout" name="gridLayout_7">
|
||
<item row="2" column="0">
|
||
<widget class="QLabel" name="commonTabLable6">
|
||
<property name="text">
|
||
<string>启动后检查更新</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="0">
|
||
<widget class="QLabel" name="commonTabLable4">
|
||
<property name="text">
|
||
<string>开机自启动</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="1" rowspan="3">
|
||
<spacer name="horizontalSpacer_3">
|
||
<property name="orientation">
|
||
<enum>Qt::Orientation::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>221</width>
|
||
<height>72</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<widget class="QLabel" name="commonTabLable5">
|
||
<property name="text">
|
||
<string>启动后自动连接</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="3">
|
||
<widget class="QCheckBox" name="checkUpdateAfterStartCheckBox">
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="3">
|
||
<widget class="QCheckBox" name="connectAfterStartCheckBox">
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="3">
|
||
<widget class="QCheckBox" name="autoStartCheckBox">
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
<item row="6" column="0" colspan="2">
|
||
<spacer name="commonTabVerticalSpacer">
|
||
<property name="orientation">
|
||
<enum>Qt::Orientation::Vertical</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>444</width>
|
||
<height>108</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item row="3" column="0" rowspan="2">
|
||
<widget class="QGroupBox" name="profileGroup">
|
||
<property name="title">
|
||
<string>配置文件</string>
|
||
</property>
|
||
<layout class="QGridLayout" name="gridLayout_5">
|
||
<item row="0" column="2">
|
||
<widget class="QPushButton" name="resetDefaultPushButton">
|
||
<property name="text">
|
||
<string>恢复默认</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="0">
|
||
<widget class="QPushButton" name="importPushButton">
|
||
<property name="text">
|
||
<string>导入</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="1">
|
||
<widget class="QPushButton" name="exportPushButton">
|
||
<property name="text">
|
||
<string>导出</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<widget class="QWidget" name="zjuConnectTab">
|
||
<attribute name="title">
|
||
<string>高级</string>
|
||
</attribute>
|
||
<layout class="QGridLayout" name="gridLayout_3">
|
||
<item row="12" column="0" colspan="4">
|
||
<layout class="QGridLayout" name="gridLayout_4">
|
||
<item row="0" column="1">
|
||
<widget class="QCheckBox" name="keepAliveCheckBox">
|
||
<property name="toolTip">
|
||
<string>连接服务器后自动设置代理</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>定时保活</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="2">
|
||
<widget class="QCheckBox" name="outsideAccessCheckBox">
|
||
<property name="toolTip">
|
||
<string>连接服务器后自动设置代理</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>允许外部访问</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="0">
|
||
<widget class="QCheckBox" name="multiLineCheckBox">
|
||
<property name="text">
|
||
<string>自动选择线路</string>
|
||
</property>
|
||
<property name="autoExclusive">
|
||
<bool>false</bool>
|
||
</property>
|
||
<property name="tristate">
|
||
<bool>false</bool>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<widget class="QCheckBox" name="skipDomainResourceCheckBox">
|
||
<property name="text">
|
||
<string>忽略域名资源</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="1">
|
||
<widget class="QCheckBox" name="autoSetProxyCheckBox">
|
||
<property name="toolTip">
|
||
<string>连接服务器后自动设置代理</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>自动设置系统代理</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="2">
|
||
<widget class="QCheckBox" name="proxyAllCheckBox">
|
||
<property name="text">
|
||
<string>代理全部流量</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="0">
|
||
<widget class="QCheckBox" name="tunCheckBox">
|
||
<property name="toolTip">
|
||
<string>TUN 模式下有效</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>TUN 模式</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="1">
|
||
<widget class="QCheckBox" name="routeCheckBox">
|
||
<property name="toolTip">
|
||
<string>TUN 模式下有效</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>设置路由(TUN)</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="2">
|
||
<widget class="QCheckBox" name="dnsHijackCheckBox">
|
||
<property name="toolTip">
|
||
<string>TUN 模式下有效</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>DNS 劫持(TUN)</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="3" column="0" colspan="3">
|
||
<widget class="QCheckBox" name="debugCheckBox">
|
||
<property name="text">
|
||
<string>核心调试模式(谨慎开启,日志量过大会导致 UI 崩溃)</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item row="0" column="1">
|
||
<widget class="QLineEdit" name="serverAddressLineEdit">
|
||
<property name="text">
|
||
<string>vpn.hitsz.edu.cn</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="6" column="1" colspan="3">
|
||
<widget class="QSpinBox" name="httpPortSpinBox">
|
||
<property name="maximum">
|
||
<number>65535</number>
|
||
</property>
|
||
<property name="value">
|
||
<number>11081</number>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="11" column="0" colspan="4">
|
||
<widget class="Line" name="line">
|
||
<property name="orientation">
|
||
<enum>Qt::Orientation::Horizontal</enum>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="3" column="0">
|
||
<widget class="QLabel" name="zjuConnectTabLabel8">
|
||
<property name="text">
|
||
<string>DNS 服务器</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="3" column="2" colspan="2">
|
||
<widget class="QCheckBox" name="dnsAutoCheckBox">
|
||
<property name="text">
|
||
<string>自动</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="4" column="0">
|
||
<widget class="QLabel" name="zjuConnectTabLabel9">
|
||
<property name="text">
|
||
<string>备用 DNS</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="9" column="0">
|
||
<widget class="QLabel" name="zjuConnectTabLabel11">
|
||
<property name="text">
|
||
<string>系统代理排除</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="16" column="0" colspan="4">
|
||
<spacer name="verticalSpacer">
|
||
<property name="orientation">
|
||
<enum>Qt::Orientation::Vertical</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>20</width>
|
||
<height>40</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item row="7" column="0">
|
||
<widget class="QLabel" name="zjuConnectTabLabel10">
|
||
<property name="text">
|
||
<string>Shadowsocks 服务器</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="5" column="0">
|
||
<widget class="QLabel" name="zjuConnectTabLabel5">
|
||
<property name="text">
|
||
<string>SOCKS5 代理端口</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="3">
|
||
<widget class="QSpinBox" name="serverPortSpinBox">
|
||
<property name="maximum">
|
||
<number>65535</number>
|
||
</property>
|
||
<property name="value">
|
||
<number>443</number>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="8" column="1">
|
||
<widget class="QSpinBox" name="reconnectTimeSpinBox">
|
||
<property name="maximum">
|
||
<number>86400</number>
|
||
</property>
|
||
<property name="value">
|
||
<number>1</number>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="5" column="1" colspan="3">
|
||
<widget class="QSpinBox" name="socks5PortSpinBox">
|
||
<property name="maximum">
|
||
<number>65535</number>
|
||
</property>
|
||
<property name="value">
|
||
<number>11080</number>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="9" column="1" colspan="3">
|
||
<widget class="QLineEdit" name="systemProxyBypassLineEdit">
|
||
<property name="placeholderText">
|
||
<string>与操作系统有关,一般用半角分号;进行分隔</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="0">
|
||
<widget class="QLabel" name="zjuConnectTabLabel1">
|
||
<property name="text">
|
||
<string>服务器地址</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="8" column="2" colspan="2">
|
||
<widget class="QCheckBox" name="autoReconnectCheckBox">
|
||
<property name="toolTip">
|
||
<string>断线自动重连</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>启用</string>
|
||
</property>
|
||
<property name="checked">
|
||
<bool>false</bool>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="6" column="0">
|
||
<widget class="QLabel" name="zjuConnectTabLabel6">
|
||
<property name="text">
|
||
<string>HTTP 代理端口</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="3" column="1">
|
||
<widget class="QLineEdit" name="dnsLineEdit">
|
||
<property name="placeholderText">
|
||
<string>勾选自动,否则不应留空</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="15" column="0" colspan="4">
|
||
<widget class="QPushButton" name="portForwardingPushButton">
|
||
<property name="text">
|
||
<string>设置端口转发</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="8" column="0">
|
||
<widget class="QLabel" name="zjuConnectTabLabel7">
|
||
<property name="text">
|
||
<string>自动重连时间(秒)</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="7" column="1" colspan="3">
|
||
<widget class="QLineEdit" name="shadowsocksUrlLineEdit">
|
||
<property name="placeholderText">
|
||
<string>不填则不启用,格式:ss://chiper:password@server:port</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="4" column="1" colspan="3">
|
||
<widget class="QLineEdit" name="secondaryDnsLineEdit">
|
||
<property name="placeholderText">
|
||
<string>不填则采用系统 DNS ,使用 DNS 劫持必须填写</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="2">
|
||
<widget class="QLabel" name="label">
|
||
<property name="text">
|
||
<string>:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<tabstops>
|
||
<tabstop>tabWidget</tabstop>
|
||
<tabstop>usernameLineEdit</tabstop>
|
||
<tabstop>passwordLineEdit</tabstop>
|
||
<tabstop>serverAddressLineEdit</tabstop>
|
||
<tabstop>serverPortSpinBox</tabstop>
|
||
<tabstop>dnsLineEdit</tabstop>
|
||
<tabstop>secondaryDnsLineEdit</tabstop>
|
||
<tabstop>socks5PortSpinBox</tabstop>
|
||
<tabstop>httpPortSpinBox</tabstop>
|
||
<tabstop>shadowsocksUrlLineEdit</tabstop>
|
||
<tabstop>reconnectTimeSpinBox</tabstop>
|
||
<tabstop>autoReconnectCheckBox</tabstop>
|
||
<tabstop>multiLineCheckBox</tabstop>
|
||
<tabstop>keepAliveCheckBox</tabstop>
|
||
<tabstop>outsideAccessCheckBox</tabstop>
|
||
<tabstop>portForwardingPushButton</tabstop>
|
||
</tabstops>
|
||
<resources/>
|
||
<connections>
|
||
<connection>
|
||
<sender>buttonBox</sender>
|
||
<signal>rejected()</signal>
|
||
<receiver>SettingWindow</receiver>
|
||
<slot>reject()</slot>
|
||
<hints>
|
||
<hint type="sourcelabel">
|
||
<x>239</x>
|
||
<y>374</y>
|
||
</hint>
|
||
<hint type="destinationlabel">
|
||
<x>242</x>
|
||
<y>197</y>
|
||
</hint>
|
||
</hints>
|
||
</connection>
|
||
</connections>
|
||
</ui>
|