[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice
Subject: [Bug 112933] New: JJ: replace double spinboxes in koffice
From: Thomas Zander <zander () kde ! org>
Date: 2005-09-20 8:50:40
Message-ID: 20050920105039.112933.zander () kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=112933
Summary: JJ: replace double spinboxes in koffice applications
with the KoUnitDoubleSpinBox
Product: koffice
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: NEW
Severity: normal
Priority: NOR
Component: general
AssignedTo: koffice kde org
ReportedBy: zander kde org
Version: (using KDE Devel)
Installed from: Compiled sources
In various places in koffice we use a double spinbox and a label in front shows the \
currently used units (inch/cm/etc).
We need to replace all those with a KoUnitDoubleSpinBox instance instead.
so;
- change header file to make the member a KoUnitDoubleSpinBox instead of a \
KDoubleNumInput.
- change the creation to be like this:
foo = new KoUnitDoubleSpinBox( indentFrame, 0, 9999, 1, 0.0, m_unit );
- remove the unit label so, for example:
lLeft = new QLabel( i18n("&Left (%1):").arg(unitName), indentFrame );
becomes:
lLeft = new QLabel( i18n("&Left:"), indentFrame );
thats it.
____________________________________
koffice mailing list
koffice@kde.org
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic