#include<QtGui/QApplication>
#include<QPushButton>
intmain(intargc,char*argv[])
{
QApplicationapp(argc,argv);
QPushButton*button=newQPushButton("Quit");
QObject::connect(button,SIGNAL(clicked()),&app,SLOT(quit()));
button->show();
app.exec();
}

  

相关文章:

  • 2021-11-07
  • 2022-12-23
  • 2022-01-03
  • 2022-12-23
  • 2022-01-19
  • 2021-11-14
  • 2021-08-03
  • 2021-12-11
猜你喜欢
  • 2021-10-07
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2021-07-21
  • 2021-11-18
  • 2022-12-23
相关资源
相似解决方案