?? setmacdhcp.ui
字號:
<!DOCTYPE UI><UI><class>setMac</class><widget> <class>QWidget</class> <property stdset="1"> <name>name</name> <cstring>setMac</cstring> </property> <property stdset="1"> <name>geometry</name> <rect> <x>0</x> <y>0</y> <width>308</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>setMAC</string> </property> <widget> <class>QComboBox</class> <property stdset="1"> <name>name</name> <cstring>interfaceNumCombo</cstring> </property> <property stdset="1"> <name>geometry</name> <rect> <x>130</x> <y>10</y> <width>70</width> <height>25</height> </rect> </property> </widget> <widget> <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>dhcpPushButton</cstring> </property> <property stdset="1"> <name>geometry</name> <rect> <x>50</x> <y>180</y> <width>90</width> <height>25</height> </rect> </property> <property stdset="1"> <name>text</name> <string>DHCP</string> </property> </widget> <widget> <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>setupPushButton</cstring> </property> <property stdset="1"> <name>geometry</name> <rect> <x>182</x> <y>180</y> <width>90</width> <height>25</height> </rect> </property> <property stdset="1"> <name>text</name> <string>Setup</string> </property> </widget> <widget> <class>QLayoutWidget</class> <property stdset="1"> <name>name</name> <cstring>Layout1</cstring> </property> <property stdset="1"> <name>geometry</name> <rect> <x>130</x> <y>40</y> <width>155</width> <height>131</height> </rect> </property> <vbox> <property stdset="1"> <name>margin</name> <number>0</number> </property> <property stdset="1"> <name>spacing</name> <number>6</number> </property> <widget> <class>QLineEdit</class> <property stdset="1"> <name>name</name> <cstring>IPAddressLineEdit</cstring> </property> <property stdset="1"> <name>text</name> <string></string> </property> <property stdset="1"> <name>frame</name> <bool>false</bool> </property> </widget> <widget> <class>QLineEdit</class> <property stdset="1"> <name>name</name> <cstring>netMaskLineEdit</cstring> </property> <property stdset="1"> <name>text</name> <string></string> </property> <property stdset="1"> <name>frame</name> <bool>false</bool> </property> </widget> <widget> <class>QLineEdit</class> <property stdset="1"> <name>name</name> <cstring>MACAddressLineEdit</cstring> </property> <property stdset="1"> <name>frame</name> <bool>false</bool> </property> </widget> <widget> <class>QLineEdit</class> <property stdset="1"> <name>name</name> <cstring>gatewayLineEdit</cstring> </property> <property stdset="1"> <name>frame</name> <bool>false</bool> </property> </widget> <widget> <class>QLineEdit</class> <property stdset="1"> <name>name</name> <cstring>DNSLineEdit</cstring> </property> <property stdset="1"> <name>frame</name> <bool>false</bool> </property> </widget> </vbox> </widget> <widget> <class>QLayoutWidget</class> <property stdset="1"> <name>name</name> <cstring>Layout3</cstring> </property> <property stdset="1"> <name>geometry</name> <rect> <x>15</x> <y>40</y> <width>110</width> <height>130</height> </rect> </property> <vbox> <property stdset="1"> <name>margin</name> <number>0</number> </property> <property stdset="1"> <name>spacing</name> <number>6</number> </property> <widget> <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>IPAddressLabel</cstring> </property> <property stdset="1"> <name>text</name> <string>IP Address:</string> </property> </widget> <widget> <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>netMask</cstring> </property> <property stdset="1"> <name>text</name> <string>NetMask</string> </property> </widget> <widget> <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>MACAddressLabel</cstring> </property> <property stdset="1"> <name>text</name> <string>MACAddress:</string> </property> </widget> <widget> <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>gatewayLabel</cstring> </property> <property stdset="1"> <name>text</name> <string>GetwayLabel</string> </property> </widget> <widget> <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>DNSLabel</cstring> </property> <property stdset="1"> <name>text</name> <string>DNS:</string> </property> </widget> </vbox> </widget> <widget> <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>interfaceNumLabel</cstring> </property> <property stdset="1"> <name>geometry</name> <rect> <x>20</x> <y>15</y> <width>110</width> <height>21</height> </rect> </property> <property stdset="1"> <name>text</name> <string>Interface Num:</string> </property> </widget></widget><connections> <connection> <sender>interfaceNumCombo</sender> <signal>textChanged(const QString&)</signal> <receiver>setMac</receiver> <slot>comboTextChange()</slot> </connection> <connection> <sender>dhcpPushButton</sender> <signal>clicked()</signal> <receiver>setMac</receiver> <slot>dhcpClicked()</slot> </connection> <connection> <sender>setupPushButton</sender> <signal>clicked()</signal> <receiver>setMac</receiver> <slot>setupClicked()</slot> </connection> <slot access="public">comboTextChange()</slot> <slot access="public">dhcpClicked()</slot> <slot access="public">setupClicked()</slot></connections></UI>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -