Re: [Interest] QVariant cannot take custom type

2013-04-05 Thread Conti Manuele
Hi All, There is a problem in your code, actually I use this and work perfectly: Q_DECLARE_METATYPE(QSharedPointer) qRegisterMetaType< QSharedPointer >(); Bye On 04/05/2013 12:27 PM, Samuel Gaist wrote: > He explains how to handle QObject * so a pointer to QObject instance, not a > QObject inst

[Interest] [QT 4.8] QInputContext with QStyledItemDelegate

2013-02-11 Thread Conti Manuele
Hi all, I tried to use a QInputContext to implement a virtual keyboard for my application like example: http://harmattan-dev.nokia.com/docs/platform-api-reference/xml/daily-docs/libqt4/tools-inputpanel.html So, it work. Than, I tried to use with a QStyledItemDelegate class that I use to edit