Yuhang Zhao
f7368d0a08
widgets: PIMPL refactor
2023-08-25 17:50:22 +08:00
Yuhang Zhao
e6a4849f81
snap layout: refactor
2023-08-25 15:30:20 +08:00
Yuhang Zhao
e0abdb04ce
snap layout: improve
2023-08-25 14:13:39 +08:00
Yuhang Zhao
e8977c7486
snap layout: improve
2023-08-25 13:17:51 +08:00
Yuhang Zhao
95e5791288
win: refactor
2023-08-25 11:09:06 +08:00
Yuhang Zhao
5c8ac2736f
quick: PIMPL refactor
2023-08-24 18:05:48 +08:00
Yuhang Zhao
15212abd85
win: fix dialog maximize
...
issue: #266
2023-08-24 15:00:04 +08:00
Yuhang Zhao
3bc44c267d
core: PIMPL refactor
2023-08-24 14:41:43 +08:00
Yuhang Zhao
01f3750efd
win: minor tweaks
2023-08-24 13:10:11 +08:00
Yuhang Zhao
4a1f5fb1f4
win: replace an old workaround with new one
2023-08-24 10:24:33 +08:00
Yuhang Zhao
a130fef677
win: refactor
2023-08-23 18:04:31 +08:00
Yuhang Zhao
644266923b
win: snap layout refactor
2023-08-21 15:07:07 +08:00
Yuhang Zhao
469c686ade
refactor
2023-08-21 12:43:44 +08:00
Yuhang Zhao
2202fbf1c2
snap layout: get rid of the transparent window
2023-08-20 16:58:26 +08:00
Yuhang Zhao
58afa6aa95
snap layout: try improve the maximize button handling
2023-08-19 15:45:49 +08:00
Yuhang Zhao
54e3f6232e
mica material: fix high dpi scaling
2023-08-19 15:33:11 +08:00
SineStriker
8ac3d747a1
Fix hover event and system buttons ( #262 )
...
* Fix hover event
* Fix system button
2023-08-19 14:48:26 +08:00
Yuhang Zhao
ca968b7ba6
snap layout: fix qt events
2023-08-19 13:24:29 +08:00
Yuhang Zhao
2c8bd8ce8c
win: minor improvements
2023-08-18 17:25:13 +08:00
Yuhang Zhao
9265735ac7
win: use Qt events to set system button state
2023-08-17 14:24:27 +08:00
Yuhang Zhao
c85c6d6fc5
fix qt5 build
2023-08-17 11:58:00 +08:00
Yuhang Zhao
861b94d8ac
win: improve an old workaround
2023-08-17 11:55:50 +08:00
Yuhang Zhao
013f2e845f
win: minor improvement
2023-08-14 11:02:17 +08:00
Yuhang Zhao
2035fed510
win: fix regression
2023-08-07 17:41:15 +08:00
Yuhang Zhao
e1e38acd6c
linux: workaround qt missing mouse release event
2023-08-07 15:11:03 +08:00
Yuhang Zhao
177e377bb4
mica material: fix multi monitor scenario
2023-08-07 14:31:40 +08:00
Yuhang Zhao
8d3ef93885
win: fix theme not updating
2023-08-05 13:46:23 +08:00
Yuhang Zhao
cb3827210c
win: minor improvement
2023-08-04 19:27:18 +08:00
Yuhang Zhao
90b2fe42c6
macos: fix compile error
2023-08-01 16:18:57 +08:00
Yuhang Zhao
60a691eb61
macos: fix syntax error
2023-08-01 15:48:12 +08:00
Yuhang Zhao
3342a28895
refactor
2023-08-01 14:28:09 +08:00
Yuhang Zhao
f2758aba25
cmake: minor tweaks
2023-07-30 18:56:07 +08:00
Yuhang Zhao
86bc1c0142
cleanup & optimize, part 2
...
The file size of FramelessHelper binaries should be smaller than before. Core: Win32 MSVC2022 x64 release build, -20KB
The general performance should be improved, due to double lookups are all eliminated.
2023-07-30 18:28:38 +08:00
Yuhang Zhao
20ab4f7d4b
mica material: prefer speed over quality
2023-07-30 15:14:16 +08:00
Yuhang Zhao
5b0d06307a
cmake: use unique target name and fix install failure
2023-07-29 17:09:35 +08:00
Yuhang Zhao
8cc6a15535
fix qt5 builds
2023-07-29 16:33:04 +08:00
Yuhang Zhao
ad90846797
fix qt5 builds
2023-07-29 16:29:05 +08:00
Yuhang Zhao
1b4b5b620f
fix qt5 builds
2023-07-29 16:25:47 +08:00
Yuhang Zhao
2f7a104ebd
string: use better name
2023-07-29 16:17:13 +08:00
Yuhang Zhao
c6ca6cc794
include std headers, avoid transitive include
2023-07-29 15:57:03 +08:00
Yuhang Zhao
4ed21585b4
cleanup core module
...
Core mostly done. TODO: Widgets & Quick module
2023-07-29 15:29:38 +08:00
Yuhang Zhao
d9ce1c4302
win: fix snap layout not working unless resize once
2023-07-28 15:20:25 +08:00
Yuhang Zhao
b57da216e9
win: minor tweaks
2023-07-22 14:26:25 +08:00
Yuhang Zhao
8e73e3eac8
win: add more sanity checks
2023-07-18 17:53:44 +08:00
Yuhang Zhao
2cd4d133f3
minor tweaks
2023-07-17 16:44:13 +08:00
Yuhang Zhao
27663fcb28
quick: minor code simplification
2023-07-15 16:27:30 +08:00
Yuhang Zhao
d71dc75b77
mica material: fix drawing on multi-monitor scenario
2023-07-15 16:10:48 +08:00
Dylan Liu
43f632f261
Fix the bug of unregistered datatype QuickGlobal::SystemTheme in Qt 5. ( #240 )
2023-07-06 11:50:05 +08:00
Yuhang Zhao
d1b4aadb76
mica material: use separate thread to do time-consuming task
2023-07-02 13:48:38 +08:00
Yuhang Zhao
617a015b97
mica material: minor fixes of previous implementation
2023-07-02 11:44:54 +08:00
Yuhang Zhao
7c0d8c4b11
mica material: support reading very large image files
2023-07-01 18:16:57 +08:00
Yuhang Zhao
fa5389a0fc
ci: try fix ci
2023-06-30 17:31:01 +08:00
Yuhang Zhao
2a49e9fcaf
cmake: support ninja multi-config
...
Fixes : #231
2023-06-30 16:55:26 +08:00
Yuhang Zhao
6c27125d69
win: guard some code with proper version check
2023-06-19 16:07:43 +08:00
Yuhang Zhao
c1370c4897
cmake: minor change
2023-06-17 12:34:30 +08:00
Dylan Liu
af200adf63
Remove unused function in NSWindowProxy. ( #236 )
2023-06-15 18:48:21 +08:00
Yuhang Zhao
00b67ead0e
win: remove unnecessary code & add some comments
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-06-04 13:28:14 +08:00
Yuhang Zhao
907fdeae67
fix ci: remove unused functions
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-06-03 15:24:04 +08:00
Yuhang Zhao
5a344f3e23
minor fixes & some refactorings
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-06-03 15:13:50 +08:00
Yuhang Zhao
1e754c1612
minor fixes
2023-06-02 14:51:12 +08:00
Yuhang Zhao
f7f8fc3dd0
core: fix wrong override condition
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-05-28 13:55:44 +08:00
Yuhang Zhao
e1cf95f208
cmake: fix link with mingw
...
Signed-off-by: Yuhang Zhao <zhaoyuhang@rankyee.com>
2023-05-26 11:08:08 +08:00
Yuhang Zhao
59fb61d981
cmake: fix old mingw toolchain
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-05-22 19:27:26 +08:00
zhuzichu
e090359d9a
fix setOverrideTheme render multiple times ( #228 )
...
* fix setOverrideTheme render multiple times
* fix setOverrideTheme render multiple times
* fix encoding utf8
* fix setOverrideTheme render multiple times
---------
Co-authored-by: 朱子楚\zhuzi <zhuzichu520@outlook.com>
2023-05-22 19:15:51 +08:00
Yuhang Zhao
e7da37d06a
deprecated unused function & other minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-05-21 12:04:57 +08:00
Dylan Liu
3a18f36d3f
Fix the native titlebar buttons don't show below Qt 6.2.4. ( #226 )
2023-05-20 21:01:23 +08:00
Yuhang Zhao
9df1e9d7b5
mac: add a comment
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-05-20 20:07:43 +08:00
Dylan Liu
e48fc7e01f
Fix the native titlebar buttons don't show in Qt 6.0.0 - Qt 6.2.4. ( #225 )
2023-05-20 19:57:00 +08:00
Yuhang Zhao
2b1623fbd6
cmake: hide detailed info if the user don't want it
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-05-20 15:32:48 +08:00
Yuhang Zhao
e67a91d668
refactor: remove all mutexes
...
They are currently not used and slow down the general performance.
2023-05-19 13:31:20 +08:00
Dylan Liu
ec93740bd7
Add manual control of darkmode for Quick. ( #220 )
...
Add the function of manual control of dark mode in Quick module.
2023-05-19 13:12:25 +08:00
Yuhang Zhao
e4fdb9c260
refactor
2023-05-19 11:58:32 +08:00
Yuhang Zhao
1ba9c9c918
refactor
2023-05-19 11:55:41 +08:00
Yuhang Zhao
32b055a7ab
cmake: dump more info
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-05-18 20:38:05 +08:00
Yuhang Zhao
8d5ea49d52
allow user override system theme
...
Task-number: #216
2023-05-18 16:08:33 +08:00
Yuhang Zhao
66c2c60a09
DPI change event improve
2023-05-18 14:40:28 +08:00
Dylan Liu
84745db4d9
Add Universal build for macOS and compile error fixed. ( #217 )
...
* Add Universal build for macOS.
* Fix compile error in example quick.
* Use cmake_dependent_option instead of option.
2023-05-17 20:19:31 +08:00
Yuhang Zhao
92d850c2a9
add support for Qt 6.6's DPR change event
2023-05-17 13:22:42 +08:00
Yuhang Zhao
224302500d
cmake: quick: fix build with version below 6.3
...
Fixes : #215
2023-05-17 09:20:53 +08:00
Yuhang Zhao
cf568b6e7a
cmake: use Qt's official function to get the quick plugin info
2023-05-16 18:01:06 +08:00
Yuhang Zhao
a3cfa59d1d
improve dpi change experience
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-05-13 11:30:54 +08:00
Yuhang Zhao
b039a9130a
win: minor refactor
2023-04-28 09:14:06 +08:00
Yuhang Zhao
4d063369fa
mica material: add fallback color and fix the qtquick one
...
I don't understand why I didn't make QuickMicaMaterial configurable.
2023-04-27 10:36:47 +08:00
Yuhang Zhao
41e91bb39a
win: fix wrong restore geometry when after DPI changes
2023-04-25 15:19:31 +08:00
Yuhang Zhao
fe724271da
unix: fix wrong system menu position
2023-04-24 13:18:57 +08:00
Yuhang Zhao
b2561c16ba
minor refactor
2023-04-23 13:42:27 +08:00
Yuhang Zhao
a203e2c3ca
win32: fix restore geometry bug
...
The upstream fix has not been merged yet, however, it will be in 6.5.1 for sure.
Fixes : #20
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-04-22 15:21:49 +08:00
Yuhang Zhao
8930ea128f
minor tweaks
...
Signed-off-by: Yuhang Zhao <zhaoyuhang@rankyee.com>
2023-04-17 11:16:50 +08:00
Yuhang Zhao
3b8571401f
minor refactor
2023-04-11 17:09:58 +08:00
Yuhang Zhao
99417bf916
fix coordinate calculation in multi-monitor scenarios
2023-04-11 15:12:33 +08:00
Yuhang Zhao
b4a27c059b
fix system menu wrong position
...
Signed-off-by: Yuhang Zhao <zhaoyuhang@rankyee.com>
2023-04-07 16:56:58 +08:00
Yuhang Zhao
632a708c8a
fix white-line issue for QWidget applications
...
Fixes : #204
Signed-off-by: Yuhang Zhao <zhaoyuhang@rankyee.com>
2023-04-07 16:41:39 +08:00
Yuhang Zhao
b5c9f85f62
allow user force use system blur
...
Signed-off-by: Yuhang Zhao <zhaoyuhang@rankyee.com>
2023-03-30 14:16:34 +08:00
Yuhang Zhao
9e208bb77c
fix build on qt5
...
Task-number: #210
Signed-off-by: Yuhang Zhao <zhaoyuhang@rankyee.com>
2023-03-30 11:47:34 +08:00
Yuhang Zhao
5ade3cfb74
fix hidpi position calculation
...
Task-number: #210
Signed-off-by: Yuhang Zhao <zhaoyuhang@rankyee.com>
2023-03-30 11:39:05 +08:00
Yuhang Zhao
a0c825930e
win: allow user disable specific system menu items
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-24 15:40:08 +08:00
Yuhang Zhao
598de50290
add synchronize api to wait for the ready signal
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-24 13:13:01 +08:00
Yuhang Zhao
e2652fc2a9
cmake: minor tweaks
...
Fixes : #205
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-24 10:03:10 +08:00
Yuhang Zhao
fa5a21f7ca
cmake: minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-19 17:01:56 +08:00
Yuhang Zhao
9e341e4e40
examples: update cmake project
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-19 16:31:24 +08:00