Style of Window
-
AFAIK you can't do it with Qt only. You need to draw your own decorations and use non-decorated window flag. Maybe there are also some solutions in WinAPI, but I don't know
-
The titlebar belongs to the OS and, so Qt does not have control over it and it is hence not possible to modify it using Qt. The following "FAQ":http://developer.qt.nokia.com/faq/answer/how_can_i_handle_events_in_the_titlebar_and_change_its_color_etc contains information on how you can create your own titlebar though and an example on how to do it.
-
Also: users of window systems that allow you to adapt the layout of these buttons and frames (KDE comes to mind) will probably hate you for tampering with this. They expect their applications to follow their preference, instead of having to follow the preferences of the application's author.
-
This can be found in the "docs":http://doc.qt.nokia.com/4.7/index.html and "main window examples":http://doc.qt.nokia.com/4.7/examples-mainwindow.html . If you want to add a menu bar or a tool bar to a "normal" qwidget,. you have to add it amnually to a layout like all other widgets.