QHeaderView* pHeader=this->header();
pHeader->setResizeMode(QHeaderView::ResizeToContents);
pheader->setStretchLastSection(false);
Qt TreeView 添加滚动条
最新推荐文章于 2023-01-11 12:40:44 发布
QHeaderView* pHeader=this->header();
pHeader->setResizeMode(QHeaderView::ResizeToContents);
pheader->setStretchLastSection(false);