| 1 | <?xml version="1.0" encoding="UTF-8"?>
|
|---|
| 2 | <ui version="4.0">
|
|---|
| 3 | <class>TetrixWindow</class>
|
|---|
| 4 | <widget class="QWidget" name="TetrixWindow">
|
|---|
| 5 | <property name="geometry">
|
|---|
| 6 | <rect>
|
|---|
| 7 | <x>0</x>
|
|---|
| 8 | <y>0</y>
|
|---|
| 9 | <width>537</width>
|
|---|
| 10 | <height>475</height>
|
|---|
| 11 | </rect>
|
|---|
| 12 | </property>
|
|---|
| 13 | <property name="windowTitle">
|
|---|
| 14 | <string>Tetrix</string>
|
|---|
| 15 | </property>
|
|---|
| 16 | <layout class="QVBoxLayout">
|
|---|
| 17 | <property name="spacing">
|
|---|
| 18 | <number>6</number>
|
|---|
| 19 | </property>
|
|---|
| 20 | <property name="margin">
|
|---|
| 21 | <number>9</number>
|
|---|
| 22 | </property>
|
|---|
| 23 | <item>
|
|---|
| 24 | <layout class="QGridLayout">
|
|---|
| 25 | <property name="margin">
|
|---|
| 26 | <number>0</number>
|
|---|
| 27 | </property>
|
|---|
| 28 | <property name="spacing">
|
|---|
| 29 | <number>6</number>
|
|---|
| 30 | </property>
|
|---|
| 31 | <item row="4" column="0">
|
|---|
| 32 | <widget class="QPushButton" name="startButton">
|
|---|
| 33 | <property name="focusPolicy">
|
|---|
| 34 | <enum>Qt::NoFocus</enum>
|
|---|
| 35 | </property>
|
|---|
| 36 | <property name="text">
|
|---|
| 37 | <string>&Start</string>
|
|---|
| 38 | </property>
|
|---|
| 39 | </widget>
|
|---|
| 40 | </item>
|
|---|
| 41 | <item row="3" column="2">
|
|---|
| 42 | <widget class="QLCDNumber" name="linesLcd">
|
|---|
| 43 | <property name="segmentStyle">
|
|---|
| 44 | <enum>QLCDNumber::Filled</enum>
|
|---|
| 45 | </property>
|
|---|
| 46 | </widget>
|
|---|
| 47 | </item>
|
|---|
| 48 | <item row="2" column="2">
|
|---|
| 49 | <widget class="QLabel" name="linesRemovedLabel">
|
|---|
| 50 | <property name="text">
|
|---|
| 51 | <string>LINES REMOVED</string>
|
|---|
| 52 | </property>
|
|---|
| 53 | <property name="alignment">
|
|---|
| 54 | <set>Qt::AlignBottom|Qt::AlignHCenter</set>
|
|---|
| 55 | </property>
|
|---|
| 56 | </widget>
|
|---|
| 57 | </item>
|
|---|
| 58 | <item row="1" column="2">
|
|---|
| 59 | <widget class="QLCDNumber" name="scoreLcd">
|
|---|
| 60 | <property name="segmentStyle">
|
|---|
| 61 | <enum>QLCDNumber::Filled</enum>
|
|---|
| 62 | </property>
|
|---|
| 63 | </widget>
|
|---|
| 64 | </item>
|
|---|
| 65 | <item row="0" column="1" rowspan="6">
|
|---|
| 66 | <widget class="TetrixBoard" name="board">
|
|---|
| 67 | <property name="focusPolicy">
|
|---|
| 68 | <enum>Qt::StrongFocus</enum>
|
|---|
| 69 | </property>
|
|---|
| 70 | <property name="frameShape">
|
|---|
| 71 | <enum>QFrame::Panel</enum>
|
|---|
| 72 | </property>
|
|---|
| 73 | <property name="frameShadow">
|
|---|
| 74 | <enum>QFrame::Sunken</enum>
|
|---|
| 75 | </property>
|
|---|
| 76 | </widget>
|
|---|
| 77 | </item>
|
|---|
| 78 | <item row="2" column="0">
|
|---|
| 79 | <widget class="QLabel" name="levelLabel">
|
|---|
| 80 | <property name="text">
|
|---|
| 81 | <string>LEVEL</string>
|
|---|
| 82 | </property>
|
|---|
| 83 | <property name="alignment">
|
|---|
| 84 | <set>Qt::AlignBottom|Qt::AlignHCenter</set>
|
|---|
| 85 | </property>
|
|---|
| 86 | </widget>
|
|---|
| 87 | </item>
|
|---|
| 88 | <item row="0" column="0">
|
|---|
| 89 | <widget class="QLabel" name="nextLabel">
|
|---|
| 90 | <property name="text">
|
|---|
| 91 | <string>NEXT</string>
|
|---|
| 92 | </property>
|
|---|
| 93 | <property name="alignment">
|
|---|
| 94 | <set>Qt::AlignBottom|Qt::AlignHCenter</set>
|
|---|
| 95 | </property>
|
|---|
| 96 | </widget>
|
|---|
| 97 | </item>
|
|---|
| 98 | <item row="3" column="0">
|
|---|
| 99 | <widget class="QLCDNumber" name="levelLcd">
|
|---|
| 100 | <property name="segmentStyle">
|
|---|
| 101 | <enum>QLCDNumber::Filled</enum>
|
|---|
| 102 | </property>
|
|---|
| 103 | </widget>
|
|---|
| 104 | </item>
|
|---|
| 105 | <item row="0" column="2">
|
|---|
| 106 | <widget class="QLabel" name="scoreLabel">
|
|---|
| 107 | <property name="text">
|
|---|
| 108 | <string>SCORE</string>
|
|---|
| 109 | </property>
|
|---|
| 110 | <property name="alignment">
|
|---|
| 111 | <set>Qt::AlignBottom|Qt::AlignHCenter</set>
|
|---|
| 112 | </property>
|
|---|
| 113 | </widget>
|
|---|
| 114 | </item>
|
|---|
| 115 | <item row="1" column="0">
|
|---|
| 116 | <widget class="QLabel" name="nextPieceLabel">
|
|---|
| 117 | <property name="frameShape">
|
|---|
| 118 | <enum>QFrame::Box</enum>
|
|---|
| 119 | </property>
|
|---|
| 120 | <property name="frameShadow">
|
|---|
| 121 | <enum>QFrame::Raised</enum>
|
|---|
| 122 | </property>
|
|---|
| 123 | <property name="text">
|
|---|
| 124 | <string/>
|
|---|
| 125 | </property>
|
|---|
| 126 | <property name="alignment">
|
|---|
| 127 | <set>Qt::AlignCenter</set>
|
|---|
| 128 | </property>
|
|---|
| 129 | </widget>
|
|---|
| 130 | </item>
|
|---|
| 131 | <item row="5" column="0">
|
|---|
| 132 | <widget class="QPushButton" name="quitButton">
|
|---|
| 133 | <property name="focusPolicy">
|
|---|
| 134 | <enum>Qt::NoFocus</enum>
|
|---|
| 135 | </property>
|
|---|
| 136 | <property name="text">
|
|---|
| 137 | <string>&Quit</string>
|
|---|
| 138 | </property>
|
|---|
| 139 | </widget>
|
|---|
| 140 | </item>
|
|---|
| 141 | <item row="4" column="2">
|
|---|
| 142 | <widget class="QPushButton" name="pauseButton">
|
|---|
| 143 | <property name="focusPolicy">
|
|---|
| 144 | <enum>Qt::NoFocus</enum>
|
|---|
| 145 | </property>
|
|---|
| 146 | <property name="text">
|
|---|
| 147 | <string>&Pause</string>
|
|---|
| 148 | </property>
|
|---|
| 149 | </widget>
|
|---|
| 150 | </item>
|
|---|
| 151 | <item row="5" column="2">
|
|---|
| 152 | <widget class="QPushButton" name="debugButton">
|
|---|
| 153 | <property name="focusPolicy">
|
|---|
| 154 | <enum>Qt::NoFocus</enum>
|
|---|
| 155 | </property>
|
|---|
| 156 | <property name="text">
|
|---|
| 157 | <string>&Debug</string>
|
|---|
| 158 | </property>
|
|---|
| 159 | </widget>
|
|---|
| 160 | </item>
|
|---|
| 161 | </layout>
|
|---|
| 162 | </item>
|
|---|
| 163 | </layout>
|
|---|
| 164 | </widget>
|
|---|
| 165 | <customwidgets>
|
|---|
| 166 | <customwidget>
|
|---|
| 167 | <class>TetrixBoard</class>
|
|---|
| 168 | <extends>QFrame</extends>
|
|---|
| 169 | <header>tetrixboard.h</header>
|
|---|
| 170 | <container>1</container>
|
|---|
| 171 | </customwidget>
|
|---|
| 172 | </customwidgets>
|
|---|
| 173 | <resources/>
|
|---|
| 174 | <connections/>
|
|---|
| 175 | </ui>
|
|---|