2017-07-13 10:26:03 +02:00
|
|
|
/*
|
|
|
|
* mainwindow_moc.h, part of VCMI engine
|
|
|
|
*
|
|
|
|
* Authors: listed in file AUTHORS in main folder
|
|
|
|
*
|
|
|
|
* License: GNU General Public License v2.0 or later
|
|
|
|
* Full text of license available in license.txt file, in main folder
|
|
|
|
*
|
|
|
|
*/
|
2013-08-22 17:22:49 +03:00
|
|
|
#pragma once
|
|
|
|
#include <QMainWindow>
|
2016-08-30 20:54:37 +02:00
|
|
|
#include <QStringList>
|
2013-08-22 17:22:49 +03:00
|
|
|
|
2018-04-13 07:34:58 +02:00
|
|
|
namespace Ui
|
|
|
|
{
|
|
|
|
class MainWindow;
|
2019-07-30 08:32:35 +02:00
|
|
|
const QString teamName = "VCMI Team";
|
|
|
|
const QString appName = "VCMI Launcher";
|
2013-08-22 17:22:49 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
class QTableWidgetItem;
|
|
|
|
|
|
|
|
class MainWindow : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
2018-04-13 07:34:58 +02:00
|
|
|
|
2017-01-17 13:17:37 +02:00
|
|
|
private:
|
2018-04-13 07:34:58 +02:00
|
|
|
Ui::MainWindow * ui;
|
2013-08-22 17:22:49 +03:00
|
|
|
void load();
|
|
|
|
void startExecutable(QString name);
|
2018-04-13 07:34:58 +02:00
|
|
|
|
2013-08-22 17:22:49 +03:00
|
|
|
public:
|
2017-08-24 03:52:02 +02:00
|
|
|
explicit MainWindow(QWidget * parent = 0);
|
2013-08-22 17:22:49 +03:00
|
|
|
~MainWindow();
|
|
|
|
|
|
|
|
private slots:
|
2016-10-02 00:27:45 +02:00
|
|
|
void on_startGameButton_clicked();
|
2013-08-22 17:22:49 +03:00
|
|
|
};
|