Yes I'm aware of that, I'm just thinking about a new default for
qlonglong, so others don't have the same issue.

tr3w

On Thu, Mar 28, 2013 at 2:52 PM, André Somers <an...@familiesomers.nl> wrote:
> Op 28-3-2013 14:42, Tr3wory schreef:
>> Thank you for the tip, the QIdentityProxyModel looks promising. And
>> yes, the QSpinBox is not good enough for qlonglong in general. What
>> about a QLineEdit with a proper input mask?
> Can be done.
> Note that you can supply your own editors to the model/views system,
> even when using the default delegates. See QItemEditorFactory. You can
> register your own editors with the factory by subclassing
> QItemEditorCreatorBase to return whatever editor you like, and then
> registering it with the delegate's factory using
> registerEditor(QVariant::LongLong, yourLongLongCreator).
>
> André
>
> --
> You like Qt?
> I am looking for collegues to join me at i-Optics!
>
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to