Yuhang Zhao
4e46ba4fb5
linux: fix build on Qt5
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-12-19 17:49:00 +08:00
Yuhang Zhao
a381836ef7
linux: further improvements
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-12-19 16:37:48 +08:00
Yuhang Zhao
34ba90376b
linux: remove the build-time dependency of libxcb and libgtk
...
We can load them dynamically at run-time.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-12-15 15:48:56 +08:00
Yuhang Zhao
45225d11d8
remove needless terminate character
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-12-13 16:31:00 +08:00
Yuhang Zhao
b1f52837d2
replace qAsConst with std::as_const
...
qAsConst is being deprecated in latest qtbase code.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-12-12 09:30:16 +08:00
Yuhang Zhao
cb88b602fe
minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-12-05 14:33:38 +08:00
Yuhang Zhao
48a1106fc0
Allow build with no private Qt modules
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-12-04 14:25:09 +08:00
Yuhang Zhao
ff5b171566
win: final fix of the multi-monitor bug
...
#141
#184
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-11-23 14:54:46 +08:00
Yuhang Zhao
04f254556d
minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-11-17 10:24:45 +08:00
Yuhang Zhao
524f65cc9b
win: some minor improvements
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-11-11 15:25:39 +08:00
Yuhang Zhao
766c1e148e
linux & macos: add missing code
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-11-11 11:46:44 +08:00
Yuhang Zhao
c75712d3f1
Add option to suppress debug messages
...
Fixes : #177
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-11-02 15:13:47 +08:00
Yuhang Zhao
2dc7951f7a
fix unix build, issue found by ci
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-10-13 11:38:20 +08:00
Yuhang Zhao
55be173c31
minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-10-10 13:59:00 +08:00
Yuhang Zhao
92415fb61c
Add WindowBorderPainter and WindowBorder
...
1. Added WindowBorderPainter for QtWidgets
2. Added WindowBorder for QtQuick (uses WindowBorderPainter internally)
3. Adjust some header includes
4. Limit a Linux workaround to the appropriate Qt versions
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-10-10 13:35:37 +08:00
Yuhang Zhao
6b1a37a82a
win: fix null pointer access in some rare cases
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-09-01 10:51:50 +08:00
Yuhang Zhao
beb16bfdc2
linux: minor improvement
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-08-04 10:32:32 +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
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
c853cc63c6
re-fix wrong parameter for xcb
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-08 16:42:55 +08:00
Yuhang Zhao
196aeb1ce1
linux: minor fixes of the xcb usage
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-06 16:32:59 +08:00
Yuhang Zhao
9d71baffd1
remove the last piece of Qt internal classes
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-04 16:08:47 +08:00
Yuhang Zhao
fd2b3f5e84
Linux: fix mouse release event not being sent due to wrong parameter
...
Also simplifies a little Windows implementation.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-25 13:48:19 +08:00
Yuhang Zhao
3c0209c979
Linux: fix the mouse grab issue, for real
...
Port previous workaround from 1.x to 2.0
And some minor tweaks.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-24 13:37:10 +08:00
Yuhang Zhao
a0a9b8d108
Final code of version 2.0.0!
...
Some minor issues are known to exist and they'll get fixed before 2.1 is officially released.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-23 14:59:27 +08:00
Yuhang Zhao
b5eebada2c
minor general improvement
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-20 13:09:11 +08:00
Yuhang Zhao
d86e9144a2
general improvement
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-19 17:01:07 +08:00
Yuhang Zhao
68296cc1ae
linux: update the implementation based on previous commit
...
When implementing macOS functionalities, some functions changed signature, update accordingly.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-18 19:11:23 +08:00
Yuhang Zhao
bb42c69d36
linux: minor improvements
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-17 18:30:16 +08:00
Yuhang Zhao
45ebbee471
misc: minor format changes
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-17 17:29:22 +08:00
Yuhang Zhao
079c8ff6b6
misc: minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-17 09:03:11 +08:00
Yuhang Zhao
2c0ec868ab
finish the linux implementation
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-16 16:55:51 +08:00
Yuhang Zhao
09acbfaf02
adjust the project file architecture
...
to make it more like a modern library project
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-03-20 12:30:00 +08:00