protected:
void changeEvent(QEvent *e);
void closeEvent(QCloseEvent *e);
void Widget::closeEvent(QCloseEvent *e)
{
static int i=0;
i++;
if(i<5)
e->ignore();
else
e->accept();
}
Widget::closeEvent(QCloseEvent *e)
最新推荐文章于 2024-02-10 17:25:30 发布