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
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class MainWindow;
|
|
|
|
}
|
|
|
|
|
|
|
|
class QTableWidgetItem;
|
|
|
|
|
|
|
|
class MainWindow : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
2017-01-17 13:17:37 +02:00
|
|
|
private:
|
|
|
|
Ui::MainWindow *ui;
|
2013-08-22 17:22:49 +03:00
|
|
|
void load();
|
|
|
|
void startExecutable(QString name);
|
|
|
|
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
|
|
|
};
|