Yuhang Zhao
6683a183d7
cmake: a little simplification
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-06-27 10:00:23 +08:00
Yuhang Zhao
7b769a71a0
minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-06-26 14:57:18 +08:00
Yuhang Zhao
a89f19af96
2.1.7 release
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-06-25 19:38:41 +08:00
Yuhang Zhao
75f19218c6
minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-06-24 21:38:26 +08:00
Yuhang Zhao
ffa9bc912b
update README.md
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-06-24 20:39:09 +08:00
Yuhang Zhao
888f9d0aca
standardsystembutton: use icon font instead of svg images
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-06-24 18:04:49 +08:00
Yuhang Zhao
bfc7b27900
macos: minor improvements
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-06-23 16:43:22 +08:00
Yuhang Zhao
7a65ce04ee
win32: remove ATL dependency
...
Fixes : #136
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-06-20 17:14:16 +08:00
Yuhang Zhao
9cbfe495b7
win32: fix crash in rare cases
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-06-07 10:43:26 +08:00
Yuhang Zhao
a04fd53a38
general improvements
...
1. replace raw char array with QByteArray
2. Register QWindow for Quick module
3. Account for hidden and disable state when hovering controls
4. fix quick title bar label alignment
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-06-01 11:16:34 +08:00
Yuhang Zhao
0cff5ff48e
add "hideWhenClose" property
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-23 21:09:09 +08:00
Yuhang Zhao
093040ec93
make windowFixedSize a Qt property
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-23 15:17:34 +08:00
Yuhang Zhao
6fe3dd1088
cmake: minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-23 14:46:20 +08:00
Yuhang Zhao
ca1c33ac23
win32 demos: minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-23 09:58:39 +08:00
Yuhang Zhao
5754f2ec20
common: improve robustness
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-20 17:36:44 +08:00
Yuhang Zhao
44b3730056
quick: remove not used code
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-19 10:23:18 +08:00
Yuhang Zhao
6731007e35
quick: make sure top border stays on top
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-18 18:00:56 +08:00
Yuhang Zhao
06653433d7
win32: a little fix
...
Amends commit 8f31e67dae
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-18 09:34:00 +08:00
Yuhang Zhao
8f31e67dae
win32: remove useless error checking
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-18 09:24:25 +08:00
Yuhang Zhao
e162345c62
update readme
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-17 13:50:00 +08:00
Yuhang Zhao
7313ed0f99
update readme
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-17 13:41:32 +08:00
Yuhang Zhao
ff1605ee7b
win32: fix crash caused by "isWindowFixedSize()"
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-16 10:09:23 +08:00
Yuhang Zhao
45be647baf
win32: fix another issue related to hit test
...
This issue was hidden due to it's actually not executed.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-15 15:51:09 +08:00
Yuhang Zhao
c2c6ef1976
win32: fix controls in the title bar area can't be hovered
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-15 14:29:21 +08:00
Yuhang Zhao
3a0e6f081f
titlebar: allow use alternative background
...
Set this property to true if you want to use your own background color/pixmap
instead of system's current accent color.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-15 11:46:27 +08:00
Yuhang Zhao
1cd39fd7b2
quick: a little code simplification
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-14 10:02:42 +08:00
Yuhang Zhao
45b3657d7e
minor tweaks
...
Doesn't seem to affect the final appearance
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-13 20:51:03 +08:00
Yuhang Zhao
d13d74783f
quick: simplify implementation
...
1. Merge the three system buttons into one class.
2. Fixed some color calculation errors of system button.
3. Removed some not used bundled resources.
4. Added function to retrieve runtime version of FramelessHelper.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-13 17:33:01 +08:00
Yuhang Zhao
8042a78b8f
various fixes and improvements
...
1. Make all demo applications be able to record and restore the previous window geometry.
2. Improve the robustness of the widgets and quick implementation.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-13 14:19:50 +08:00
Julien
915e775d94
FIX: crash in isFixedSize when calling destructors ( #131 )
...
Fixes : #130
Co-authored-by: Julien Maille <julien.maille@data-pixel.com>
2022-05-13 11:05:11 +08:00
Yuhang Zhao
1a3d1c82a1
update readme
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-12 17:50:38 +08:00
Yuhang Zhao
1db02751d7
update readme
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-12 17:39:53 +08:00
Yuhang Zhao
5c3b8b70df
general: fix the system button background color in various cases
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-12 17:25:10 +08:00
Yuhang Zhao
8cb24c61b3
general improvements
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-12 15:07:57 +08:00
Yuhang Zhao
bebd20f01e
win32: finish the fixed size fix
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-11 21:18:25 +08:00
Yuhang Zhao
ab20f3433b
remove useless code
...
And that also fixes the bug for Qt Quick applications
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-11 20:24:29 +08:00
Yuhang Zhao
a1acc3e06f
common: minor tweaks
...
Code simplification, format changes, etc ...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-11 17:32:14 +08:00
Yuhang Zhao
aad6957a52
win32: fix fixed size behavior
...
The code was from 2.0 and due to we changed solution in 2.1,
it needs to be tweaked accordingly but was forgotten.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-11 11:04:03 +08:00
Yuhang Zhao
059013a338
update readme
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-09 14:32:21 +08:00
Yuhang Zhao
ecef5bb9fd
fix wrong discord link
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-09 11:51:09 +08:00
Yuhang Zhao
54496f9fe0
lower warning level for msvc
...
Bug reports from users indicate that /W4 causes many
warnings for MSVC 2019 and the warnings come from
private Qt headers so no way to fix them in FramelessHelper.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-09 11:39:15 +08:00
Yuhang Zhao
66d77112ed
win32: fix possible crash in some very rare cases
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-08 21:50:08 +08:00
Yuhang Zhao
a10ac4e32d
demos: simplify some code
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-08 18:24:09 +08:00
Yuhang Zhao
c853cc63c6
re-fix wrong parameter for xcb
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-08 16:42:55 +08:00
Yuhang Zhao
053d6b104e
centralize how we handle global options
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-08 16:09:00 +08:00
Yuhang Zhao
286811c9df
expose private headers, someone may need
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-07 18:02:44 +08:00
Yuhang Zhao
c936a7da80
minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-06 21:00:07 +08:00
Yuhang Zhao
2135d2f15f
update docs
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-06 17:59:53 +08:00
Yuhang Zhao
196aeb1ce1
linux: minor fixes of the xcb usage
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-06 16:32:59 +08:00
Yuhang Zhao
4b136295a8
update docs
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-06 10:36:35 +08:00