#include <qapplication.h>
#include <qpushbutton.h>
int main( int argc, char **argv )
{
QApplication a( argc, argv );
QPushButton hellobtn( "Hello world!", 0 );
hellobtn.resize(100, 20 );
//a.setMainWidget( &hellobtn );
hellobtn.show();
return a.exec();
}
QPushButton hellobtn( "Hello world!", 0 );
最新推荐文章于 2021-05-13 16:59:16 发布