Commit Graph

201 Commits

Author SHA1 Message Date
Yuhang Zhao 7d09a6b9c9 update 2023-08-27 17:33:48 +08:00
Yuhang Zhao 6abb636a19 large refactor 2023-08-27 15:12:06 +08:00
SineStriker 2d639071cc
Fix bugs after mouse press (#270) 2023-08-26 16:04:29 +08:00
Yuhang Zhao f7368d0a08 widgets: PIMPL refactor 2023-08-25 17:50:22 +08:00
Yuhang Zhao 5c8ac2736f quick: PIMPL refactor 2023-08-24 18:05:48 +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 469c686ade refactor 2023-08-21 12:43:44 +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 177e377bb4 mica material: fix multi monitor scenario 2023-08-07 14:31:40 +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 5b0d06307a cmake: use unique target name and fix install failure 2023-07-29 17:09:35 +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 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 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 c1370c4897 cmake: minor change 2023-06-17 12:34:30 +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 e1cf95f208 cmake: fix link with mingw
Signed-off-by: Yuhang Zhao <zhaoyuhang@rankyee.com>
2023-05-26 11:08:08 +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 32b055a7ab cmake: dump more info
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-05-18 20:38:05 +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 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 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 b2561c16ba minor refactor 2023-04-23 13:42:27 +08:00
Yuhang Zhao 3b8571401f minor refactor 2023-04-11 17:09:58 +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 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 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 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 9a81cf1503 cmake: improve the package code
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-19 12:36: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 3523ea67ea cmake: update submodule
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-15 14:53:29 +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 14ccc990cf general refactor, remove useless code
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-05 14:01:46 +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