2011-04-08 00:04:09 +02:00
|
|
|
#ifndef PLAYPAGE_H
|
|
|
|
#define PLAYPAGE_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
2013-03-03 01:49:41 +01:00
|
|
|
#include "ui_playpage.h"
|
|
|
|
|
2011-04-08 00:04:09 +02:00
|
|
|
class QComboBox;
|
2011-05-03 03:17:01 +02:00
|
|
|
class QPushButton;
|
2013-03-03 01:49:41 +01:00
|
|
|
class QAbstractItemModel;
|
2011-04-08 00:04:09 +02:00
|
|
|
|
2013-10-25 11:17:26 -05:00
|
|
|
namespace Launcher
|
2011-04-08 00:04:09 +02:00
|
|
|
{
|
2013-10-25 11:17:26 -05:00
|
|
|
class PlayPage : public QWidget, private Ui::PlayPage
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
2011-04-08 00:04:09 +02:00
|
|
|
|
2013-10-25 11:17:26 -05:00
|
|
|
public:
|
2020-11-13 11:39:47 +04:00
|
|
|
PlayPage(QWidget *parent = nullptr);
|
2013-10-25 11:17:26 -05:00
|
|
|
void setProfilesModel(QAbstractItemModel *model);
|
2013-03-03 01:49:41 +01:00
|
|
|
|
2013-10-25 11:17:26 -05:00
|
|
|
signals:
|
|
|
|
void signalProfileChanged(int index);
|
|
|
|
void playButtonClicked();
|
2013-03-03 01:49:41 +01:00
|
|
|
|
2013-10-25 11:17:26 -05:00
|
|
|
public slots:
|
|
|
|
void setProfilesIndex(int index);
|
2013-03-03 01:49:41 +01:00
|
|
|
|
2013-10-25 11:17:26 -05:00
|
|
|
private slots:
|
|
|
|
void slotPlayClicked();
|
2013-03-03 01:49:41 +01:00
|
|
|
|
2011-04-24 21:42:56 +02:00
|
|
|
|
2011-05-03 03:17:01 +02:00
|
|
|
|
2013-10-25 11:17:26 -05:00
|
|
|
};
|
|
|
|
}
|
2013-03-03 01:49:41 +01:00
|
|
|
#endif
|