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

📄 c.ui~

📁 QT编写的简单计算器
💻 UI~
字号:
<!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>368</width>            <height>166</height>        </rect>    </property>    <property name="caption">        <string>Form1</string>    </property>    <widget class="QLineEdit">        <property name="name">            <cstring>lEResult</cstring>        </property>        <property name="geometry">            <rect>                <x>110</x>                <y>60</y>                <width>181</width>                <height>22</height>            </rect>        </property>    </widget>    <widget class="QLineEdit">        <property name="name">            <cstring>lENum</cstring>        </property>        <property name="geometry">            <rect>                <x>110</x>                <y>20</y>                <width>181</width>                <height>22</height>            </rect>        </property>    </widget>    <widget class="QLabel">        <property name="name">            <cstring>textLabel2</cstring>        </property>        <property name="geometry">            <rect>                <x>20</x>                <y>70</y>                <width>71</width>                <height>21</height>            </rect>        </property>        <property name="text">            <string>Result:</string>        </property>    </widget>    <widget class="QLabel">        <property name="name">            <cstring>textLabel1</cstring>        </property>        <property name="geometry">            <rect>                <x>20</x>                <y>20</y>                <width>83</width>                <height>21</height>            </rect>        </property>        <property name="text">            <string>Input Number:</string>        </property>    </widget>    <widget class="QPushButton">        <property name="name">            <cstring>pBOctal</cstring>        </property>        <property name="geometry">            <rect>                <x>130</x>                <y>110</y>                <width>71</width>                <height>31</height>            </rect>        </property>        <property name="text">            <string>Octal</string>        </property>    </widget>    <widget class="QPushButton">        <property name="name">            <cstring>pBBin</cstring>        </property>        <property name="geometry">            <rect>                <x>30</x>                <y>110</y>                <width>71</width>                <height>31</height>            </rect>        </property>        <property name="text">            <string>Binary</string>        </property>    </widget>    <widget class="QPushButton">        <property name="name">            <cstring>pBHex</cstring>        </property>        <property name="geometry">            <rect>                <x>240</x>                <y>110</y>                <width>80</width>                <height>31</height>            </rect>        </property>        <property name="text">            <string>Hex</string>        </property>    </widget></widget><connections>    <connection>        <sender>lENum</sender>        <signal>textChanged(const QString&amp;)</signal>        <receiver>lEResult</receiver>        <slot>clear()</slot>    </connection>    <connection>        <sender>pBBin</sender>        <signal>clicked()</signal>        <receiver>Form1</receiver>        <slot>toBinary()</slot>    </connection>    <connection>        <sender>pBHex</sender>        <signal>clicked()</signal>        <receiver>Form1</receiver>        <slot>toHex()</slot>    </connection>    <connection>        <sender>pBOctal</sender>        <signal>clicked()</signal>        <receiver>Form1</receiver>        <slot>toOctal()</slot>    </connection></connections><includes>    <include location="local" impldecl="in implementation">c.ui.h</include></includes><slots>    <slot>toHex()</slot>    <slot>toBinary()</slot>    <slot>toOctal()</slot></slots><pixmapinproject/><layoutdefaults spacing="6" margin="11"/></UI>

⌨️ 快捷键说明

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