form2.ui

来自「qt3.8开发的例子, 做linux下qt编程可以参考」· UI 代码 · 共 61 行

UI
61
字号
<!DOCTYPE UI><UI version="3.1" stdsetdef="1"><class>Form1</class><widget class="QDialog">    <property name="name">        <cstring>Form1</cstring>    </property>    <property name="geometry">        <rect>            <x>0</x>            <y>0</y>            <width>600</width>            <height>480</height>        </rect>    </property>    <property name="caption">        <string>Form1</string>    </property>    <widget class="QLineEdit">        <property name="name">            <cstring>lineEdit1</cstring>        </property>        <property name="geometry">            <rect>                <x>170</x>                <y>230</y>                <width>111</width>                <height>91</height>            </rect>        </property>    </widget>    <widget class="QPushButton">        <property name="name">            <cstring>pushButton1</cstring>        </property>        <property name="geometry">            <rect>                <x>140</x>                <y>90</y>                <width>41</width>                <height>51</height>            </rect>        </property>        <property name="text">            <string>pushButton1</string>        </property>    </widget></widget><connections>    <connection>        <sender>pushButton1</sender>        <signal>clicked()</signal>        <receiver>Form1</receiver>        <slot>newSlot()</slot>    </connection></connections><slots>    <slot>newSlot()</slot></slots><layoutdefaults spacing="6" margin="11"/></UI>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?