Results 1 to 3 of 3

Thread: How to add QMediaPlaylist to a layout

  1. #1
    Join Date
    Oct 2013
    Posts
    142
    Thanks
    36
    Thanked 3 Times in 3 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default How to add QMediaPlaylist to a layout

    Can someone tell me which is the best way of adding a viewable media playlist to a layout?
    Thank you.

  2. The following user says thank you to adutzu89 for this useful post:


  3. #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: How to add QMediaPlaylist to a layout

    You could create a simple list model that operates on the QMediaPlaylist object as its data, or just loop over the media entries and create QListWidgetItem for a QListWidget

    Cheers,
    _

  4. #3
    Join Date
    Oct 2013
    Posts
    142
    Thanks
    36
    Thanked 3 Times in 3 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: How to add QMediaPlaylist to a layout

    I see, thank you.

Similar Threads

  1. QMediaPlaylist view
    By Festus Hagen in forum Qt Programming
    Replies: 0
    Last Post: 6th September 2013, 08:23
  2. Replies: 6
    Last Post: 14th February 2011, 00:06
  3. Replies: 0
    Last Post: 12th December 2010, 06:09
  4. Replies: 0
    Last Post: 25th May 2009, 11:00
  5. Replies: 7
    Last Post: 15th June 2007, 17:13

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.