Bug 65337 - text above next balls (usability)
Summary: text above next balls (usability)
Status: RESOLVED FIXED
Alias: None
Product: klines
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Roman Merzlyakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-01 20:53 UTC by Sander Devrieze
Modified: 2003-10-03 00:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sander Devrieze 2003-10-01 20:53:49 UTC
Version:            (using KDE KDE 3.1.2)

There is no text above the next balls that will be dropped. So, people new to the game will not see that fast what's the meaning of these three balls.

My proposal:
Add the following text above (place enough) the three balls: "Next:"
Comment 1 Albert Astals Cid 2003-10-03 00:00:52 UTC
Subject: kdegames/klines

CVS commit by aacid: 

Add a label saying what the balls of the right mean. Hope Roman doesn't mind. Won't port to KDE 3.1.X because of the message freeze
CCMAIL:65337-done@bugs.kde.org


  M +10 -3     mwidget.cpp   1.5


--- kdegames/klines/mwidget.cpp  #1.4:1.5
@@ -18,5 +18,10 @@
  ***************************************************************************/
 #include "mwidget.moc"
+
+#include <klocale.h>
+
+#include <qlabel.h>
 #include <qlayout.h>
+
 #include "ballpainter.h"
 
@@ -30,9 +35,11 @@ MainWidget::MainWidget( QWidget* parent,
     grid->addWidget( lsb );
 
-
+    QBoxLayout *right = new QVBoxLayout(grid, 2);
+    QLabel *label = new QLabel(i18n("Next Balls:"), this);
     lPrompt = new LinesPrompt(bPainter, this);
     connect(lPrompt, SIGNAL(PromptPressed()), parent, SLOT(switchPrompt()));
 
-    grid->addWidget( lPrompt );
+    right->addWidget( label, 0, Qt::AlignBottom | Qt::AlignHCenter );
+    right->addWidget( lPrompt, 0, Qt::AlignTop | Qt::AlignHCenter );
 
     grid->activate();