Unsolved QMainWindow skin for frame
-
Hello i am using QT for creating multi-platform application. How can i set image-frame for my main window. Like this:
-
@pomestnik Do you mean the window decoration? You can't do this with Qt as it is outside of the scope of Qt. You will need to use platform specific APIs.
-
yep.. i mean window-skin (decoration). The skin system like in winamp\aimp audio players for example, but only for QMainWindow frame. Elements inside will be styled with qss stylesheet.
I don't want using platform specific APIs because it's multi-platform application... -
@pomestnik As I said: you can't do that with Qt.
-
Hi
Only option is to use Qt::FramelessWindowHint and make fake borders and handle all move/resize yourself.
However, its not really recommended.