How to Hide Window flags in qt Quick?
-
Hi.
how can i hide window flags in Qt Quick? -
I'm not quite sure what you mean with hide window flags.
If you are talking about the system menu (minimize, maximize, close) or the window decoration you will have to either use a bit of C++ (QQuickView is a QWindow, which has access to windowFlags) or you use the "desktop components":https://codereview.qt-project.org/p/playground/qtdesktopcomponents, which offer a Window item, which has a windowDecoration flag.
-
yes,Hide close,minimize and maximize buttons.
you mean I should use c++ to view my qml file and hide it with C++ code.right?@
setWindowFlags(...);
@ -
Yes.
-
Right
it's work!
thanks a lot