Results 1 to 2 of 2

Thread: QDeclarativeItem subclasses events won't work in qml

  1. #1
    Join Date
    Jan 2012
    Iran, Tehran
    Thanked 24 Times in 21 Posts
    Qt products
    Qt4 Qt5 PyQt3 PyQt4
    Unix/X11 Windows

    Default QDeclarativeItem subclasses events won't work in qml

    Hello everybody...
    I've a little problem in QDeclarativeItem. I've derive a class from QDeclarativeItem and i've registered it into qml. Whatever i do i can't set its events in qml :| . How can i implement QDeclarativeItem event's so in qml they work?!!!


  2. #2
    Join Date
    Jan 2006
    Warsaw, Poland
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits

    Default Re: QDeclarativeItem subclasses events won't work in qml

    Can we see the code?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.

Similar Threads

  1. data property in QDeclarativeItem. what is it?
    By moti.lahiani in forum Qt Quick
    Replies: 0
    Last Post: 18th November 2011, 09:03
  2. Replies: 5
    Last Post: 15th August 2011, 21:34
  3. Using a QML model from a QDeclarativeItem subclass
    By humbleguru in forum Qt Programming
    Replies: 1
    Last Post: 3rd January 2011, 12:07
  4. events don't work
    By hollowhead in forum Newbie
    Replies: 7
    Last Post: 24th March 2010, 22:33
  5. declaring subclasses in C++
    By Paat in forum Newbie
    Replies: 4
    Last Post: 23rd October 2009, 08:40

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.