基本信息
源码名称:qt飞机游戏(源码)
源码大小:149.35M
文件格式:.rar
开发语言:C/C++
更新时间:2020-04-21
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 10 元 
   源码介绍
鼠标控制飞机击落敌机

  initScene();
QPushButton *button=new QPushButton(this);
button->setObjectName("button"); 
button->setGeometry(200,300,130,80);
button->setText(tr("Go"));

    label=new QLabel(this);

label->setGeometry(0,2,150,20);
label->setStyleSheet("QLabel{font-family:'宋体';font-size:26px;color:rgb(0,0,0,255);}\
    QLabel{background-color:rgb(170,200,50)}\ QPushButton:hover{background-color:rgb(50, 170, 200)}");

    button->setStyleSheet("QPushButton{font-family:'宋体';font-size:32px;color:rgb(0,0,0,255);}\
    QPushButton{background-color:rgb(170,200,50)}\ QPushButton:hover{background-color:rgb(50, 170, 200)}");

button->show();
QTimer *m_Timer1 = new QTimer(this);
   connect(button, SIGNAL(clicked()), this, SLOT(Gamebegin()));
   connect(button, SIGNAL(clicked()), button, SLOT(hide()));
       connect(m_Timer1, SIGNAL(timeout()), this, SLOT(handleTimeout())); 

result=0;
m_Timer1->setInterval(1000);
m_Timer1->start();