From c4d64d9ece4ad717e3a697612c971e157e62438c Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 31 May 2006 21:19:44 +0000 Subject: [PATCH] Usability work on the setuppopup page. - brought the checkbox closer to the label - reduced the text of the label - a bit more space between the options Finished issue 2.1 from the report. CCMAIL: t.trillitzsch@gmx.de git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/playground/utils/rsibreak@547115 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/setuppopup.cpp | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/src/setuppopup.cpp b/src/setuppopup.cpp index f398ebd..d47e324 100644 --- a/src/setuppopup.cpp +++ b/src/setuppopup.cpp @@ -56,15 +56,12 @@ SetupPopup::SetupPopup(QWidget* parent ) d = new SetupPopupPriv; QVBoxLayout *layout = new QVBoxLayout( parent ); - layout->setSpacing( KDialog::spacingHint() ); + //layout->setSpacing( KDialog::spacingHint() ); layout->setAlignment( AlignTop ); - QLabel *label = new QLabel( i18n("When it is time to break, RSIBreak can " - "show a popup near the systemtray, then " - "you can take a break without the screen " - "being replaced by a picture. If you " - "want to see pictures and not the popup, " - "turn this function off."), parent); + QLabel *label = new QLabel( i18n("RSIBreak can show a popup near the " + "systray instead of replacing your whole screen with a picture."), + parent); label->setAlignment(Qt::WordBreak); layout->addWidget(label); @@ -78,10 +75,8 @@ SetupPopup::SetupPopup(QWidget* parent ) layout->addWidget(d->usePopup); label->setBuddy(d->usePopup); - d->useFlashLabel = new QLabel( i18n("When the popup is shown, it can flash " - "when there is activity detected. You " - "can turn it off when you find it too " - "intrusive."), parent); + d->useFlashLabel = new QLabel( "\n" + i18n("The popup can flash when it " + "detects that you are still active."), parent); d->useFlashLabel->setAlignment(Qt::WordBreak); layout->addWidget(d->useFlashLabel); -- 2.11.4.GIT