dlgabout.cpp 723 字节
Newer Older
丁劲犇's avatar
丁劲犇 已提交
1 2 3
#include "dlgabout.h"
#include "ui_dlgabout.h"
#include <QUrl>
4
#include <QDateTime>
丁劲犇's avatar
丁劲犇 已提交
5 6 7 8 9 10
DlgAbout::DlgAbout(QWidget *parent) :
	QDialog(parent),
	ui(new Ui::DlgAbout)
{
	ui->setupUi(this);
	ui->textBrowser_About->
11
			setText(tr("Taskbus is a cross-platform"
丁劲犇's avatar
丁劲犇 已提交
12 13 14
			 " multi-process cooperation framework for non-professional "
			 "developers, with four features of process based, "
			 "language independent, compiler independent, and architecture Independent.\n"
15
			 "by Colored Eagle Studio, 2016~%1").arg(QDateTime::currentDateTime().date().year()));
丁劲犇's avatar
丁劲犇 已提交
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
}

DlgAbout::~DlgAbout()
{
	delete ui;
}

void DlgAbout::on_pushButton_Next_clicked()
{
	this->accept();
}

void DlgAbout::on_pushButton_Close_clicked()
{
	this->reject();
}