projects
/
colorflood
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bigger label text; update translation
[colorflood]
/
colorflood
/
src
/
window.cpp
diff --git
a/colorflood/src/window.cpp
b/colorflood/src/window.cpp
index
affafdc
..
625022b
100644
(file)
--- a/
colorflood/src/window.cpp
+++ b/
colorflood/src/window.cpp
@@
-44,6
+44,7
@@
Window::Window ()
SLOT(flood(int)));
turnsLabel = new QLabel(this);
SLOT(flood(int)));
turnsLabel = new QLabel(this);
+ turnsLabel->setAlignment(Qt::AlignRight);
QObject::connect(field,
SIGNAL(turnsChanged(int)),
QObject::connect(field,
SIGNAL(turnsChanged(int)),
@@
-69,7
+70,7
@@
Window::Window ()
void Window::updateTurns (int turns)
{
/*: number of turns */
void Window::updateTurns (int turns)
{
/*: number of turns */
- turnsLabel->setText(tr("Turns: %1/%2")
+ turnsLabel->setText(tr("<font size=\"24\">Turns: %1/%2</font>")
.arg(turns)
.arg(field->getNumTurnsOfSize(field->getSize())));
}
.arg(turns)
.arg(field->getNumTurnsOfSize(field->getSize())));
}