Results 1 to 2 of 2

Thread: grid view

  1. #1
    Join Date
    Dec 2015
    Posts
    3
    Thanks
    1
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Windows

    Default Re: grid view

    I am populating a grid view from a database comprising of images, audio, video.

    I want to have a play sign on every audio video items. how do I do?

    Is there any inbuilt function?

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: grid view

    Each item in the model can return an icon in its Qt::DecorationRole.

  3. The following user says thank you to ChrisW67 for this useful post:

    tithi (29th December 2015)

Similar Threads

  1. center items in Grid View cells
    By joko in forum Qt Quick
    Replies: 5
    Last Post: 26th November 2014, 17:25
  2. Replies: 2
    Last Post: 4th September 2014, 11:09
  3. Custom widgets in a grid view
    By ada10 in forum Newbie
    Replies: 2
    Last Post: 23rd August 2010, 11:28
  4. Replies: 5
    Last Post: 21st January 2010, 15:55
  5. slider control and combo box in grid view
    By steg90 in forum Qt Programming
    Replies: 13
    Last Post: 21st November 2007, 10:45

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
  •  
Qt is a trademark of The Qt Company.