Yuhang Zhao
ff8252aaf4
Add initial snap layout implementation
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-30 12:47:51 +08:00
Yuhang Zhao
fbe241f29e
internal refactor
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-29 18:03:39 +08:00
Yuhang Zhao
16b7841bac
update roadmap
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-29 10:36:50 +08:00
Yuhang Zhao
2f629a9e5b
Quick: make the titleBarItem become a property
...
By making it a Q_PROPERTY we can use it more conveniently.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-25 14:50:41 +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
3d7576e062
macOS: remove the system buttons, fix implementation
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-24 21:03:46 +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
2915d1f33a
Widgets: move FramelessWidgetsHelper to source directory
...
It's pure implementation detail, so should not be publicly visible
Also fixed the crash of the QOpenGLWidget demo application.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-24 11:33:05 +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
8460995d7f
quick module: minor improvements
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-22 15:49:00 +08:00
Yuhang Zhao
201f54e7a5
widgets module: fix two issues
...
1. The top border has a one pixel gap under some circumstances, fixed
2. The zoomed property didn't get notified correctly sometimes, fixed
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-22 12:57:00 +08:00
Yuhang Zhao
3f17626c64
misc: minor tweaks
...
1. Finish the simple title bar of the QOpenGLWidget demo
2. Minor improvements of the Quick implementation
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-22 12:04:38 +08:00
Yuhang Zhao
130d174dc2
misc: improve old Qt version support
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-21 21:13:16 +08:00
Yuhang Zhao
701d8d0927
fix build on 5.12 & add initial opengl demo
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-21 15:10:16 +08:00
Yuhang Zhao
cf4e4c331b
macos: verify functionality
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-20 16:31:30 +08:00
Yuhang Zhao
f2faf5dac3
linux: minor improvements
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-20 15:26:25 +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
b6e86f90e6
macos: fix build
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-19 17:13:07 +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
976b2463d7
win32: update changes from previous commit
...
Some functions changed signature, update accordingly.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-18 17:33:41 +08:00
Yuhang Zhao
5173fb51af
macos: add initial implementation
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-18 16:56:58 +08:00
Yuhang Zhao
dee635c0b9
misc: minor improvements
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-17 21:09:24 +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
537b65e592
update roadmap
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-16 16:57:03 +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
859912ae25
misc: minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-16 10:09:51 +08:00
Yuhang Zhao
cd05b6ecdf
quick: finish qml -> cpp migrating
...
Convert all qml files to pure c++ implementation.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-16 09:52:38 +08:00
Yuhang Zhao
4f5044a58c
wip: quick: start migrating to modern usage
...
Still wip, but doesn't left much.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-14 17:33:09 +08:00
Yuhang Zhao
d353c81c5e
misc: minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-14 10:22:57 +08:00
Yuhang Zhao
a57011bd11
win32: half implementation of max btn docking
...
Now the problem is how to send mouse click events to our system buttons
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-09 12:53:55 +08:00
Yuhang Zhao
c940bd5ce7
try to enable the win11 docking feature, but failed
...
It's really a headache. Maybe need to try another solution.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-07 15:51:58 +08:00
Yuhang Zhao
1839c968db
finish the implementation of StandardSystemButton
...
Convenient button widget to emulate the standard system button
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-07 10:17:16 +08:00
Yuhang Zhao
4eac2b2970
implement TransparentWindowBackground option
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-06 13:15:29 +08:00
Yuhang Zhao
e19dad5b82
some wip code
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-05 19:54:43 +08:00
Yuhang Zhao
b5d2ae5888
quick: improve the standard titlebar's appearance
...
And some minor tweaks to the initialize() function.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-02 17:56:45 +08:00
Yuhang Zhao
f0846596ff
minor tweaks of readme
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-02 13:13:40 +08:00
Yuhang Zhao
d4bacdcab6
quick: fix running on qt5
...
Previously Qt5 can't recognize the Anchor enum, it's fixed now.
Also rename framelesshelper_quick to framelessquickhelper, the
former name was to avoid conflict with an already removed class.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-02 13:07:26 +08:00
Yuhang Zhao
3a466492c2
win32: fix 32bit compilation failure, for real
...
I misunderstands the 32bit build failure in the previous
commit. The fix in the last commit didn't fix anything
but break the compilation on 32bit platforms.
Fixes : #109
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-02 09:56:32 +08:00
Yuhang Zhao
eb1c6f4a62
win32: minor improvements
...
1. Fix build on 32bit platforms: the "Ptr" suffixed APIs not available on 32bit platforms
2. Reduce the confusion caused by the original "UseStandardWindowLayout" option
3. Minor tweaks of the quick implementation
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-01 20:06:48 +08:00
Yuhang Zhao
be09197784
win32: fix the d2d crash on win7
...
The function signature was wrong so it crashed.
Now it won't crash anymore.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-01 15:46:52 +08:00
Yuhang Zhao
5c7434ea35
misc: refactor, take 2
...
add byte array literals handling
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-01 15:18:44 +08:00
Yuhang Zhao
bde9c85cd9
cmake: add license headers
...
add some more license headers
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-01 14:36:36 +08:00
Yuhang Zhao
8bc08ab32f
quick example: add some comments
...
explain some more
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-01 14:22:45 +08:00
Yuhang Zhao
6166422e37
misc: internal refactor
...
centralize how we handle string literals.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-04-01 14:09:14 +08:00
Yuhang Zhao
3525dfee58
win32: nitpck: don't highlight the first entry of the system menu if brought by mouse
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-03-31 15:59:49 +08:00
Yuhang Zhao
92ab78e281
win32: nitpick
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-03-31 10:59:26 +08:00
Yuhang Zhao
f13238312b
win32: fix dark mode detection
...
global dark mode was first introduced in Win10 1607, not 1809
1809 was the first version that file explorer supported dark mode
really sorry for the wrong information
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-03-30 14:15:12 +08:00