|
|
|
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
|
|
|
<class>GameStats</class>
|
|
|
|
<widget class="TQDialog">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>GameStats</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>310</width>
|
|
|
|
<height>211</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="caption">
|
|
|
|
<string>Statistics</string>
|
|
|
|
</property>
|
|
|
|
<property name="sizeGripEnabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<vbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TQLayoutWidget">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>tqlayout3</cstring>
|
|
|
|
</property>
|
|
|
|
<hbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TQLabel">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel1</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>1</hsizetype>
|
|
|
|
<vsizetype>5</vsizetype>
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Game:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQComboBox">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>GameType</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>7</hsizetype>
|
|
|
|
<vsizetype>0</vsizetype>
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</hbox>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLayoutWidget">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>tqlayout5</cstring>
|
|
|
|
</property>
|
|
|
|
<hbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TQLayoutWidget">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>tqlayout2</cstring>
|
|
|
|
</property>
|
|
|
|
<grid>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TQLabel" row="1" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>Won</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>%1</string>
|
|
|
|
</property>
|
|
|
|
<property name="tqalignment">
|
|
|
|
<set>AlignVCenter|AlignRight</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="1" column="2">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>WonPerc</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>(%1%)</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="2" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel7</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Longest winning streak:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="0" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel2</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Games played:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="3" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>LooseStreak</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>%1</string>
|
|
|
|
</property>
|
|
|
|
<property name="tqalignment">
|
|
|
|
<set>AlignVCenter|AlignRight</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="3" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel8</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Longest losing streak:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="2" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>WinStreak</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>%1</string>
|
|
|
|
</property>
|
|
|
|
<property name="tqalignment">
|
|
|
|
<set>AlignVCenter|AlignRight</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="1" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel3</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Games won:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="0" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>Played</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>%1</string>
|
|
|
|
</property>
|
|
|
|
<property name="tqalignment">
|
|
|
|
<set>AlignVCenter|AlignRight</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</grid>
|
|
|
|
</widget>
|
|
|
|
<spacer>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>spacer2</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>Expanding</enum>
|
|
|
|
</property>
|
|
|
|
<property name="tqsizeHint">
|
|
|
|
<size>
|
|
|
|
<width>250</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</hbox>
|
|
|
|
</widget>
|
|
|
|
<spacer>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>spacer3</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>Expanding</enum>
|
|
|
|
</property>
|
|
|
|
<property name="tqsizeHint">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>71</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
<widget class="TQLayoutWidget">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>Layout1</cstring>
|
|
|
|
</property>
|
|
|
|
<hbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="spacing">
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
|
|
|
<spacer>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>Horizontal Spacing2</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>Expanding</enum>
|
|
|
|
</property>
|
|
|
|
<property name="tqsizeHint">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
<widget class="TQPushButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>buttonOk</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&OK</string>
|
|
|
|
</property>
|
|
|
|
<property name="accel">
|
|
|
|
<string></string>
|
|
|
|
</property>
|
|
|
|
<property name="autoDefault">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="default">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</hbox>
|
|
|
|
</widget>
|
|
|
|
</vbox>
|
|
|
|
</widget>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonOk</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>GameStats</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>GameType</sender>
|
|
|
|
<signal>activated(int)</signal>
|
|
|
|
<receiver>GameStats</receiver>
|
|
|
|
<slot>setGameType(int)</slot>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
<Q_SLOTS>
|
|
|
|
<slot>setGameType(int)</slot>
|
|
|
|
</Q_SLOTS>
|
|
|
|
<tqlayoutdefaults spacing="6" margin="11"/>
|
|
|
|
</UI>
|