登录
首页 » QT » Wuziqi

Wuziqi

于 2014-06-19 发布 文件大小:50KB
0 161
下载积分: 1 下载次数: 8

代码说明:

  qt绘图学习的一个程序---五子棋。 上传的代码只是一个雏形,主要用到了一下一些QT。 1. QWidget 的 paintEvent 函数 2. QPainter 的使用 3.键盘时间 keypressEvent(GUI programming learn code)

文件列表:

TestGui
.......\centralwidget.cpp,1287,2014-06-04
.......\centralwidget.h,464,2014-06-04
.......\chesswidget.cpp,8009,2014-06-05
.......\chesswidget.h,736,2014-06-05
.......\dialog.ui,945,2014-06-03
.......\leftwidget.cpp,372,2014-06-04
.......\leftwidget.h,269,2014-06-04
.......\main.cpp,211,2014-06-04
.......\mainwindow.cpp,285,2014-06-04
.......\mainwindow.h,386,2014-06-04
.......\mainwindow.ui,630,2014-06-03
.......\qrc.qrc,93,2014-06-04
.......\qss
.......\...\qss.txt,55,2014-06-04
.......\rightwidget.cpp,379,2014-06-04
.......\rightwidget.h,274,2014-06-04
.......\searchwidget.cpp,276,2014-06-04
.......\searchwidget.h,309,2014-06-04
.......\TestGui.pro,667,2014-06-04
.......\TestGui.pro.user,17797,2014-06-05

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • C+++Weekend+Crash+Course
    C+++Weekend+Crash+Course这是一个中国象棋的原代码(C+++ Weekend+ Crash+ Course This is a Chinese chess original code)
    2008-07-04 11:19:10下载
    积分:1
  • gvfsnakeMATLAB
    中医学是我国传统文化的瑰宝。舌诊是中医临床进行辨证论治过程中的一‘个 重要程序,其临床应用价值及理论意义得到古今医学家及不少国外医学家的充分 肯定。临床上对于各种疾病,往往结合辨舌来决定诊断和治疗,是中医诊治疾病 的特色之一,为历代医家所重视。(In traditional Chinese mescal diagnosis,tongue diagnosis is important parts)
    2020-08-17 14:08:22下载
    积分:1
  • C-program-code
    c语言,五子棋代码.............(c program)
    2013-12-05 10:50:24下载
    积分:1
  • gnuchess-5.07
    一款国际象棋的C++源代码,可以实现人机对战,而且AI的棋力不错(A chess in C++ source code, can achieve man-machine Battle, and a good AI' s Qi Li)
    2009-12-11 18:08:34下载
    积分:1
  • PlantomGo
    幻影围棋棋源代码,参加计算机博弈比大赛亚军的代码。(Phantom Go chess source code, to participate in a computer game than the runner-up code.)
    2021-01-20 22:48:43下载
    积分:1
  • netliuziqi
    是一个网络游戏,网上大部分为网络五子棋,此程序为六子棋。(Is an online game, online most of the network Gobang that this procedure for the six sub-game.)
    2020-10-20 16:17:25下载
    积分:1
  • 21Point
    21点游戏,电脑固定为3张牌,玩家的发牌为两张,玩家可以继续要牌,谁点数大并低于21点则谁胜利。(21game, computer fixed three brand licensing for two players, the players can continue to draw cards, who points to the large and less than 21 points, who victory.)
    2013-02-21 18:32:40下载
    积分:1
  • heibaiqi
    人人对战的黑白棋(Everyone against Riversi)
    2008-06-08 12:23:31下载
    积分:1
  • checker
    英国国际跳棋(英国英语)或跳棋(美国英语、加拿大英语),又称美国跳棋或直棋,是一种棋盘游戏棋。它是在一个8×8方板(共六十四平方)每侧有十二块。棋子的移动和捕获对角。他们可能只前进直到他们到达的板的另一端,当他们加冕,然后可以移动和捕获的向后和向前的。(English draughts (British English) or checkers (American English and Canadian English), also called American checkers or Straight checkers, is a form of the board game draughts. It is played on an 8×8 square board (with sixty-four total squares) with twelve pieces on each side. The pieces move and capture diagonally. They may only move forward until they reach the opposite end of the board, when they are crowned and may thereafter move and capture both backward and forward.)
    2013-05-18 23:18:02下载
    积分:1
  • -the-poker-game
    本程序利用Card类数组模拟扑克牌,定义3个数组分别表示玩家手中的牌,电脑手中的牌和底牌,用srand((unsigned)time(NULL))产生随机数字,将底牌数组中随机的一项从底牌中移动到其他的数组中,模拟从洗好底牌中抓牌。表示出牌。 单人练习模式中,首先记下一个 1到13之间的随机数字,然后玩家抓牌,当手中的牌的点数恰与记下的随机数字相等,或用手中有的任意两张牌,通过加减乘除四则运算可以凑出该随机数字相等的点数,则停止抓牌并将这一张或两张出出去,随即记下一个新的随机数字,开始下一轮,直道手中的全部牌出完,游戏结束(This procedure using Card class array to simulate playing cards, the definition of the 3 arrays represent the game player cards, computer cards and cards, using srand ((unsigned) time (NULL)) to generate random numbers, random number in the array will be a move to the number of cards from other groups of cards, simulation from the wash hand in. Said. Single practice mode, first recorded random number between 1 to 13 next, and then the game player to draw cards, random number equal when the hand points exactly with the down, or in the hands of some arbitrary two cards, add, subtract, multiply and divide by four operations can make the random number equal points, then stop to draw a card and the card or two cards out, then write a new random number, start the next round, straight hands all the cards out, the end of the game)
    2013-08-19 15:13:48下载
    积分:1
  • 696518资源总数
  • 104386会员总数
  • 20今日下载