1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-04 09:42:40 +02:00
vcmi/launcher/mainwindow_moc.h
Krzesimir Nowak 58bc0f7272 Allow choosing the display from the launcher
This adds another combobox for choosing the display. To ease the
display choice we try to roughly describe the display (its resolution
and location).

The combobox is hidden for single display setups.
2016-08-31 11:12:59 +02:00

27 lines
408 B
C++

#pragma once
#include <QMainWindow>
#include <QStringList>
namespace Ui {
class MainWindow;
}
class QTableWidgetItem;
class MainWindow : public QMainWindow
{
Q_OBJECT
void load();
void startExecutable(QString name);
public:
explicit MainWindow(const QStringList& displayList, QWidget *parent = 0);
~MainWindow();
private slots:
void on_startGameButon_clicked();
private:
Ui::MainWindow *ui;
};