Qt::WindowFlags flags = Qt::Dialog;
flags |= Qt::WindowMinimizeButtonHint;
flags |= Qt::WindowCloseButtonHint;
setWindowFlags(flags);
Qt5.8 QDialog设置最小化跟关闭按钮
最新推荐文章于 2024-08-12 16:21:18 发布
Qt::WindowFlags flags = Qt::Dialog;
flags |= Qt::WindowMinimizeButtonHint;
flags |= Qt::WindowCloseButtonHint;
setWindowFlags(flags);