1. Use QList instead of QVector because QVector will become an alias of QList since Qt6.
2. Don't use *const because the account of const is too large.
3. New style applied, by Clang Format.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
The ignore and draggable areas/objects are limited in the title bar area only.
There's no need to judge them outside the title bar area.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>