QObject::connect(btn, SIGNAL(clicked()), &app, SLOT(quit())); btn->show(); return app.exec(); } QPushButton是Qt的按鈕元件,您可以設定按鈕所顯示的文字,或者 ...
確定! 回上一頁