首页
IT
登录
6mi
u
盘
搜
搜 索
IT
Qt如何让弹出的窗口居中显示
Qt如何让弹出的窗口居中显示
xiaoxiao
2021-03-25
117
QTextEdit* textEdit = new QTextEdit(NULL); textEdit->setAttribute(Qt::WA_DeleteOnClose); textEdit->adjustSize(); textEdit->move(this->geometry().center() - textEdit->rect().center()); textEdit->show();
转载请注明原文地址: https://ju.6miu.com/read-18769.html
技术
最新回复
(
0
)