feat: 添加了部分注释

This commit is contained in:
sleepwithoutbz
2025-09-20 12:30:37 +08:00
parent 4ab391f8a1
commit 91d314a888
6 changed files with 9 additions and 4 deletions

View File

@@ -168,6 +168,7 @@ void ElaCentralStackedWidget::doWindowStackSwitch(ElaWindowType::StackSwitchMode
void ElaCentralStackedWidget::paintEvent(QPaintEvent *event) {
QRect targetRect = this->rect();
// ADDZY: 左上角向右下移动(1, 1),右下角向右下收缩(10, 10)
targetRect.adjust(1, 1, 10, 10);
QPainter painter(this);
painter.save();