资源简介
这是个qt写的俄罗斯方块程序,提供原版的qt源程序,可以直接运行
代码片段和文件信息
/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial Usage
** Licensees holding valid Qt Commercial licenses may use this file in
** accordance with the Qt Commercial License Agreement provided with the
** Software or alternatively in accordance with the terms contained in
** a written agreement between you and Nokia.
**
** GNU Lesser General Public License Usage
** Alternatively this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition as a special exception Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1 included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively this file may be used under the terms of the GNU
** General Public License version 3.0 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU General Public License version 3.0 requirements will be
** met: http://www.gnu.org/copyleft/gpl.html.
**
** If you have questions regarding the use of this file please contact
** Nokia at qt-info@nokia.com.
** $QT_END_LICENSE$
**
****************************************************************************/
#include
#include
#include “tetrixwindow.h“
int main(int argc char *argv[])
{
QApplication app(argc argv);
TetrixWindow window;
window.show();
qsrand(QTime(000).secsTo(QTime::currentTime()));
return app.exec();
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2253 2010-06-02 10:03 tetrix\main.cpp
文件 82944 2010-06-03 23:10 tetrix\release\tetrix.exe
文件 554 2010-06-02 10:03 tetrix\tetrix.pro
文件 7981 2010-07-12 15:44 tetrix\tetrix.pro.user
文件 10357 2010-06-02 10:03 tetrix\tetrixboard.cpp
文件 3791 2010-06-02 10:03 tetrix\tetrixboard.h
文件 4278 2010-06-02 10:03 tetrix\tetrixpiece.cpp
文件 2850 2010-06-02 10:03 tetrix\tetrixpiece.h
文件 4352 2010-06-02 10:03 tetrix\tetrixwindow.cpp
文件 2591 2010-06-02 10:03 tetrix\tetrixwindow.h
文件 3602 2010-06-03 23:08 tetrix\tmp\moc\release_shared\moc_tetrixboard.cpp
文件 2160 2010-06-03 23:08 tetrix\tmp\moc\release_shared\moc_tetrixwindow.cpp
目录 0 2010-07-23 09:04 tetrix\tmp\moc\release_shared
目录 0 2010-07-23 09:04 tetrix\tmp\moc
目录 0 2010-07-23 09:04 tetrix\release
目录 0 2010-07-23 09:04 tetrix\tmp
目录 0 2010-07-23 09:04 tetrix
----------- --------- ---------- ----- ----
127713 17
- 上一篇:二级直线倒立摆系统建模与系统仿真
- 下一篇:Deap 2.1软件的具体操作和结果分析
评论
共有 条评论