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
7534a4631c
migrate to the <module/file> include pattern
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-01-18 14:27:10 +08:00
Yuhang Zhao
819ffb79fb
macOS: widgets: preserve the native title bar elements
...
Quick part to be done.
2023-01-14 18:32:47 +08:00
Yuhang Zhao
6e79ba3f33
minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-01-13 13:39:21 +08:00
Yuhang Zhao
840cf3060d
general fixes
...
fixed some minor issues
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-12-19 11:35:05 +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
1ae0bd8fd6
examples: reuse common code
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-10-17 13:43:38 +08:00
Yuhang Zhao
463ac0a999
add window icon support
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-08-31 10:21:24 +08:00
Yuhang Zhao
8042a78b8f
various fixes and improvements
...
1. Make all demo applications be able to record and restore the previous window geometry.
2. Improve the robustness of the widgets and quick implementation.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-13 14:19:50 +08:00
Yuhang Zhao
a10ac4e32d
demos: simplify some code
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-08 18:24:09 +08:00
Yuhang Zhao
e7f434c5a4
demo: center window on first show
...
Looks better than before.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-05 20:23:35 +08:00
Yuhang Zhao
81e736570f
refactor widgets interface
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-03 19:02:39 +08:00
Yuhang Zhao
306ebfc717
Refactor the Quick implementation, interface is now simpler
...
Now we use attached properties instead, it make things simpler.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-02 12:26:57 +08:00
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
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
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
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