16,203
社区成员
发帖
与我相关
我的任务
分享
ui.setupUi(this);
this->setWindowFlags(
Qt::FramelessWindowHint |
Qt::WindowMinimizeButtonHint |
Qt::WindowSystemMenuHint);
setAttribute(Qt::WA_TranslucentBackground);
connect(ui.miniButton, SIGNAL(clicked()), this, SLOT(showMinimized()));