试试重载mousePressEvent QModelIndex index = indexAt(event->pos()); if (!index.isValid()) { this->clearSelection(); }
16,240
社区成员
26,660
社区内容
加载中
试试用AI创作助手写篇文章吧