PDA

View Full Version : How to insert media player in QDialog ?



merry
25th August 2008, 06:46
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?

wysota
25th August 2008, 07:05
Type in "Phonon" in your assistant's index tab or take a look at the source code of the example.

merry
25th August 2008, 12:56
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.

seth___
25th August 2008, 13:26
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