Skip to content

Commit

Permalink
Polishing GUI texts
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekSuchanek committed Dec 27, 2016
1 parent c5d8447 commit 3c67436
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 13 deletions.
25 changes: 22 additions & 3 deletions maze/static/ui/gameover.ui
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</font>
</property>
<property name="text">
<string>You have failed to protect the castle. Poor princess! Shame on you!</string>
<string>You have failed to protect the castle. Poor princess! Shame on you! You need to click faster next time.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
Expand All @@ -77,7 +77,7 @@
</font>
</property>
<property name="text">
<string>Score:</string>
<string>Survived:</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
Expand All @@ -86,6 +86,12 @@
</item>
<item>
<widget class="QLCDNumber" name="scoreboard">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<weight>50</weight>
Expand All @@ -109,12 +115,25 @@
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_4">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>seconds</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>You can return to the edit mode of the maze to make it simpler (or even more challenging), try again or try defend against remaining dudes.</string>
<string>You can return to the edit mode of the maze to make it simpler (or even more challenging) or try it again in current maze from start.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
Expand Down
34 changes: 24 additions & 10 deletions maze/static/ui/help.ui
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,30 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label">
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>Maze (MI-PYT project)</string>
</property>
</widget>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>Maze (MI-PYT project)</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>version 0.4</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="label_2">
Expand Down

0 comments on commit 3c67436

Please sign in to comment.