[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeedu/kmessedwords/kmessedwords
From: Reuben Sutton <reuben () microsucks ! co ! uk>
Date: 2005-02-21 21:33:54
Message-ID: 20050221213354.678A22226 () office ! kde ! org
[Download RAW message or body]
CVS commit by reuben:
Removed graphical buttons, there was no point to them, and they couldn't be \
translated. Updated version to 2.3.1 due to bugfixes.
BUGS:65782
GUI
M +5 -13 interface.ui 1.4
M +0 -8 kmessedwords.kcfg 1.5
M +2 -2 kmw_release_tag 1.7
M +15 -8 mainwindow.cpp 1.69
M +2 -1 mainwindow.h 1.36
M +3 -10 pics/themes/bubbly_crystal/btnmess.png 1.2
--- kdeedu/kmessedwords/kmessedwords/interface.ui #1.3:1.4
@@ -9,8 +9,11 @@
<x>0</x>
<y>0</y>
- <width>175</width>
- <height>177</height>
+ <width>207</width>
+ <height>203</height>
</rect>
</property>
+ <property name="caption">
+ <string>interface</string>
+ </property>
<grid>
<property name="name">
@@ -52,15 +55,4 @@
<widget class="QCheckBox">
<property name="name">
- <cstring>kcfg_Buttons</cstring>
- </property>
- <property name="text">
- <string>Button images</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Check if you want some themes on the \
buttons</string>
- </property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
<cstring>kcfg_Background</cstring>
</property>
--- kdeedu/kmessedwords/kmessedwords/kmessedwords.kcfg #1.4:1.5
@@ -23,8 +23,4 @@
<default code="true">gamerName</default>
</entry>
- <entry name="GraphicInd" type="Bool">
- <label></label>
- <default>true</default>
- </entry>
<entry name="Level" type="String">
<label>The current level</label>
@@ -38,8 +34,4 @@
<default>1</default>
</entry>
- <entry name="Buttons" type="Bool">
- <label></label>
- <default>false</default>
- </entry>
<entry name="Background" type="Bool">
<label>Set a background pic</label>
--- kdeedu/kmessedwords/kmessedwords/kmw_release_tag #1.6:1.7
@@ -1,2 +1,2 @@
-release_2_2
-code_name__Klone
+release_2_3_1
+code_name__MessedKWords
--- kdeedu/kmessedwords/kmessedwords/mainwindow.cpp #1.68:1.69
@@ -200,16 +200,23 @@ void MainWindow::updateSettings()
void MainWindow::updateButtons()
{
- if(Prefs::buttons() && \
QFile::exists(locate("data","kmessedwords/themes/"+m_themeName+"/btnscore.png"))) { + \
/*if(Prefs::buttons() && \
QFile::exists(locate("data","kmessedwords/themes/"+m_themeName+"/btnscore.png"))) { + \
updateButtonText();
m_view->btnScore->setPixmap(QPixmap(locate("data","kmessedwords/themes/"+m_themeName+"/btnscore.png")));
m_view->btnMess->setPixmap(QPixmap(locate("data","kmessedwords/themes/"+m_themeName+"/btnmess.png")));
m_view->btnTry->setPixmap(QPixmap(locate("data","kmessedwords/themes/"+m_themeName+"/btntry.png")));
- update();
- } else {
+
+ } else {*/
+ updateButtonText();
+/* }*/
+}
+
+void MainWindow::updateButtonText()
+{
m_view->btnScore->setText(i18n("&Scores"));
m_view->btnMess->setText(i18n("&Play"));
m_view->btnTry->setText(i18n("&Try"));
update();
- }
}
+
#include "mainwindow.moc"
--- kdeedu/kmessedwords/kmessedwords/mainwindow.h #1.35:1.36
@@ -20,5 +20,5 @@
#define MAINWINDOW_H
-#define LOCAL_VERSION "2.3"
+#define LOCAL_VERSION "2.3.1"
//CVS version changes ONLY with major overhaul OR submission of new features...
@@ -87,4 +87,5 @@ protected slots:
void slotChangeLevel();
void updateButtons();
+ void updateButtonText();
};
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic