------- 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