QtExamples/QtQDialogEx/ExDialog.ui
touwoyimuli cf12d7798a feat: QFileDialog QInputDialog and QMessageDialog
QFileDialog    标准文件对话框
QInputDialog   标准输入对话框
QMessageBox    标准消息对话框
QColorDialog   标准颜色对话框
QFontDialog    标准字体对话框
2019-10-02 05:15:40 +08:00

182 lines
5.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ExDialog</class>
<widget class="QDialog" name="ExDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>663</width>
<height>341</height>
</rect>
</property>
<property name="windowTitle">
<string>ExDialog</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>标准对话框:</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="2" column="0">
<widget class="QPushButton" name="btnOpenFiles">
<property name="text">
<string>打开多个文件</string>
</property>
</widget>
</item>
<item row="8" column="0" colspan="3">
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="11" column="0">
<widget class="QPushButton" name="btnGetString">
<property name="text">
<string>输入字符串</string>
</property>
</widget>
</item>
<item row="11" column="2">
<widget class="QPushButton" name="btnGetItem">
<property name="text">
<string>item选择输入</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="labMsg">
<property name="text">
<string>标准消息框:</string>
</property>
</widget>
</item>
<item row="12" column="0">
<widget class="QPushButton" name="btnInt">
<property name="text">
<string>输入整数</string>
</property>
</widget>
</item>
<item row="12" column="2">
<widget class="QPushButton" name="btnDouble">
<property name="text">
<string>输入浮点数</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="labFile">
<property name="text">
<string>文件对话框:</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QPushButton" name="btnExistingDir">
<property name="text">
<string>选择已有目录</string>
</property>
</widget>
</item>
<item row="0" column="1" rowspan="7">
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QPushButton" name="btnGetFont">
<property name="text">
<string>选择字体</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QPushButton" name="btnGetColor">
<property name="text">
<string>选择颜色</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="btnQuestion">
<property name="text">
<string>question</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QPushButton" name="btnWarning">
<property name="text">
<string>warning</string>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QPushButton" name="btnCritical">
<property name="text">
<string>critical</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QPushButton" name="btnInformation">
<property name="text">
<string>information</string>
</property>
</widget>
</item>
<item row="5" column="2">
<widget class="QPushButton" name="btnAbout">
<property name="text">
<string>about</string>
</property>
</widget>
</item>
<item row="6" column="2">
<widget class="QPushButton" name="btnAboutQt">
<property name="text">
<string>aboutQt</string>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QPushButton" name="btnSaveFile">
<property name="text">
<string>保存文件</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="btnOpenFile">
<property name="text">
<string>打开一个文件</string>
</property>
</widget>
</item>
<item row="10" column="0" colspan="3">
<widget class="QLabel" name="labInput">
<property name="text">
<string>标准输入对话框QInputDialog:</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QPlainTextEdit" name="plainTextEdit"/>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections/>
</ui>