eden/src/yuzu/migration_dialog.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
639 B
C++
Raw Normal View History

#ifndef MIGRATION_DIALOG_H
#define MIGRATION_DIALOG_H
#include <QMessageBox>
#include <QWidget>
#include <QHBoxLayout>
#include <QVBoxLayout>
class MigrationDialog : public QDialog {
Q_OBJECT
public:
MigrationDialog(QWidget *parent = nullptr);
virtual ~MigrationDialog();
void setText(const QString &text);
void addBox(QWidget *box);
QAbstractButton *addButton(const QString &text, const bool reject = false);
QAbstractButton *clickedButton() const;
private:
QLabel *m_text;
QVBoxLayout *m_boxes;
QHBoxLayout *m_buttons;
QAbstractButton *m_clickedButton;
};
#endif // MIGRATION_DIALOG_H