QtExamples/QtCustomDialogEx/ExCustomMainWin.ui
touwoyimuli b265921182 feat: QFileDialog QMessageBox QInputDialog QColorDialog and QFontDialog
QFileDialog    文件对话框
QColorDialog   颜色对话框
QFontDialog    字体对话框
QInputDialog   输入对话框
QMessageBox    消息对话框
2019-10-08 00:18:34 +08:00

122 lines
3.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ExCustomMainWin</class>
<widget class="QMainWindow" name="ExCustomMainWin">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>816</width>
<height>472</height>
</rect>
</property>
<property name="windowTitle">
<string>ExCustomMainWin</string>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QTableView" name="tableView"/>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>816</width>
<height>23</height>
</rect>
</property>
</widget>
<widget class="QToolBar" name="mainToolBar">
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="actSetHeader"/>
<addaction name="actSetSize"/>
<addaction name="actLocate"/>
<addaction name="separator"/>
<addaction name="actQuit"/>
</widget>
<widget class="QStatusBar" name="statusBar"/>
<action name="actSetHeader">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/images/Image002.png</normaloff>:/images/Image002.png</iconset>
</property>
<property name="text">
<string>设置表头</string>
</property>
<property name="toolTip">
<string>设置表头列表</string>
</property>
</action>
<action name="actSetSize">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/images/Image001.png</normaloff>:/images/Image001.png</iconset>
</property>
<property name="text">
<string>设置表格行列</string>
</property>
<property name="toolTip">
<string>设置表格行列数</string>
</property>
</action>
<action name="actLocate">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/images/Image004.jpg</normaloff>:/images/Image004.jpg</iconset>
</property>
<property name="text">
<string>修改单元格</string>
</property>
<property name="toolTip">
<string>修改某一单元格</string>
</property>
</action>
<action name="actQuit">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/images/Image003.png</normaloff>:/images/Image003.png</iconset>
</property>
<property name="text">
<string>退出</string>
</property>
<property name="toolTip">
<string>退出程序</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources>
<include location="resources.qrc"/>
</resources>
<connections>
<connection>
<sender>actQuit</sender>
<signal>triggered()</signal>
<receiver>ExCustomMainWin</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>407</x>
<y>235</y>
</hint>
</hints>
</connection>
</connections>
</ui>