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

📄 mainform.ui

📁 一个Linux下的五子棋对战游戏
💻 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>&lt;b&gt;Port&lt;/b&gt;</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>&lt;b&gt;User name&lt;/b&gt;</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>&amp;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>&lt;b&gt;Server address&lt;/b&gt;</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>&lt;b&gt;Player 1&lt;/b&gt;</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>&lt;b&gt;Player 2&lt;/b&gt;</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>&amp;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&amp;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 + -