📄 mainform.ui
字号:
<!DOCTYPE UI><UI version="3.3" stdsetdef="1"><class>mainform</class><widget class="QMainWindow"> <property name="name"> <cstring>mainform</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>600</width> <height>505</height> </rect> </property> <property name="caption"> <string>Gobang</string> </property> <widget class="QLineEdit"> <property name="name"> <cstring>lineEdit1</cstring> </property> <property name="geometry"> <rect> <x>30</x> <y>430</y> <width>171</width> <height>21</height> </rect> </property> </widget> <widget class="QLineEdit"> <property name="name"> <cstring>lineEdit2</cstring> </property> <property name="geometry"> <rect> <x>240</x> <y>430</y> <width>61</width> <height>21</height> </rect> </property> </widget> <widget class="QLabel"> <property name="name"> <cstring>textLabel2</cstring> </property> <property name="geometry"> <rect> <x>240</x> <y>410</y> <width>64</width> <height>20</height> </rect> </property> <property name="text"> <string><b>Port</b></string> </property> </widget> <widget class="QLabel"> <property name="name"> <cstring>textLabel3</cstring> </property> <property name="geometry"> <rect> <x>360</x> <y>409</y> <width>90</width> <height>20</height> </rect> </property> <property name="text"> <string><b>User name</b></string> </property> </widget> <widget class="QLineEdit"> <property name="name"> <cstring>lineEdit3</cstring> </property> <property name="geometry"> <rect> <x>360</x> <y>429</y> <width>121</width> <height>21</height> </rect> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>pushButton1</cstring> </property> <property name="geometry"> <rect> <x>500</x> <y>420</y> <width>85</width> <height>30</height> </rect> </property> <property name="text"> <string>&Go !</string> </property> <property name="accel"> <string>Alt+G</string> </property> </widget> <widget class="QLabel"> <property name="name"> <cstring>textLabel1</cstring> </property> <property name="geometry"> <rect> <x>30</x> <y>409</y> <width>140</width> <height>20</height> </rect> </property> <property name="text"> <string><b>Server address</b></string> </property> </widget> <widget class="QLabel"> <property name="name"> <cstring>textLabel4</cstring> </property> <property name="geometry"> <rect> <x>440</x> <y>29</y> <width>65</width> <height>20</height> </rect> </property> <property name="text"> <string><b>Player 1</b></string> </property> </widget> <widget class="QLabel"> <property name="name"> <cstring>textLabel5</cstring> </property> <property name="geometry"> <rect> <x>440</x> <y>90</y> <width>64</width> <height>20</height> </rect> </property> <property name="text"> <string><b>Player 2</b></string> </property> </widget> <widget class="QLabel"> <property name="name"> <cstring>textLabel6</cstring> </property> <property name="geometry"> <rect> <x>470</x> <y>59</y> <width>64</width> <height>20</height> </rect> </property> <property name="text"> <string>textLabel6</string> </property> </widget> <widget class="QLabel"> <property name="name"> <cstring>textLabel7</cstring> </property> <property name="geometry"> <rect> <x>470</x> <y>129</y> <width>64</width> <height>20</height> </rect> </property> <property name="text"> <string>textLabel7</string> </property> </widget> <widget class="Line"> <property name="name"> <cstring>line3</cstring> </property> <property name="geometry"> <rect> <x>400</x> <y>179</y> <width>170</width> <height>20</height> </rect> </property> <property name="frameShape"> <enum>HLine</enum> </property> <property name="frameShadow"> <enum>Sunken</enum> </property> <property name="orientation"> <enum>Horizontal</enum> </property> </widget> <widget class="QLabel"> <property name="name"> <cstring>textLabel8</cstring> </property> <property name="geometry"> <rect> <x>420</x> <y>240</y> <width>120</width> <height>20</height> </rect> </property> <property name="text"> <string>textLabel8</string> </property> </widget> <widget class="Line"> <property name="name"> <cstring>line4</cstring> </property> <property name="geometry"> <rect> <x>400</x> <y>279</y> <width>171</width> <height>20</height> </rect> </property> <property name="frameShape"> <enum>HLine</enum> </property> <property name="frameShadow"> <enum>Sunken</enum> </property> <property name="orientation"> <enum>Horizontal</enum> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>pushButton3</cstring> </property> <property name="geometry"> <rect> <x>440</x> <y>359</y> <width>61</width> <height>21</height> </rect> </property> <property name="text"> <string>&About</string> </property> <property name="accel"> <string>Alt+A</string> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>pushButton2</cstring> </property> <property name="geometry"> <rect> <x>440</x> <y>319</y> <width>61</width> <height>21</height> </rect> </property> <property name="text"> <string>E&xit</string> </property> <property name="accel"> <string>Alt+X</string> </property> </widget> <widget class="Line"> <property name="name"> <cstring>line2</cstring> </property> <property name="geometry"> <rect> <x>10</x> <y>389</y> <width>550</width> <height>20</height> </rect> </property> <property name="frameShape"> <enum>HLine</enum> </property> <property name="frameShadow"> <enum>Sunken</enum> </property> <property name="orientation"> <enum>Horizontal</enum> </property> </widget> <widget class="QFrame"> <property name="name"> <cstring>boardframe</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>380</width> <height>380</height> </rect> </property> <property name="paletteBackgroundPixmap"> <pixmap>board.png</pixmap> </property> <property name="frameShape"> <enum>StyledPanel</enum> </property> <property name="frameShadow"> <enum>Raised</enum> </property> </widget></widget><toolbars></toolbars><pixmapinproject/><layoutdefaults spacing="6" margin="11"/></UI>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -