mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-30 08:57:00 +02:00
58bc0f7272
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.
27 lines
408 B
C++
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;
|
|
};
|