Results 1 to 2 of 2

Thread: problem about QGraphicsWidget int QML

  1. #1

    Default problem about QGraphicsWidget int QML

    I have a QML application. now I need a hand-writing interface.I don't know how to realize it within QML.
    So I want to realize it by using QGraphicsWidget.
    but i found my widget cann't response to mouseevent(mousepressevent never excutes) in QML.
    Can anyone please tell me the reason?

    thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: problem about QGraphicsWidget int QML

    Maybe the events are not reaching your item.
    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. Qml in QGraphicsWidget
    By animagani in forum Qt Quick
    Replies: 7
    Last Post: 2nd December 2010, 16:20
  2. Really strange problem with custom QGraphicsWidget
    By Tomasu in forum Qt Programming
    Replies: 16
    Last Post: 15th April 2010, 16:32
  3. Replies: 0
    Last Post: 2nd February 2010, 12:10
  4. QGraphicsWidget and ItemIsMovable()
    By paolom in forum Qt Programming
    Replies: 8
    Last Post: 20th October 2009, 13:25
  5. Positioning QGraphicsWidget
    By jasper_ferrer in forum Qt Programming
    Replies: 3
    Last Post: 22nd September 2009, 14:34

Bookmarks

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.