1 Star 1 Fork 1

江湖个人/chinessChess

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.cpp 1.77 KB
一键复制 编辑 原始数据 按行查看 历史
XMuli 提交于 2020-09-08 17:24 . docs: Update logo and image
/*
* Copyright (C) 2019~2020 偕臧 All rights reserved.
*
* Author: xmuli(偕臧) xmulitech@gmail.com
*
* github: https://github.com/xmuli
* blogs: https://xmuli.tech
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://touwoyimuli.github.io/>.
*/
#include <QApplication>
#include "SelectGameMode.h"
#include "ChooseMainWindow.h"
/***
* 佛曰:
* 写字楼里写字间,写字间里程序员;
* 程序人员写程序,又拿程序换酒钱。
* 酒醒只在网上坐,酒醉还来网下眠;
* 酒醉酒醒日复日,网上网下年复年。
* 但愿老死电脑间,不愿鞠躬老板前;
* 奔驰宝马贵者趣,公交自行程序员。
* 别人笑我忒疯癫,我笑自己命太贱;
* 不见满街漂亮妹,哪个归得程序员?
*/
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
SelectGameMode dlg;
dlg.setWindowTitle("选择游戏方式");
dlg.setFixedSize(200,120);
dlg.setWindowIcon(QIcon(":/images/chess.svg"));
if(dlg.exec() != QDialog::Accepted)
return 0;
ChooseMainWindow wnd(dlg.m_nSelect);
return a.exec();
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/jzffzj/chinessChess.git
git@gitee.com:jzffzj/chinessChess.git
jzffzj
chinessChess
chinessChess
master

搜索帮助