1 Star 0 Fork 0

程序员马工/WindowFramLess

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
window.ui 10.78 KB
一键复制 编辑 原始数据 按行查看 历史
程序员马工 提交于 2023-05-15 17:14 +08:00 . first commit
<?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>684</width>
<height>556</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" name="gridLayout">
<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 row="0" column="0">
<widget class="QFrame" name="frame_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>65</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>65</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QFrame {
background-color: rgb(247,247,247);
}
#frame_2 {
border-bottom-width: 1px;
border-bottom-color: #D6D6D6;
/*border-bottom-color: red;*/
border-bottom-style:solid;
}</string>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<property name="lineWidth">
<number>0</number>
</property>
<layout class="QGridLayout" name="gridLayout_8">
<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 row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_5">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="pushButton_2">
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
border:none;
letter-spacing: 0px;
font-size: 20px;
margin-left: 6px
}</string>
</property>
<property name="text">
<string>文件传输助手</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<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>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6"/>
</item>
</layout>
</item>
<item>
<layout class="QGridLayout" name="gridLayout_7">
<property name="horizontalSpacing">
<number>5</number>
</property>
<property name="verticalSpacing">
<number>0</number>
</property>
<item row="0" column="4">
<widget class="QPushButton" name="closeButton">
<property name="minimumSize">
<size>
<width>26</width>
<height>20</height>
</size>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="styleSheet">
<string notr="true">QPushButton{border:none;image: url(:/icon/resource/close.svg)}
QPushButton:hover{image: url(:/icon/resource/close-hover.svg);background-color:#FB7373;
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>20</height>
</size>
</property>
<property name="checkable">
<bool>false</bool>
</property>
</widget>
</item>
<item row="2" column="4">
<spacer name="verticalSpacer_8">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>35</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="4">
<widget class="QPushButton" name="moreButton">
<property name="minimumSize">
<size>
<width>26</width>
<height>19</height>
</size>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="styleSheet">
<string notr="true">QPushButton{border:none;image: url(:/icon/resource/more-fill.svg);}
QPushButton:hover{border:none;image: url(:/icon/resource/more-hover.svg);}</string>
</property>
<property name="text">
<string/>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>20</height>
</size>
</property>
<property name="checkable">
<bool>false</bool>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="winMaxButton">
<property name="minimumSize">
<size>
<width>26</width>
<height>17</height>
</size>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="styleSheet">
<string notr="true">QPushButton{border:none;image: url(:/icon/resource/checkbox.svg); padding:2px}
QPushButton:hover{background-color:#E2E2E2;padding:2px
}
QPushButton:unchecked{image: url(:/icon/resource/checkbox.svg);}
QPushButton:checked{image: url(:/icon/resource/checkbox-multiple.svg);}</string>
</property>
<property name="text">
<string/>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>20</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="winfoButton">
<property name="minimumSize">
<size>
<width>26</width>
<height>17</height>
</size>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="styleSheet">
<string notr="true">QPushButton{border:none;image: url(:/icon/resource/winfo.svg);}
QPushButton:hover{background-color:#E2E2E2;}
</string>
</property>
<property name="text">
<string/>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>20</height>
</size>
</property>
<property name="checkable">
<bool>false</bool>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QPushButton" name="pushPinButton">
<property name="minimumSize">
<size>
<width>26</width>
<height>18</height>
</size>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="styleSheet">
<string notr="true">QPushButton{border:none;image: url(:/icon/resource/pushpin-unchecked.svg);}
QPushButton:hover{background-color:#E2E2E2;}
QPushButton:unchecked{image: url(:/icon/resource/pushpin-unchecked.svg);}
QPushButton:checked{image: url(:/icon/resource/pushpin-checked.svg);background-color:#E2E2E2;}
</string>
</property>
<property name="text">
<string/>
</property>
<property name="iconSize">
<size>
<width>45</width>
<height>53</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" column="4">
<spacer name="verticalSpacer_9">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QTextBrowser" name="textBrowser_2">
<property name="styleSheet">
<string notr="true">*{margin:0px;}</string>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<resources>
<include location="res.qrc"/>
</resources>
<connections/>
</ui>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/cxy-magong/window-fram-less.git
git@gitee.com:cxy-magong/window-fram-less.git
cxy-magong
window-fram-less
WindowFramLess
master

搜索帮助