本帖最后由 冥界3大法王 于 2023-5-6 20:54 编辑
一个水平放置的ListWidget
三个水平排列的PushButton
折腾1个小时了,也没有按心意排列
[C++] 纯文本查看 复制代码 <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>SymbolView</class>
<widget class="QWidget" name="SymbolView">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>694</width>
<height>605</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<property name="autoFillBackground">
<bool>true</bool>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<widget class="QSplitter" name="mainSplitter">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>691</width>
<height>601</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="childrenCollapsible">
<bool>false</bool>
</property>
<widget class="QSplitter" name="listSplitter">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="handleWidth">
<number>2</number>
</property>
<property name="childrenCollapsible">
<bool>false</bool>
</property>
</widget>
<widget class="QWidget" name="layoutWidget">
<layout class="QVBoxLayout" name="logLayout">
<property name="spacing">
<number>3</number>
</property>
<item>
<widget class="QComboBox" name="comboBox">
<property name="toolTip">
<string>系统文件所属模块查阅</string>
</property>
<property name="editable">
<bool>true</bool>
</property>
<item>
<property name="text">
<string>kernel32.dll(系统核心服务/进程与线程控制/内存管理/文件访问等)</string>
</property>
</item>
<item>
<property name="text">
<string>user32.dll(键盘鼠标输入/窗口/菜单管理)</string>
</property>
</item>
<item>
<property name="text">
<string>gdi.dll(图形设备接口/屏幕/打印机上显示文本和图形)</string>
</property>
</item>
<item>
<property name="text">
<string>ADVAPI32.dll(函数与对象的安全性/注册表的操控以及事件日志有关)</string>
</property>
</item>
<item>
<property name="text">
<string>COMCTL32.dll(Windows应用程序公用GUI图形用户界面模块)</string>
</property>
</item>
<item>
<property name="text">
<string>COMDLG32.dll(Windows应用程序公用对话框模块/用于例如打开文件对话框)</string>
</property>
</item>
<item>
<property name="text">
<string>SHELL32.dll(Windows的32位外壳动态链接库文件/用于打开网页和文件/建立文件时的默认文件名的设置等大量功能)</string>
</property>
</item>
<item>
<property name="text">
<string>NETAPI32.dll(Windows网络应用程序接口)</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QTextEdit" name="symbolLogEdit">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<widget class="QProgressBar" name="symbolProgress">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>15</height>
</size>
</property>
<property name="value">
<number>0</number>
</property>
<property name="textVisible">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</widget>
<resources/>
<connections/>
</ui>
谢谢各位,给帮助加下。 |