From koffice Tue Sep 20 08:50:40 2005 From: Thomas Zander Date: Tue, 20 Sep 2005 08:50:40 +0000 To: koffice Subject: [Bug 112933] New: JJ: replace double spinboxes in koffice Message-Id: <20050920105039.112933.zander () kde ! org> X-MARC-Message: https://marc.info/?l=koffice&m=112720826231087 ------- 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