⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 demo1.ui

📁 这是一个嵌入式linux的GUI源码comdemo.tar.gz 一个QT/Embedded 的控件功能演示源码
💻 UI
字号:
<!DOCTYPE UI><UI><class>Form1</class><widget>    <class>QWidget</class>    <property stdset="1">        <name>name</name>        <cstring>Form1</cstring>    </property>    <property stdset="1">        <name>geometry</name>        <rect>            <x>0</x>            <y>0</y>            <width>233</width>            <height>312</height>        </rect>    </property>    <property stdset="1">        <name>maximumSize</name>        <size>            <width>240</width>            <height>320</height>        </size>    </property>    <property stdset="1">        <name>caption</name>        <string>Form1</string>    </property>    <widget>        <class>QFrame</class>        <property stdset="1">            <name>name</name>            <cstring>Frame3</cstring>        </property>        <property stdset="1">            <name>geometry</name>            <rect>                <x>4</x>                <y>3</y>                <width>223</width>                <height>250</height>            </rect>        </property>        <property stdset="1">            <name>frameShape</name>            <enum>StyledPanel</enum>        </property>        <property stdset="1">            <name>frameShadow</name>            <enum>Raised</enum>        </property>        <widget>            <class>QCheckBox</class>            <property stdset="1">                <name>name</name>                <cstring>CheckBox1</cstring>            </property>            <property stdset="1">                <name>geometry</name>                <rect>                    <x>100</x>                    <y>13</y>                    <width>111</width>                    <height>20</height>                </rect>            </property>            <property stdset="1">                <name>text</name>                <string>CheckBox1</string>            </property>        </widget>        <widget>            <class>QLabel</class>            <property stdset="1">                <name>name</name>                <cstring>TextLabel1</cstring>            </property>            <property stdset="1">                <name>geometry</name>                <rect>                    <x>20</x>                    <y>13</y>                    <width>50</width>                    <height>21</height>                </rect>            </property>            <property stdset="1">                <name>text</name>                <string>Label1</string>            </property>        </widget>        <widget>            <class>QSpinBox</class>            <property stdset="1">                <name>name</name>                <cstring>SpinBox1</cstring>            </property>            <property stdset="1">                <name>geometry</name>                <rect>                    <x>20</x>                    <y>40</y>                    <width>190</width>                    <height>30</height>                </rect>            </property>        </widget>        <widget>            <class>QButtonGroup</class>            <property stdset="1">                <name>name</name>                <cstring>ButtonGroup1</cstring>            </property>            <property stdset="1">                <name>geometry</name>                <rect>                    <x>20</x>                    <y>80</y>                    <width>190</width>                    <height>71</height>                </rect>            </property>            <property stdset="1">                <name>title</name>                <string>ButtonGroup1</string>            </property>            <widget>                <class>QRadioButton</class>                <property stdset="1">                    <name>name</name>                    <cstring>RadioButton2</cstring>                </property>                <property stdset="1">                    <name>geometry</name>                    <rect>                        <x>20</x>                        <y>46</y>                        <width>111</width>                        <height>20</height>                    </rect>                </property>                <property stdset="1">                    <name>text</name>                    <string>RadioButton2</string>                </property>            </widget>            <widget>                <class>QRadioButton</class>                <property stdset="1">                    <name>name</name>                    <cstring>RadioButton1</cstring>                </property>                <property stdset="1">                    <name>geometry</name>                    <rect>                        <x>20</x>                        <y>20</y>                        <width>130</width>                        <height>20</height>                    </rect>                </property>                <property stdset="1">                    <name>text</name>                    <string>RadioButton1</string>                </property>            </widget>        </widget>        <widget>            <class>QTabWidget</class>            <property stdset="1">                <name>name</name>                <cstring>TabWidget2</cstring>            </property>            <property stdset="1">                <name>geometry</name>                <rect>                    <x>20</x>                    <y>160</y>                    <width>191</width>                    <height>80</height>                </rect>            </property>            <widget>                <class>QWidget</class>                <property stdset="1">                    <name>name</name>                    <cstring>tab</cstring>                </property>                <attribute>                    <name>title</name>                    <string>Tab 1</string>                </attribute>                <widget>                    <class>QLineEdit</class>                    <property stdset="1">                        <name>name</name>                        <cstring>LineEdit1</cstring>                    </property>                    <property stdset="1">                        <name>geometry</name>                        <rect>                            <x>8</x>                            <y>10</y>                            <width>171</width>                            <height>25</height>                        </rect>                    </property>                </widget>            </widget>            <widget>                <class>QWidget</class>                <property stdset="1">                    <name>name</name>                    <cstring>tab</cstring>                </property>                <attribute>                    <name>title</name>                    <string>Tab 2</string>                </attribute>            </widget>        </widget>    </widget>    <widget>        <class>QPushButton</class>        <property stdset="1">            <name>name</name>            <cstring>PushButton6</cstring>        </property>        <property stdset="1">            <name>geometry</name>            <rect>                <x>130</x>                <y>270</y>                <width>80</width>                <height>30</height>            </rect>        </property>        <property stdset="1">            <name>text</name>            <string>Next &gt;&gt;</string>        </property>    </widget>    <widget>        <class>QPushButton</class>        <property stdset="1">            <name>name</name>            <cstring>PushButton1</cstring>        </property>        <property stdset="1">            <name>geometry</name>            <rect>                <x>30</x>                <y>270</y>                <width>80</width>                <height>30</height>            </rect>        </property>        <property stdset="1">            <name>maximumSize</name>            <size>                <width>240</width>                <height>320</height>            </size>        </property>        <property stdset="1">            <name>text</name>            <string>OK(&amp;O)</string>        </property>    </widget></widget></UI>

⌨️ 快捷键说明

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