Results 1 to 4 of 4

Thread: How to insert media player in QDialog ?

  1. #1
    Join Date
    Jan 2007
    Posts
    326
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default How to insert media player in QDialog ?

    Hi all

    i am working on Qt4.4.1 on mac osx , Here in this there is an example of media player. I want to use that media player and want to insert that media player in my own QDialog.

    How to do that?
    Always Believe in Urself
    Merry

  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: How to insert media player in QDialog ?

    Type in "Phonon" in your assistant's index tab or take a look at the source code of the example.

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

    merry (25th August 2008)

  4. #3
    Join Date
    Jan 2007
    Posts
    326
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: How to insert media player in QDialog ?

    Thanks 4 d reply

    I gone through d examples of Phonon , one is MusicPlayer and other is MediaPlayer, I want to make media player having its parent my existing dialog....can u suggest me som tips that how can i insert media player on my existing dialog.
    Always Believe in Urself
    Merry

  5. #4
    Join Date
    Jun 2008
    Posts
    15
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to insert media player in QDialog ?

    I understand that you want to insert whole example into another window. Example window inherits class QWidget (maybe not directly, for example by QMainWindow), so it behave like every widget. You can put it on another window the same way like buttons, labels, etc... Remember to include example headers in your source

  6. The following user says thank you to seth___ for this useful post:

    merry (25th August 2008)

Similar Threads

  1. Media Player for Windows.
    By merry in forum Qt Programming
    Replies: 6
    Last Post: 5th March 2008, 06:49
  2. media player controls for suse10/qt designer
    By RajeshPR in forum Qt Programming
    Replies: 1
    Last Post: 20th March 2006, 08: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.