试验10:qt程序设计基础

《嵌入式系统软件设计》实验报告

实验序号:10                           实验项目名称:qt程序设计基础

附Hello程序:

#include <QApplication>

#include <QPushButton>

int main(int argc, char *argv[])

{

    QApplication app(argc,argv);

    QPushButton hello("Hello World !");

    hello.show();

    QObject::connect(&hello,SIGNAL(clicked()),&app,SLOT(quit()));

    return app.exec();

}

 

第二篇:试验11: 基于designer的qt程序设计

《嵌入式系统软件设计》实验报告

实验序号:11 实验项目名称:基于designer的qt程序设计

试验11基于designer的qt程序设计

1

2

试验11基于designer的qt程序设计

3

试验11基于designer的qt程序设计

相关推荐