Results 1 to 7 of 7

Thread: How assign dynamically QPixmap to QML delegate when using QAbstractItemModel in 5.7 ?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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: How assign dynamically QPixmap to QML delegate when using QAbstractItemModel in 5

    Like any other model data

    Qt Code:
    1. source: styleData.value
    To copy to clipboard, switch view to plain text mode 

    Cheers,
    _

  2. #2
    Join Date
    Aug 2011
    Posts
    38
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How assign dynamically QPixmap to QML delegate when using QAbstractItemModel in 5

    It helped, thanks.

Similar Threads

  1. Replies: 2
    Last Post: 13th November 2014, 11:32
  2. Replies: 0
    Last Post: 8th May 2014, 21:09
  3. Replies: 5
    Last Post: 19th March 2014, 12:05
  4. Replies: 2
    Last Post: 24th December 2010, 18:08
  5. Replies: 4
    Last Post: 16th March 2009, 09:08

Tags for this Thread

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.