Results 1 to 2 of 2

Thread: Paint with Qml

  1. #1
    Join Date
    Sep 2016
    Location
    United States
    Posts
    1
    Qt products
    PyQt3 PyQt4
    Platforms
    Windows

    Default Paint with Qml

    Hi.

    I would like draw an image and display it with QML.
    But i don't find painter, canvas, image, ... to build it.
    Do you know if its possible? Maybe in a futur version?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Paint with Qml

    There are a couple of options.

    If you just want to display some custom painting using QPainter, look at QQuickPaintedItem.

    Cheers,
    _

Similar Threads

  1. Paint in a QtableView
    By StrikeByte in forum Qt Programming
    Replies: 3
    Last Post: 19th December 2014, 16:37
  2. Paint events
    By GrahamLabdon in forum Qt Programming
    Replies: 3
    Last Post: 22nd March 2010, 12:12
  3. Immediate paint
    By zgulser in forum Qt Programming
    Replies: 11
    Last Post: 15th March 2010, 07:34
  4. paint
    By xyzt in forum Qt Programming
    Replies: 3
    Last Post: 22nd March 2008, 18:22
  5. QtCanvasPolygon does not paint
    By YuriyRusinov in forum Qt Programming
    Replies: 3
    Last Post: 10th August 2007, 17:56

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.