Commit Graph

238 Commits

Author SHA1 Message Date
Yuhang Zhao f7368d0a08 widgets: PIMPL refactor 2023-08-25 17:50:22 +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 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 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 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 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 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 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 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 d71dc75b77 mica material: fix drawing on multi-monitor scenario 2023-07-15 16:10:48 +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 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
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 8d5ea49d52 allow user override system theme
Task-number: #216
2023-05-18 16:08:33 +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 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 3b8571401f minor refactor 2023-04-11 17:09: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 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 2a6b8e6ebe fix compilation error
Fixes: #211
2023-03-30 10:28:31 +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 9e341e4e40 examples: update cmake project
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-19 16:31:24 +08:00
Yuhang Zhao f6383c5832 ci: fix ci
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-19 13:00:11 +08:00