Commit Graph

5 Commits

Author SHA1 Message Date
Yuhang Zhao d28e3d167c Add a way to ignore title bar.
If a window is in fullscreen mode, it should not have a title bar.

Maybe a rare use case, but better than nothing.

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2020-05-17 17:35:09 +08:00
Yuhang Zhao d8e07b86c4 Add moveWindowToDesktopCenter to the quick helper.
It may be useful for Qt Quick users.

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2020-05-13 21:24:51 +08:00
Yuhang Zhao aa146d1893 Fix 5.12 build error.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2020-05-13 20:01:44 +08:00
Yuhang Zhao b216f18b35 Add functions to set max/min size of window to the quick helper.
They may be useful as well.

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2020-05-13 16:52:47 +08:00
Yuhang Zhao 2ca6a90ae2 Add a Qt Quick helper class.
It's much easier to use it in Qt Quick now.

Fixes: #11

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2020-05-12 20:53:53 +08:00