mirror of
https://github.com/chenx-dust/EZ4Connect.git
synced 2026-09-20 10:23:33 +08:00
feat: Better ZJUConnect core error process. feat: Added login dialog. refactor: Make all child widgets be dialogs. chore: Make setting system proxy default. chore: Bump version to 1.2.0 .
213 lines
5.6 KiB
XML
213 lines
5.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<ui version="4.0">
|
||
<class>MainWindow</class>
|
||
<widget class="QMainWindow" name="MainWindow">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>717</width>
|
||
<height>298</height>
|
||
</rect>
|
||
</property>
|
||
<widget class="QWidget" name="centralWidget">
|
||
<layout class="QGridLayout" name="gridLayout">
|
||
<item row="8" column="1">
|
||
<widget class="QPushButton" name="pushButton1">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>9</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="text">
|
||
<string>连接服务器</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="8" column="3">
|
||
<widget class="QPushButton" name="pushButton2">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>9</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="text">
|
||
<string>设置系统代理</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="8" column="2">
|
||
<spacer name="horizontalSpacer">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeType">
|
||
<enum>QSizePolicy::Fixed</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>40</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item row="0" column="1" colspan="3">
|
||
<widget class="QLabel" name="applicationNameLabel">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>17</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>关注 HITSZ OSA 谢谢喵!n(*≧▽≦*)n</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>Application Name</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="8" column="0">
|
||
<widget class="QPushButton" name="copyLogPushButton">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>复制日志到剪贴板</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>复制日志</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="1" colspan="3">
|
||
<widget class="QLabel" name="versionLabel">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>Line 1
|
||
Line 2
|
||
</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="0" rowspan="8">
|
||
<widget class="QPlainTextEdit" name="logPlainTextEdit">
|
||
<property name="readOnly">
|
||
<bool>true</bool>
|
||
</property>
|
||
<property name="maximumBlockCount">
|
||
<number>1000</number>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="1" colspan="3">
|
||
<widget class="QLabel" name="accountLabel">
|
||
<property name="text">
|
||
<string>提示:
|
||
左上角“功能”->“设置”里有更多可调整项目。
|
||
建议关闭 Clash 等代理软件后开启系统代理。
|
||
|
||
使用中遇到任何问题欢迎加入 HITSZ OSA 进行反馈。</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<widget class="QMenuBar" name="menubar">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>717</width>
|
||
<height>22</height>
|
||
</rect>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QMenu::item {
|
||
padding: 5px 10px 5px 10px;
|
||
}
|
||
QMenu::item:selected {
|
||
background-color: rgb(0, 85, 127);
|
||
color: rgb(255, 255, 255);
|
||
}
|
||
</string>
|
||
</property>
|
||
<widget class="QMenu" name="helpMenu">
|
||
<property name="title">
|
||
<string>帮助</string>
|
||
</property>
|
||
<addaction name="disableProxyAction"/>
|
||
<addaction name="checkUpdateAction"/>
|
||
<addaction name="aboutAction"/>
|
||
</widget>
|
||
<widget class="QMenu" name="fileMenu">
|
||
<property name="title">
|
||
<string>功能</string>
|
||
</property>
|
||
<addaction name="settingAction"/>
|
||
<addaction name="exitAction"/>
|
||
</widget>
|
||
<addaction name="fileMenu"/>
|
||
<addaction name="helpMenu"/>
|
||
</widget>
|
||
<action name="aboutAction">
|
||
<property name="text">
|
||
<string>关于本软件</string>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>关于本软件</string>
|
||
</property>
|
||
</action>
|
||
<action name="exitAction">
|
||
<property name="text">
|
||
<string>退出</string>
|
||
</property>
|
||
</action>
|
||
<action name="settingAction">
|
||
<property name="text">
|
||
<string>设置</string>
|
||
</property>
|
||
</action>
|
||
<action name="disableProxyAction">
|
||
<property name="text">
|
||
<string>清除系统代理</string>
|
||
</property>
|
||
</action>
|
||
<action name="action">
|
||
<property name="text">
|
||
<string>检查更新</string>
|
||
</property>
|
||
</action>
|
||
<action name="checkUpdateAction">
|
||
<property name="text">
|
||
<string>检查更新</string>
|
||
</property>
|
||
</action>
|
||
</widget>
|
||
<tabstops>
|
||
<tabstop>pushButton1</tabstop>
|
||
<tabstop>pushButton2</tabstop>
|
||
<tabstop>copyLogPushButton</tabstop>
|
||
<tabstop>logPlainTextEdit</tabstop>
|
||
</tabstops>
|
||
<resources/>
|
||
<connections/>
|
||
</ui>
|