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
Yuhang Zhao
b5bbb341a4
cmake: minor improvement
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-19 13:14:45 +08:00
Yuhang Zhao
f6383c5832
ci: fix ci
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-19 13:00:11 +08:00
Yuhang Zhao
9a81cf1503
cmake: improve the package code
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-19 12:36:41 +08:00
Yuhang Zhao
a375bc6748
sysapiloader: minor improvements of previous refactor
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-17 09:59:41 +08:00
Yuhang Zhao
fa8ca1ae2f
cmake: let user be able to change the namespace
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-17 09:21:52 +08:00
Yuhang Zhao
02f70d1ade
sysapiloader: minor improvements
...
And some other minor refactors.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-16 14:55:26 +08:00
Yuhang Zhao
3523ea67ea
cmake: update submodule
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-15 14:53:29 +08:00
Yuhang Zhao
9bf6361171
qt: adapt to latest qt dev code
...
It was decided to rename the property from Appearance to ColorScheme.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-15 11:22:52 +08:00
Yuhang Zhao
2b9d810002
cmake: minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-10 14:10:46 +08:00
Yuhang Zhao
16c10d7569
linux: fix typo in code memo
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-08 13:44:15 +08:00
Yuhang Zhao
c461a1cf51
linux: add some code memo
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-08 10:02:20 +08:00
Yuhang Zhao
e7e6426dca
linux: another attempt to fix the segfault
...
Related: #202
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-07 14:38:18 +08:00
Yuhang Zhao
c56aa7b594
linux: try fix segfault further
...
Related reports: #201 #202
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-06 15:12:12 +08:00
Yuhang Zhao
8b6dd746eb
refactor
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-06 15:08:19 +08:00
Yuhang Zhao
4cb9c9c60d
linux: fix segfault on some distros
...
Task-number: #201
Task-number: #202
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-06 13:40:12 +08:00
Yuhang Zhao
a0125df8cd
fix macos build
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-06 09:13:40 +08:00
Yuhang Zhao
fc92783af9
misc modifications
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-05 18:54:34 +08:00
Yuhang Zhao
e9a2abf663
fix macos build
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-05 14:12:01 +08:00
Yuhang Zhao
14ccc990cf
general refactor, remove useless code
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-05 14:01:46 +08:00
Yuhang Zhao
3d37d87c81
win: tweak some enum values
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-03 11:18:08 +08:00
Yuhang Zhao
544d3b898b
minor cmake tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-02 13:07:09 +08:00
Yuhang Zhao
ed75e2f3e8
adapt to latest Qt code style
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-01-27 18:16:32 +08:00
Yuhang Zhao
6063a962eb
simplify cmake scripts
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-01-27 16:27:16 +08:00
Yuhang Zhao
69ef2a6ca1
linux: fix potential segment faults
...
Fixes : #199
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-01-24 16:57:44 +08:00
Yuhang Zhao
a23438b02b
win: add one more safe guard
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-01-18 18:01:10 +08:00
Yuhang Zhao
7534a4631c
migrate to the <module/file> include pattern
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-01-18 14:27:10 +08:00