[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-edu-devel
Subject:    [kde-edu-devel] KHangman patches...
From:       Whitehawk Stormchaser <zerokode () gmx ! net>
Date:       2002-11-25 21:45:24
[Download RAW message or body]

Greetings!
I really need to ask something; I have commited a patch, that is _supposed_ to 
fix GUI problems with big fonts... But I made a mistake... I commited it to 
CVS...

Now here is a patch, that was just partially applied... I've added a version 
change just a few minutes ago (This is NOT in CVS!!!)

Pleaes don't hate me... If the patch doesn't fix the bug 
(http://bugs.kde.org/show_bug.cgi?id=51159), then PLEASE remove the patch from 
the CVS (sorry... I don't know, how)... So, here it is (The patch was created 
against the KDE_3_1_0_RELEASE tag; 

Sorry... 
Regards. ~W.
-- 
fortune:
Preudhomme's Law of Window Cleaning:
It's on the other side.
---------------------
KDE XMame Wrapper: The KMameleon Project
http://designs.stormspirit.net/kmameleon/

["khmuifix.diff" (text/x-diff)]

? khmuifix.diff
Index: khangman.h
===================================================================
RCS file: /home/kde/kdeedu/khangman/khangman/khangman.h,v
retrieving revision 1.17
diff -p -r1.17 khangman.h
*** khangman.h	2002/05/20 15:53:23	1.17
--- khangman.h	2002/11/25 21:39:09
***************
*** 18,24 ****
  #ifndef KHANGMAN_H
  #define KHANGMAN_H
  
! #define KHM_VERSION "0.8"
  
  #ifdef HAVE_CONFIG_H
  #include <config.h>
--- 18,24 ----
  #ifndef KHANGMAN_H
  #define KHANGMAN_H
  
! #define KHM_VERSION "1.0"
  
  #ifdef HAVE_CONFIG_H
  #include <config.h>
Index: mainw.ui
===================================================================
RCS file: /home/kde/kdeedu/khangman/khangman/mainw.ui,v
retrieving revision 1.6
diff -p -r1.6 mainw.ui
*** mainw.ui	2002/08/13 10:44:29	1.6
--- mainw.ui	2002/11/25 21:39:10
***************
*** 1,4 ****
! <!DOCTYPE UI><UI version="3.0" stdsetdef="1">
  <class>MainW</class>
  <widget class="QWidget">
      <property name="name">
--- 1,4 ----
! <!DOCTYPE UI><UI version="3.1" stdsetdef="1">
  <class>MainW</class>
  <widget class="QWidget">
      <property name="name">
***************
*** 123,128 ****
--- 123,134 ----
                          <property name="sizeType">
                              <enum>Expanding</enum>
                          </property>
+                         <property name="sizeHint">
+                             <size>
+                                 <width>20</width>
+                                 <height>20</height>
+                             </size>
+                         </property>
                      </spacer>
                      <widget class="QPushButton">
                          <property name="name">
***************
*** 142,147 ****
--- 148,159 ----
                          <property name="sizeType">
                              <enum>Expanding</enum>
                          </property>
+                         <property name="sizeHint">
+                             <size>
+                                 <width>20</width>
+                                 <height>20</height>
+                             </size>
+                         </property>
                      </spacer>
                      <widget class="QFrame">
                          <property name="name">
***************
*** 249,310 ****
              <bool>true</bool>
          </property>
      </widget>
-     <widget class="QLabel">
-         <property name="name">
-             <cstring>missedLetters</cstring>
-         </property>
-         <property name="geometry">
-             <rect>
-                 <x>40</x>
-                 <y>30</y>
-                 <width>138</width>
-                 <height>58</height>
-             </rect>
-         </property>
-         <property name="font">
-             <font>
-                 <family>Helvetica [Adobe]</family>
-                 <pointsize>24</pointsize>
-                 <bold>1</bold>
-             </font>
-         </property>
-         <property name="text">
-             <string>_ _ _ _ _ _ 
- _ _ _ _ _ _</string>
-         </property>
-     </widget>
-     <widget class="QLabel">
-         <property name="name">
-             <cstring>TextLabel1</cstring>
-         </property>
-         <property name="geometry">
-             <rect>
-                 <x>10</x>
-                 <y>0</y>
-                 <width>65</width>
-                 <height>20</height>
-             </rect>
-         </property>
-         <property name="text">
-             <string>Misses:</string>
-         </property>
-     </widget>
-     <widget class="QLabel">
-         <property name="name">
-             <cstring>TextLabel2</cstring>
-         </property>
-         <property name="geometry">
-             <rect>
-                 <x>170</x>
-                 <y>210</y>
-                 <width>36</width>
-                 <height>20</height>
-             </rect>
-         </property>
-         <property name="text">
-             <string>Word:</string>
-         </property>
-     </widget>
      <widget class="QFrame">
          <property name="name">
              <cstring>Frame11</cstring>
--- 261,266 ----
*************** _ _ _ _ _ _</string>
*** 365,370 ****
--- 321,332 ----
                          <property name="sizeType">
                              <enum>Expanding</enum>
                          </property>
+                         <property name="sizeHint">
+                             <size>
+                                 <width>20</width>
+                                 <height>20</height>
+                             </size>
+                         </property>
                      </spacer>
                      <widget class="QLineEdit">
                          <property name="name">
*************** _ _ _ _ _ _</string>
*** 401,406 ****
--- 363,374 ----
                          <property name="sizeType">
                              <enum>Expanding</enum>
                          </property>
+                         <property name="sizeHint">
+                             <size>
+                                 <width>20</width>
+                                 <height>20</height>
+                             </size>
+                         </property>
                      </spacer>
                      <widget class="QPushButton">
                          <property name="name">
*************** _ _ _ _ _ _</string>
*** 434,439 ****
--- 402,466 ----
          </property>
          <property name="toolTip" stdset="0">
              <string>Switch back to the "adult" mode</string>
+         </property>
+     </widget>
+     <widget class="QLabel">
+         <property name="name">
+             <cstring>TextLabel2</cstring>
+         </property>
+         <property name="geometry">
+             <rect>
+                 <x>6</x>
+                 <y>210</y>
+                 <width>380</width>
+                 <height>20</height>
+             </rect>
+         </property>
+         <property name="text">
+             <string>Word:</string>
+         </property>
+         <property name="alignment">
+             <set>AlignCenter</set>
+         </property>
+     </widget>
+     <widget class="QLabel">
+         <property name="name">
+             <cstring>TextLabel1</cstring>
+         </property>
+         <property name="geometry">
+             <rect>
+                 <x>10</x>
+                 <y>0</y>
+                 <width>110</width>
+                 <height>20</height>
+             </rect>
+         </property>
+         <property name="text">
+             <string>Misses:</string>
+         </property>
+     </widget>
+     <widget class="QLabel">
+         <property name="name">
+             <cstring>missedLetters</cstring>
+         </property>
+         <property name="geometry">
+             <rect>
+                 <x>10</x>
+                 <y>30</y>
+                 <width>200</width>
+                 <height>70</height>
+             </rect>
+         </property>
+         <property name="font">
+             <font>
+                 <family>Helvetica [Adobe]</family>
+                 <pointsize>24</pointsize>
+                 <bold>1</bold>
+             </font>
+         </property>
+         <property name="text">
+             <string>_ _ _ _ _ _ 
+ _ _ _ _ _ _</string>
          </property>
      </widget>
  </widget>

_______________________________________________
kde-edu-devel mailing list
kde-edu-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-edu-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic