[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/games/kboard
From: Maurizio Monge <maurizio.monge () gmail ! com>
Date: 2006-09-24 23:27:29
Message-ID: 1159140449.895304.22124.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 588102 by monge:
* Added kboard icon.
* Slightly better english translation.
A icons/kboard.svg
M +2 -0 src/about.cpp
M +2 -0 src/entities/icsentity.cpp
M +4 -1 src/mainwindow.cpp
M +1 -0 src/pref_preferences.cpp
M +1 -1 src/ui/pref_board.ui
M +1 -1 src/ui/pref_movelist.ui
--- trunk/playground/games/kboard/src/about.cpp #588101:588102
@@ -9,6 +9,7 @@
*/
#include "about.h"
+#include "settings.h"
#include <QPalette>
@@ -24,6 +25,7 @@
: QDialog(parent) {
setupUi(this);
+ setWindowIcon(QIcon(data_dir()+"/icons/kboard.svg"));
setBackgroundColor(m_authors);
setBackgroundColor(m_thanks);
setBackgroundColor(m_licence);
--- trunk/playground/games/kboard/src/entities/icsentity.cpp #588101:588102
@@ -93,6 +93,8 @@
std::cout <<
"[server inconsistency] SAN for last move is different from verbose notation"
<< std::endl;
+ std::cout << "san = " << mv->toString(position) << " coord = "
+ << last_move->toString(position) << std::endl;
}
}
}
--- trunk/playground/games/kboard/src/mainwindow.cpp #588101:588102
@@ -161,7 +161,7 @@
if (m_main->count() <= 1) {
m_main->hideTabBar();
}
-
+
// update ui controller (just in case...)
m_ui.setCurrentTab(m_main->currentWidget());
}
@@ -191,6 +191,9 @@
QString iconDir = data_dir() + "/icons/";
m_iconDir = QDir(iconDir);
settings.qSettings()->endGroup();
+
+ setWindowIcon(QIcon(data_dir()+"/icons/kboard.svg"));
+ setWindowTitle("KBoard");
}
void MainWindow::writeSettings() {
--- trunk/playground/games/kboard/src/pref_preferences.cpp #588101:588102
@@ -49,6 +49,7 @@
: QDialog(parent) {
setupUi(this);
+ setWindowIcon(QIcon(data_dir()+"/icons/kboard.svg"));
connect(buttonBox->button(QDialogButtonBox::Apply), SIGNAL(clicked()), this, SLOT(apply()));
pagePref->hide();
--- trunk/playground/games/kboard/src/ui/pref_board.ui #588101:588102
@@ -84,7 +84,7 @@
<item>
<widget class="QLabel" name="label_6" >
<property name="text" >
- <string>Rude
+ <string>Rough
(little CPU usage)</string>
</property>
<property name="alignment" >
--- trunk/playground/games/kboard/src/ui/pref_movelist.ui #588101:588102
@@ -56,7 +56,7 @@
<item>
<widget class="QLabel" name="label_6" >
<property name="text" >
- <string>Rude
+ <string>Rough
(little CPU usage)</string>
</property>
<property name="alignment" >
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic