QT
yu_sn0w
这个作者很懒,什么都没留下…
展开
-
QT 禁止DPI 缩放
DPI 禁用原创 2023-02-24 17:20:21 · 1038 阅读 · 0 评论 -
QT之setSizePolicy与setStretchFactor
class MyTestMain : public QWidget{public: MyTestMain(QWidget* pParent = NULL) :QWidget(pParent) { QHBoxLayout* pLayout = new QHBoxLayout(this); QTextEdit* pEditUp = new原创 2016-03-29 11:10:53 · 7098 阅读 · 0 评论 -
QTreeView自动显示滚筒条
树只有一列的时候(或只显示一列)header()->setSectionResizeMode(QHeadView::ResizeToContents);header()->setStretchLastSection();原创 2018-06-19 13:48:52 · 1037 阅读 · 0 评论