Qt user interface creation
-
Hi,
I am newby to Qt and would like to design a UI for a school project.
I just started with creating window,and sample menus.i would like to know how to addwindow in a window.
my requirement is i need to have 3 windows in a main window1 .Main window
2. Window to display video or images i select from open menu
3. Window to display some controls which are used to prform some action on video or image
4. To display information of what is being played.I just strarted Qt, and i need some guidance , please let me know.
-
Hi,
Have a look at the examples/demos provided with Qt, they are a good place for inspiration. The documentation itself also provide lots of information.
-
With regards to playing a video, the Phonon VideoPlayer widget would be a good solution.
You can read up on the Phonon framework here http://qt-project.org/doc/qt-4.8/phonon-overview.htmlCould you elaborate on "4. To display information of what is being played."
Simply showing the filename would be easy but bit-rate and codec details would take more work. -
[quote author="KiNgFrUiT" date="1362743572"]
Could you elaborate on "4. To display information of what is being played."
Simply showing the filename would be easy but bit-rate and codec details would take more work.[/quote]Yes, thats an optional window, but should be proived when enabled.
It should be flexible enough to display audio/video/image information ( like you said codec, , bit rate , no.of.frames per sec, etc) and some times i want to display logs of the application when it is running.