Commit Graph

13 Commits

Author SHA1 Message Date
Yuhang Zhao 1c0e4a4657 Minor improvements.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2020-10-25 11:06:48 +08:00
Yuhang Zhao 955961cf9b Minor tweaks.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2020-10-24 23:45:23 +08:00
Yuhang Zhao 5fc425fc64 Update.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2020-10-14 18:36:13 +08:00
Yuhang Zhao c9e38491ae Update.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2020-08-13 16:29:12 +08:00
Yuhang Zhao c61b6ff1fb Update.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2020-08-01 10:32:22 +08:00
Yuhang Zhao 807dda608e Adapt to new style.
1. Use QList instead of QVector because QVector will become an alias of QList since Qt6.
2. Don't use *const because the account of const is too large.
3. New style applied, by Clang Format.

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2020-06-27 14:19:09 +08:00
Yuhang Zhao 86222e22d9 Support Qt 5.15 style.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2020-05-25 20:38:40 +08:00
Yuhang Zhao e401db219d Add a few more functions to the quick helper.
Maybe useful.

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2020-05-24 20:54:13 +08:00
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