2015年7月30日

用qt的图形视图框架实现的圆,三角形,矩形运动及碰撞.

摘要: 用qt的图形视图框架实现的圆,三角形,矩形运动及碰撞. 效果如图: /*main.cpp*/#include "project.h"#include int main(int argc, char *argv[]){ QApplication a(argc, argv); Projec... 阅读全文

posted @ 2015-07-30 18:43 小二杰 阅读(1766) 评论(0) 推荐(0) 编辑

用qt的图形视图框架实现的五子棋

摘要: 用qt的图形视图框架实现的五子棋. 效果如图: /*MainWindow.h*/ #ifndef MAINWINDOW_H#define MAINWINDOW_H#include #include "ui_mainwindow.h"#include #include #include #in... 阅读全文

posted @ 2015-07-30 18:38 小二杰 阅读(666) 评论(0) 推荐(0) 编辑

导航