1 Star 0 Fork 1

ethinker/Project_LemonLime

forked from OIer/Project_LemonLime 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
judgingdialog.h 2.18 KB
一键复制 编辑 原始数据 按行查看 历史
iotang 提交于 2020-03-20 16:19 . LemonLime 用户手册发布了
/***************************************************************************
This file is part of Project Lemon
Copyright (C) 2011 Zhipeng Jia
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
(at your option) 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 <http://www.gnu.org/licenses/>.
***************************************************************************/
/**
* judgingdialog.h @Project Lemon+
* Update 2018 Dust1404
**/
/**
* judgingdialog.h @Project LemonLime
* Update 2019 iotang
**/
#ifndef JUDGINGDIALOG_H
#define JUDGINGDIALOG_H
#include <QtCore>
#include <QtGui>
#include <QDialog>
#include "globaltype.h"
class Contest;
namespace Ui
{
class JudgingDialog;
}
class JudgingDialog : public QDialog
{
Q_OBJECT
public:
explicit JudgingDialog(QWidget *parent = nullptr);
~JudgingDialog();
void setContest(Contest *);
void judge(const QStringList &);
void judge(const QString &, int);
void judge(const QList<QPair<QString, QSet<int>>> &);
void judgeAll();
void reject();
private slots:
void stopJudgingSlot();
static void skipJudging();
private:
Ui::JudgingDialog *ui;
Contest *curContest{};
QTextCursor *cursor;
bool stopJudging{};
public slots:
void dialogAlert(const QString &);
void singleCaseFinished(int, int, int, int, int, int, int);
void singleSubtaskDependenceFinished(int, int, int);
void taskJudgingStarted(const QString &);
void taskJudgedDisplay(const QString &, const QList< QList<int>> &, const int);
void contestantJudgingStart(const QString &);
void contestantJudgingFinished();
void contestantJudgedDisplay(const QString &, const int, const int);
void compileError(int, int);
signals:
void stopJudgingSignal();
};
#endif // JUDGINGDIALOG_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/eethinker/Project_LemonLime.git
git@gitee.com:eethinker/Project_LemonLime.git
eethinker
Project_LemonLime
Project_LemonLime
master

搜索帮助