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

Reply via email to