1 Star 0 Fork 1

soilbean/PyQt6_demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
demo.ui 7.13 KB
一键复制 编辑 原始数据 按行查看 历史
hg_guanhongyuan 提交于 2024-05-31 15:49 . 531
<?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>979</width>
<height>639</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>25</pointsize>
<italic>false</italic>
</font>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QWidget" name="widget" native="true">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>980</width>
<height>640</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<widget class="QFrame" name="frame">
<property name="geometry">
<rect>
<x>90</x>
<y>30</y>
<width>891</width>
<height>611</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QTextEdit" name="textEdit">
<property name="geometry">
<rect>
<x>30</x>
<y>450</y>
<width>121</width>
<height>71</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 255);</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_2">
<property name="geometry">
<rect>
<x>30</x>
<y>540</y>
<width>71</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>13</pointsize>
<italic>false</italic>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(218, 218, 218);
border: none;</string>
</property>
<property name="text">
<string>启动</string>
</property>
</widget>
<widget class="QWidget" name="widget_2" native="true">
<property name="geometry">
<rect>
<x>230</x>
<y>450</y>
<width>581</width>
<height>71</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 255);
</string>
</property>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>401</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>等待载入中......</string>
</property>
</widget>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>30</x>
<y>260</y>
<width>381</width>
<height>71</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>25</pointsize>
<italic>false</italic>
<bold>true</bold>
</font>
</property>
<property name="text">
<string/>
</property>
</widget>
</widget>
<widget class="QFrame" name="frame_2">
<property name="geometry">
<rect>
<x>0</x>
<y>30</y>
<width>91</width>
<height>611</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(15, 15, 15);</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
<widget class="QFrame" name="frame_3">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>981</width>
<height>32</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(0, 0, 0);
border-bottom: 1px solid white;</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QPushButton" name="pushButton_5">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>920</x>
<y>0</y>
<width>31</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>25</pointsize>
<italic>false</italic>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);
border: none;
</string>
</property>
<property name="text">
<string>-</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_3">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>950</x>
<y>0</y>
<width>31</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>15</pointsize>
<italic>false</italic>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);
</string>
</property>
<property name="text">
<string>X</string>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>91</x>
<y>0</y>
<width>31</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
<italic>false</italic>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 255);
border: none;</string>
</property>
<property name="text">
<string>更多</string>
</property>
</widget>
</widget>
</widget>
</widget>
</widget>
<resources>
<include location="images.qrc"/>
</resources>
<connections>
<connection>
<sender>pushButton_3</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>971</x>
<y>115</y>
</hint>
<hint type="destinationlabel">
<x>979</x>
<y>14</y>
</hint>
</hints>
</connection>
<connection>
<sender>pushButton_5</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>showMinimized()</slot>
<hints>
<hint type="sourcelabel">
<x>928</x>
<y>130</y>
</hint>
<hint type="destinationlabel">
<x>979</x>
<y>59</y>
</hint>
</hints>
</connection>
</connections>
</ui>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/soilbean/py-qt6_demo.git
git@gitee.com:soilbean/py-qt6_demo.git
soilbean
py-qt6_demo
PyQt6_demo
master

搜索帮助