How to port KIntSpinBox::setSuffix
Albert Astals Cid
aacid at kde.org
Sun Jun 8 18:37:54 UTC 2014
El Dimarts, 3 de juny de 2014, a les 18:10:50, Kevin Ottens va escriure:
> Hello,
>
> On Tuesday 03 June 2014 17:59:18 David Faure wrote:
> > On Tuesday 03 June 2014 17:53:22 Kevin Ottens wrote:
> > > I'm not sure I get the reasoning leading to that conclusion. Can't be
> > > done
> > > upstream in Qt?
> >
> > This is all about calling i18n() at runtime, from within the widget (when
> > the value changes), on a KLocalizedString member (-> i.e. it's based on a
> > delayed translation mechanism).
>
> Ah OK, I see now.
>
> BTW, just wondering if we wouldn't want that by composition instead of
> inheritance. Won't we need the equivalent for QDoubleSpinBox too?
That was discussed a while ago in the localization mailing list, as far as I
remember the answer was that all languages use a single for when dealing with
decimal number.
Cheers,
Albert
>
> Regards.
More information about the Kde-frameworks-devel
mailing list