Container without window decoration on top of mainwindow
-
Hello people,
I am new to Qt (2-3 days). I have created a simple UI for my converter application which uses dialogs to operate. I want to use some kind of container which operates like a dialog but has no window decoration and opens as part of mainwindow (for example, when the user moves the window, the container should move with it). I have attached a picture of that kind of application I found online :)
http://www.stefanseiz.com/images/nnw-shortcut.jpg --- link to an image -
The behaviour you describe (which is demonstrated in your example) is a MacOSX specific feature called a "Sheet". This functionality is default for modal, parented dialogs and message boxes in Qt on Mac. See "here":http://doc.qt.digia.com/qq/qq18-macfeatures.html for more information. For other platforms I believe you will have to implement the functionality yourself.
Hope this helps ;o)
-
[quote author="jazzycamel" date="1376563996"]The behaviour you describe (which is demonstrated in your example) is a MacOSX specific feature called a "Sheet". This functionality is default for modal, parented dialogs and message boxes in Qt on Mac. See "here":http://doc.qt.digia.com/qq/qq18-macfeatures.html for more information. For other platforms I believe you will have to implement the functionality yourself.
Hope this helps ;o)[/quote]
I thought about custom implementation and could only think of adding widget "Widget" and promoting it to smth,and then showing and hiding . Is it possible in that way?(I am on linux) and then showing and hiding