QtExamples/QtCustomDialogEx/ExDlgLocate.ui

120 lines
3.3 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ExDlgLocate</class>
<widget class="QDialog" name="ExDlgLocate">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>414</width>
<height>159</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<layout class="QGridLayout" name="gridLayout" columnstretch="4,1,1">
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>GroupBox</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="1">
<widget class="QSpinBox" name="spinBoxCol"/>
</item>
<item row="0" column="0">
<widget class="QLabel" name="lab1">
<property name="text">
<string>行号:</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lab2">
<property name="text">
<string>列号:</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QCheckBox" name="checkBoxRow">
<property name="text">
<string>行增</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QCheckBox" name="checkBoxCol">
<property name="text">
<string>列增</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="lab3">
<property name="text">
<string>设置文字:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="spinBoxRow"/>
</item>
<item row="2" column="1" colspan="2">
<widget class="QLineEdit" name="lineEdit"/>
</item>
</layout>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="btnSetText">
<property name="text">
<string>设定文字</string>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/images/Image005.png</normaloff>:/images/Image005.png</iconset>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="btnClose">
<property name="text">
<string>关闭</string>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/images/Image007.png</normaloff>:/images/Image007.png</iconset>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<resources>
<include location="resources.qrc"/>
</resources>
<connections>
<connection>
<sender>btnClose</sender>
<signal>clicked()</signal>
<receiver>ExDlgLocate</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>366</x>
<y>136</y>
</hint>
<hint type="destinationlabel">
<x>206</x>
<y>79</y>
</hint>
</hints>
</connection>
</connections>
</ui>