2013-02-21 18:35:52 +00:00
|
|
|
#include "aboutdialog.h"
|
|
|
|
#include "ui_aboutdialog.h"
|
|
|
|
#include <QIcon>
|
2013-09-07 03:00:58 +01:00
|
|
|
#include <MultiMC.h>
|
2013-02-21 18:35:52 +00:00
|
|
|
|
|
|
|
AboutDialog::AboutDialog(QWidget *parent) :
|
2013-08-27 04:39:49 +01:00
|
|
|
QDialog(parent),
|
|
|
|
ui(new Ui::AboutDialog)
|
2013-02-21 18:35:52 +00:00
|
|
|
{
|
2013-08-27 04:39:49 +01:00
|
|
|
ui->setupUi(this);
|
2013-02-21 18:35:52 +00:00
|
|
|
|
2013-08-27 04:39:49 +01:00
|
|
|
ui->icon->setPixmap(QIcon(":/icons/multimc/scalable/apps/multimc.svg").pixmap(64));
|
2013-09-07 03:00:58 +01:00
|
|
|
ui->title->setText("MultiMC " + MMC->version().toString());
|
2013-08-27 04:39:49 +01:00
|
|
|
connect(ui->closeButton, SIGNAL(clicked()), SLOT(close()));
|
2013-02-21 18:35:52 +00:00
|
|
|
|
2013-09-07 03:00:58 +01:00
|
|
|
MMC->connect(ui->aboutQt, SIGNAL(clicked()), SLOT(aboutQt()));
|
2013-02-21 18:35:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
AboutDialog::~AboutDialog()
|
|
|
|
{
|
2013-08-27 04:39:49 +01:00
|
|
|
delete ui;
|
2013-02-21 18:35:52 +00:00
|
|
|
}
|