Summary: | date/time tab's content does not use available width | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | S. Burmeister <sven.burmeister> |
Component: | kcm_language | Assignee: | Hans Petter Bieker <bieker> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | finex, shafff, slashdevdsp |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | screenshot |
Description
S. Burmeister
2008-12-28 12:12:46 UTC
Created attachment 29693 [details]
screenshot
SVN commit 902668 by finex: Converted localetime interface to .ui in order to have a more polished interface. BUG: 178953 M +1 -1 CMakeLists.txt M +156 -194 localetime.cpp M +3 -19 localetime.h A localetime.ui WebSVN link: http://websvn.kde.org/?view=rev&revision=902668 you introduced another bug: widget have weird labels now, as labels are read from objectname, not text/title properties. to fix it, add smth like const QList<QWidget*> &list = findChildren<QWidget*>(); foreach ( QObject* wc, list ) { QString text; if (::qstrcmp(wc->metaObject()->className(), "QLabel") == 0) text=static_cast<QLabel*>(wc)->text(); else if (::qstrcmp(wc->metaObject()->className(), "QGroupBox") == 0 ) text=static_cast<QGroupBox*>(wc)->title(); else if (::qstrcmp(wc->metaObject()->className(), "QCheckBox") == 0) text=static_cast<QCheckBox*>(wc)->text(); wc->setObjectName(text); qWarning()<<text; } to c'tor. but you have to find out how to build ui form using C locale for this to work. That problem has been introduced by another commit (not mine), I'm looking to fix it. *** Bug 179215 has been marked as a duplicate of this bug. *** *** Bug 179218 has been marked as a duplicate of this bug. *** SVN commit 905582 by finex: Reverted to the previous version (removed .ui file) for localetime. The bug #178953 should be fixed in another way. Sorry for the buzz. CCBUG: 178953 M +1 -1 CMakeLists.txt M +49 -14 localetime.cpp M +20 -3 localetime.h D localetime.ui WebSVN link: http://websvn.kde.org/?view=rev&revision=905582 still having the width problems with trunk compiled about 5hrs ago with: qt-copy:907984, kdebase:907985 and kdelibs: 907985 SVN commit 952067 by darioandres: Use a standard QHBoxLayout instead of a QFormLayour for two groupboxes Fixes a layouting issue (The dialog may still need some work to be perfect anyways) BUG: 178953 M +5 -1 localetime.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=952067 SVN commit 952068 by darioandres: Backport to 4.2branch of: SVN commit 952067 by darioandres: Use a standard QHBoxLayout instead of a QFormLayout for two groupboxes Fixes a layouting issue (The dialog may still need some work to be perfect anyways) CCBUG: 178953 M +5 -1 localetime.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=952068 |