📄 dzk.ui
字号:
<!DOCTYPE UI><UI version="3.1" stdsetdef="1"><class>Dzk</class><widget class="QWidget"> <property name="name"> <cstring>Dzk</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>800</width> <height>550</height> </rect> </property> <property name="sizePolicy"> <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>1</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>800</width> <height>550</height> </size> </property> <property name="maximumSize"> <size> <width>800</width> <height>550</height> </size> </property> <property name="font"> <font> </font> </property> <property name="caption"> <string>Dzk</string> </property> <widget class="QRadioButton"> <property name="name"> <cstring>ball</cstring> </property> <property name="geometry"> <rect> <x>380</x> <y>440</y> <width>13</width> <height>13</height> </rect> </property> <property name="sizePolicy"> <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>1</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>13</width> <height>13</height> </size> </property> <property name="maximumSize"> <size> <width>13</width> <height>13</height> </size> </property> <property name="focusPolicy"> <enum>NoFocus</enum> </property> <property name="text"> <string></string> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>paiz</cstring> </property> <property name="geometry"> <rect> <x>330</x> <y>450</y> <width>140</width> <height>14</height> </rect> </property> <property name="sizePolicy"> <sizepolicy> <hsizetype>5</hsizetype> <vsizetype>5</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>100</width> <height>14</height> </size> </property> <property name="maximumSize"> <size> <width>280</width> <height>14</height> </size> </property> <property name="paletteBackgroundColor"> <color> <red>170</red> <green>0</green> <blue>127</blue> </color> </property> <property name="text"> <string>/////////</string> </property> </widget> <widget class="QLabel"> <property name="name"> <cstring>blood</cstring> </property> <property name="geometry"> <rect> <x>760</x> <y>510</y> <width>28</width> <height>28</height> </rect> </property> <property name="sizePolicy"> <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>1</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>28</width> <height>28</height> </size> </property> <property name="maximumSize"> <size> <width>28</width> <height>28</height> </size> </property> <property name="paletteForegroundColor"> <color> <red>255</red> <green>0</green> <blue>0</blue> </color> </property> <property name="font"> <font> <family>Aharoni</family> <pointsize>20</pointsize> <bold>1</bold> </font> </property> <property name="text"> <string>3</string> </property> </widget> <widget class="QLabel"> <property name="name"> <cstring>score</cstring> </property> <property name="geometry"> <rect> <x>10</x> <y>510</y> <width>110</width> <height>28</height> </rect> </property> <property name="sizePolicy"> <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>1</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>110</width> <height>28</height> </size> </property> <property name="maximumSize"> <size> <width>110</width> <height>28</height> </size> </property> <property name="paletteForegroundColor"> <color> <red>0</red> <green>170</green> <blue>255</blue> </color> </property> <property name="font"> <font> <family>Aharoni</family> <pointsize>20</pointsize> <bold>1</bold> </font> </property> <property name="text"> <string>0</string> </property> </widget></widget><connections> <connection> <sender>ball</sender> <signal>toggled(bool)</signal> <receiver>Dzk</receiver> <slot>backSoundSlot()</slot> </connection></connections><tabstops> <tabstop>paiz</tabstop> <tabstop>ball</tabstop></tabstops><includes> <include location="local" impldecl="in declaration">define.h</include> <include location="global" impldecl="in declaration">vector</include> <include location="global" impldecl="in declaration">map</include> <include location="global" impldecl="in declaration">utility</include> <include location="global" impldecl="in declaration">qpainter.h</include> <include location="local" impldecl="in declaration">wavplay.h</include> <include location="local" impldecl="in declaration">dzkdialog.h</include> <include location="local" impldecl="in implementation">dzk.ui.h</include></includes><variables> <variable access="private">bool gameOver;</variable> <variable access="private">int bloodNum;</variable> <variable>WavePlay *wav;</variable> <variable>FallScore fallScores;</variable> <variable access="private">int scoreNum;</variable> <variable access="private">bool begin;</variable> <variable>BlockMap *blocks;</variable> <variable>vector<Point> ballPoint;</variable> <variable>int timerTime;</variable> <variable>int myTimerId;</variable> <variable>VarMap blockVar;</variable> <variable>int guan;</variable> <variable access="private">int passScore;</variable> <variable access="private">int tempScore;</variable> <variable access="private">QLabel *over;</variable> <variable access="private">QPushButton *agin;</variable></variables><slots> <slot>showEvent( QShowEvent * )</slot> <slot>timerEvent( QTimerEvent * event )</slot> <slot>mainLogic()</slot> <slot>initGame()</slot> <slot>initFall()</slot> <slot>initBlocks( int guanface )</slot> <slot>backSoundSlot()</slot> <slot>sound( int choice )</slot> <slot>gameOverFun()</slot> <slot specifier="non virtual">playAginSlot()</slot></slots><functions> <function access="private" specifier="non virtual">init()</function> <function returnType="bool">eventFilter( QObject * target, QEvent * event )</function> <function access="protected">paintEvent( QPaintEvent * )</function> <function returnType="bool">ballHitBlocks( QPushButton * block, int & hard )</function> <function specifier="non virtual" returnType="int">getScore()</function></functions><layoutdefaults spacing="6" margin="11"/></UI>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -