RetroArch/ui/drivers/qt/coreoptionsdialog.h
2018-08-29 11:34:36 -04:00

40 lines
813 B
C++

#ifndef COREOPTIONSDIALOG_H
#define COREOPTIONSDIALOG_H
#include <QDialog>
#include <QPointer>
class QCloseEvent;
class QResizeEvent;
class QVBoxLayout;
class QFormLayout;
class QLayout;
class QScrollArea;
class CoreOptionsDialog : public QDialog
{
Q_OBJECT
public:
CoreOptionsDialog(QWidget *parent = 0);
~CoreOptionsDialog();
signals:
void closed();
void resized(QSize size);
public slots:
void reload();
private slots:
void clearLayout();
void buildLayout();
void onSaveGameSpecificOptions();
void onCoreOptionComboBoxCurrentIndexChanged(int index);
private:
QPointer<QVBoxLayout> m_layout;
QPointer<QScrollArea> m_scrollArea;
protected:
void closeEvent(QCloseEvent *event);
void resizeEvent(QResizeEvent *event);
void paintEvent(QPaintEvent *event);
};
#endif