This commit is contained in:
2020-07-24 10:00:05 +08:00
parent b1c2b1bbc6
commit 82f49c4aa9
15 changed files with 614 additions and 529 deletions

340
widget.ui
View File

@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>943</width>
<height>640</height>
<width>1018</width>
<height>685</height>
</rect>
</property>
<property name="windowTitle">
@@ -730,52 +730,6 @@
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="menu_bg_settings" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>30</height>
</size>
</property>
<layout class="QVBoxLayout" name="verticalLayout_21">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QToolButton" name="menu_btn_settings">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>高级设置</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
@@ -836,7 +790,7 @@
<number>0</number>
</property>
<property name="currentIndex">
<number>2</number>
<number>0</number>
</property>
<widget class="QWidget" name="page">
<layout class="QVBoxLayout" name="verticalLayout_4">
@@ -934,8 +888,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>781</width>
<height>815</height>
<width>856</width>
<height>864</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_17">
@@ -944,12 +898,12 @@
<property name="maximumSize">
<size>
<width>16777215</width>
<height>300</height>
<height>350</height>
</size>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QPushButton" name="pushButton_2">
<widget class="QPushButton" name="pushButton_return">
<property name="maximumSize">
<size>
<width>40</width>
@@ -961,7 +915,7 @@
</property>
</widget>
</item>
<item row="1" column="2">
<item row="2" column="2">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
@@ -977,7 +931,7 @@
</property>
</spacer>
</item>
<item row="1" column="0">
<item row="2" column="0">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
@@ -993,14 +947,14 @@
</property>
</spacer>
</item>
<item row="3" column="1">
<widget class="QPushButton" name="pushButton">
<item row="4" column="1">
<widget class="QPushButton" name="pushButton_download">
<property name="text">
<string>安装</string>
</property>
</widget>
</item>
<item row="5" column="1" rowspan="2">
<item row="6" column="1" rowspan="2">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
@@ -1013,7 +967,75 @@
</property>
</spacer>
</item>
<item row="0" column="3">
<item row="3" column="1">
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="5" column="1">
<widget class="QPushButton" name="pushButton_uninstall">
<property name="text">
<string>卸载</string>
</property>
</widget>
</item>
<item row="0" column="7">
<spacer name="horizontalSpacer_6">
<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 row="0" column="6">
<widget class="QPushButton" name="pushButton_website">
<property name="maximumSize">
<size>
<width>70</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>官网</string>
</property>
</widget>
</item>
<item row="0" column="5">
<spacer name="horizontalSpacer_7">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>10</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="3" colspan="2">
<widget class="QLabel" name="label_appname">
<property name="font">
<font>
@@ -1026,7 +1048,41 @@
</property>
</widget>
</item>
<item row="1" column="1">
<item row="2" column="3" rowspan="5" colspan="5">
<widget class="QLabel" name="label_info">
<property name="font">
<font>
<kerning>true</kerning>
</font>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="3">
<spacer name="verticalSpacer_6">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="1">
<widget class="QLabel" name="label_appicon">
<property name="minimumSize">
<size>
@@ -1054,47 +1110,6 @@
</property>
</widget>
</item>
<item row="1" column="3" rowspan="5">
<widget class="QLabel" name="label_info">
<property name="font">
<font>
<kerning>true</kerning>
</font>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="1">
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="4" column="1">
<widget class="QPushButton" name="pushButton_5">
<property name="text">
<string>卸载</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
@@ -1172,105 +1187,25 @@
<rect>
<x>0</x>
<y>0</y>
<width>747</width>
<width>822</width>
<height>325</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="screen_1">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>400</width>
<height>300</height>
</size>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
<widget class="image_show" name="screen_0" native="true"/>
</item>
<item>
<widget class="QLabel" name="screen_2">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>400</width>
<height>300</height>
</size>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
<widget class="image_show" name="screen_1" native="true"/>
</item>
<item>
<widget class="QLabel" name="screen_3">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>400</width>
<height>300</height>
</size>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
<widget class="image_show" name="screen_2" native="true"/>
</item>
<item>
<widget class="QLabel" name="screen_4">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>400</width>
<height>300</height>
</size>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
<widget class="image_show" name="screen_3" native="true"/>
</item>
<item>
<widget class="QLabel" name="screen_5">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>400</width>
<height>300</height>
</size>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
<widget class="image_show" name="screen_4" native="true"/>
</item>
</layout>
</widget>
@@ -1300,8 +1235,23 @@
</widget>
<widget class="QWidget" name="page_4">
<layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QScrollArea" name="scrollArea_2">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="lineWidth">
<number>0</number>
</property>
@@ -1313,8 +1263,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>765</width>
<height>846</height>
<width>687</width>
<height>830</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_23">
@@ -1366,7 +1316,7 @@
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_3">
<widget class="QPushButton" name="pushButton_updateServer">
<property name="text">
<string>刷新</string>
</property>
@@ -1418,7 +1368,7 @@
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="pushButton_4">
<widget class="QPushButton" name="pushButton_updateApt">
<property name="text">
<string>更新源</string>
</property>
@@ -1489,7 +1439,7 @@
</spacer>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="pushButton_6">
<widget class="QPushButton" name="pushButton_clear">
<property name="text">
<string>清空</string>
</property>
@@ -1595,6 +1545,12 @@
<extends>QWidget</extends>
<header>QtWebKitWidgets/QWebView</header>
</customwidget>
<customwidget>
<class>image_show</class>
<extends>QWidget</extends>
<header location="global">image_show.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections/>