hello_base.ui

来自「这个源代码s3c2410+linux的QT图形界面的简单制作。 实现了按键对L」· UI 代码 · 共 158 行

UI
158
字号
<!DOCTYPE UI><UI><class>HelloBaseForm</class><widget>    <class>QWidget</class>    <property stdset="1">        <name>name</name>        <cstring>HelloBaseForm</cstring>    </property>    <property stdset="1">        <name>geometry</name>        <rect>            <x>0</x>            <y>0</y>            <width>320</width>            <height>241</height>        </rect>    </property>    <property stdset="1">        <name>minimumSize</name>        <size>            <width>320</width>            <height>240</height>        </size>    </property>    <property stdset="1">        <name>maximumSize</name>        <size>            <width>640</width>            <height>480</height>        </size>    </property>    <property stdset="1">        <name>sizeIncrement</name>        <size>            <width>320</width>            <height>240</height>        </size>    </property>    <property stdset="1">        <name>baseSize</name>        <size>            <width>640</width>            <height>480</height>        </size>    </property>    <property stdset="1">        <name>caption</name>        <string>hello dds!</string>    </property>    <property>        <name>whatsThis</name>        <string>hello?</string>    </property>    <widget>        <class>QPushButton</class>        <property stdset="1">            <name>name</name>            <cstring>PushButton3</cstring>        </property>        <property stdset="1">            <name>geometry</name>            <rect>                <x>130</x>                <y>140</y>                <width>84</width>                <height>28</height>            </rect>        </property>        <property stdset="1">            <name>text</name>            <string>say goodbye</string>        </property>    </widget>    <widget>        <class>QPushButton</class>        <property stdset="1">            <name>name</name>            <cstring>PushButton4</cstring>        </property>        <property stdset="1">            <name>geometry</name>            <rect>                <x>220</x>                <y>140</y>                <width>84</width>                <height>28</height>            </rect>        </property>        <property stdset="1">            <name>text</name>            <string>leds on</string>        </property>    </widget>    <widget>        <class>QPushButton</class>        <property stdset="1">            <name>name</name>            <cstring>PushButton2</cstring>        </property>        <property stdset="1">            <name>geometry</name>            <rect>                <x>20</x>                <y>140</y>                <width>100</width>                <height>28</height>            </rect>        </property>        <property stdset="1">            <name>text</name>            <string>say hello to dds</string>        </property>    </widget>    <widget>        <class>QLabel</class>        <property stdset="1">            <name>name</name>            <cstring>MessageLabel</cstring>        </property>        <property stdset="1">            <name>geometry</name>            <rect>                <x>30</x>                <y>50</y>                <width>270</width>                <height>30</height>            </rect>        </property>        <property stdset="1">            <name>text</name>            <string></string>        </property>    </widget></widget><connections>    <connection>        <sender>PushButton2</sender>        <signal>clicked()</signal>        <receiver>HelloBaseForm</receiver>        <slot>SayHello()</slot>    </connection>    <connection>        <sender>PushButton3</sender>        <signal>clicked()</signal>        <receiver>MessageLabel</receiver>        <slot>clear()</slot>    </connection>    <connection>        <sender>PushButton4</sender>        <signal>clicked()</signal>        <receiver>HelloBaseForm</receiver>        <slot>dds()</slot>    </connection>    <slot access="protected">SayHello()</slot>    <slot access="protected">dds()</slot></connections></UI>

⌨️ 快捷键说明

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