Summary: | text above next balls (usability) | ||
---|---|---|---|
Product: | [Applications] klines | Reporter: | Sander Devrieze <s.devrieze> |
Component: | general | Assignee: | Roman Merzlyakov <roman> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Sander Devrieze
2003-10-01 20:53:49 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(); |