?? c.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&)</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> <slot>count( int a )</slot></slots><pixmapinproject/><layoutdefaults spacing="6" margin="11"/></UI>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -