dmm.ui

来自「基于嵌入式QT和DBstar SQL关系数据库的应用软件」· UI 代码 · 共 314 行

UI
314
字号
<!DOCTYPE UI><UI><class>DMM</class><widget>    <class>QDialog</class>    <property stdset="1">        <name>name</name>        <cstring>DMM</cstring>    </property>    <property stdset="1">        <name>geometry</name>        <rect>            <x>29</x>            <y>21</y>            <width>320</width>            <height>220</height>        </rect>    </property>    <property stdset="1">        <name>maximumSize</name>        <size>            <width>320</width>            <height>220</height>        </size>    </property>    <property stdset="1">        <name>caption</name>        <string>DMM</string>    </property>    <widget>        <class>QButtonGroup</class>        <property stdset="1">            <name>name</name>            <cstring>ButtonGroup1</cstring>        </property>        <property stdset="1">            <name>geometry</name>            <rect>                <x>0</x>                <y>10</y>                <width>320</width>                <height>210</height>            </rect>        </property>        <property stdset="1">            <name>lineWidth</name>            <number>1</number>        </property>        <property stdset="1">            <name>title</name>            <string>DMM result</string>        </property>        <widget>            <class>QLabel</class>            <property stdset="1">                <name>name</name>                <cstring>s_resistor</cstring>            </property>            <property stdset="1">                <name>geometry</name>                <rect>                    <x>50</x>                    <y>70</y>                    <width>90</width>                    <height>18</height>                </rect>            </property>            <property stdset="1">                <name>text</name>                <string>S_Resistor:</string>            </property>        </widget>        <widget>            <class>QLabel</class>            <property stdset="1">                <name>name</name>                <cstring>l_resistor</cstring>            </property>            <property stdset="1">                <name>geometry</name>                <rect>                    <x>50</x>                    <y>105</y>                    <width>90</width>                    <height>18</height>                </rect>            </property>            <property stdset="1">                <name>text</name>                <string>L_Resistor:</string>            </property>        </widget>        <widget>            <class>QLabel</class>            <property stdset="1">                <name>name</name>                <cstring>dc_voltage</cstring>            </property>            <property stdset="1">                <name>geometry</name>                <rect>                    <x>50</x>                    <y>140</y>                    <width>90</width>                    <height>18</height>                </rect>            </property>            <property stdset="1">                <name>text</name>                <string>DC_Voltage:</string>            </property>        </widget>        <widget>            <class>QLabel</class>            <property stdset="1">                <name>name</name>                <cstring>l_resistorText</cstring>            </property>            <property stdset="1">                <name>geometry</name>                <rect>                    <x>140</x>                    <y>105</y>                    <width>90</width>                    <height>20</height>                </rect>            </property>            <property stdset="1">                <name>font</name>                <font>                    <family>adobe-helvetica</family>                    <pointsize>14</pointsize>                    <bold>1</bold>                </font>            </property>            <property stdset="1">                <name>alignment</name>                <set>AlignVCenter|AlignRight</set>            </property>            <property>                <name>hAlign</name>            </property>        </widget>        <widget>            <class>QLabel</class>            <property stdset="1">                <name>name</name>                <cstring>capacitanceText</cstring>            </property>            <property stdset="1">                <name>geometry</name>                <rect>                    <x>140</x>                    <y>35</y>                    <width>90</width>                    <height>20</height>                </rect>            </property>            <property stdset="1">                <name>font</name>                <font>                    <family>adobe-helvetica</family>                    <pointsize>14</pointsize>                    <bold>1</bold>                </font>            </property>            <property stdset="1">                <name>text</name>                <string></string>            </property>            <property stdset="1">                <name>alignment</name>                <set>AlignVCenter|AlignRight</set>            </property>            <property>                <name>hAlign</name>            </property>        </widget>        <widget>            <class>QLabel</class>            <property stdset="1">                <name>name</name>                <cstring>ac_voltageText</cstring>            </property>            <property stdset="1">                <name>geometry</name>                <rect>                    <x>140</x>                    <y>175</y>                    <width>90</width>                    <height>20</height>                </rect>            </property>            <property stdset="1">                <name>font</name>                <font>                    <family>adobe-helvetica</family>                    <pointsize>14</pointsize>                    <bold>1</bold>                </font>            </property>            <property stdset="1">                <name>alignment</name>                <set>AlignVCenter|AlignRight</set>            </property>            <property>                <name>hAlign</name>            </property>        </widget>        <widget>            <class>QLabel</class>            <property stdset="1">                <name>name</name>                <cstring>ac_voltage</cstring>            </property>            <property stdset="1">                <name>geometry</name>                <rect>                    <x>50</x>                    <y>175</y>                    <width>90</width>                    <height>18</height>                </rect>            </property>            <property stdset="1">                <name>text</name>                <string>AC_Voltage:</string>            </property>        </widget>        <widget>            <class>QLabel</class>            <property stdset="1">                <name>name</name>                <cstring>s_resistorText</cstring>            </property>            <property stdset="1">                <name>geometry</name>                <rect>                    <x>140</x>                    <y>70</y>                    <width>90</width>                    <height>20</height>                </rect>            </property>            <property stdset="1">                <name>font</name>                <font>                    <family>adobe-helvetica</family>                    <pointsize>14</pointsize>                    <bold>1</bold>                </font>            </property>            <property stdset="1">                <name>alignment</name>                <set>AlignVCenter|AlignRight</set>            </property>            <property>                <name>hAlign</name>            </property>        </widget>        <widget>            <class>QLabel</class>            <property stdset="1">                <name>name</name>                <cstring>dc_voltageText</cstring>            </property>            <property stdset="1">                <name>geometry</name>                <rect>                    <x>140</x>                    <y>140</y>                    <width>90</width>                    <height>20</height>                </rect>            </property>            <property stdset="1">                <name>font</name>                <font>                    <family>adobe-helvetica</family>                    <pointsize>14</pointsize>                    <bold>1</bold>                </font>            </property>            <property stdset="1">                <name>alignment</name>                <set>AlignVCenter|AlignRight</set>            </property>            <property>                <name>hAlign</name>            </property>        </widget>        <widget>            <class>QLabel</class>            <property stdset="1">                <name>name</name>                <cstring>capacitance</cstring>            </property>            <property stdset="1">                <name>geometry</name>                <rect>                    <x>50</x>                    <y>35</y>                    <width>90</width>                    <height>18</height>                </rect>            </property>            <property stdset="1">                <name>text</name>                <string>Capacitance:</string>            </property>        </widget>    </widget></widget></UI>

⌨️ 快捷键说明

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