Yuhang Zhao
cf83b050d2
common: minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-29 15:36:28 +08:00
Yuhang Zhao
4fe67c9313
cmake: minor improvements
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-27 09:36:28 +08:00
Yuhang Zhao
14a3440bbf
win32: fix typo
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-25 09:35:02 +08:00
Yuhang Zhao
1264fe8341
minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-24 14:54:55 +08:00
Yuhang Zhao
b2f443a592
cmake: minor tweaks of msvc flags
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-21 13:57:13 +08:00
Yuhang Zhao
56499c7028
fix the widget demo
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-18 15:16:06 +08:00
Yuhang Zhao
7616161699
Implement homemade Mica material & other improvements
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-16 15:25:15 +08:00
Yuhang Zhao
7f9f2c8543
adapt to latest qt change
...
And install some missing files
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-13 10:40:29 +08:00
Yuhang Zhao
5e863ee661
cmake: fix include dir for package
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-12 14:58:20 +08:00
Yuhang Zhao
b9d187d5f1
icon font: logic minor improvement
...
No need to bundle the Segoe icon font file,
the OS will always have them installed.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-12 14:00:49 +08:00
Yuhang Zhao
b8fee2e732
support use different icon font based on current platform
...
And some other minor tweaks
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-11 10:55:05 +08:00
Yuhang Zhao
4f8106a009
minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-10 14:26:01 +08:00
Yuhang Zhao
2f36d1f73e
blur behind window: add macos implementation
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-09 14:59:47 +08:00
Yuhang Zhao
7e3a735a7d
minor tweaks and improvements
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-09 12:10:41 +08:00
Yuhang Zhao
2a113ee8ab
Allow build as a CMake package, support the install command
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-08 13:47:50 +08:00
Yuhang Zhao
9a93475f2b
fix typo: snap layouts --> snap layout
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-07 17:00:15 +08:00
Yuhang Zhao
011b4a85f5
fix Qt5 build
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-07 16:22:34 +08:00
Yuhang Zhao
2806cc811b
code simplification, minor re-structure
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-07 13:43:09 +08:00
VerySimple
b413d0b1e6
修改了几个地方 ( #139 )
...
* merge 3 commits
modify a few lines
Update framelesshelper_windows.h
* improve syntax
2022-07-07 10:26:14 +08:00
Yuhang Zhao
01828e086f
quick blur demo: fix typo
...
And minor improvements to the win32 utils code.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-06 18:01:24 +08:00
Yuhang Zhao
464e2af515
finish the chrome palette implementation
...
And with some other minor tweaks that improve user experience.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-06 14:24:41 +08:00
Yuhang Zhao
e8dcb6e6fe
add api to set title bar and chrome button color
...
TODO:
1. Special handling for the close button
2. Move QuickChromePalette class to own files
3. More testing
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-05 17:58:04 +08:00
Yuhang Zhao
aed1673855
win32: remove the limit to the manifest file
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-05 10:36:34 +08:00
Yuhang Zhao
df5ff50c7f
win32: minor improvement
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-04 18:05:04 +08:00
Yuhang Zhao
cbf34ea0ec
win32: try to fix bug
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-04 13:03:23 +08:00
Yuhang Zhao
71f8a5aab1
add blurBehindWindowEnabled property
...
Current only implements for Windows,
macOS will be implemented later,
Linux won't be supported in the near future.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-03 16:01:19 +08:00
Yuhang Zhao
f90b49538a
add support for qmltc tool
...
Also remove one useless enum.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-01 15:52:28 +08:00
Yuhang Zhao
66250dbb6e
cmake: minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-06-27 14:15:34 +08:00
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
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
6fe3dd1088
cmake: minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-23 14:46:20 +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
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
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
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
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