MultiMC5/launcher/ui/setupwizard/JavaWizardPage.h

30 lines
533 B
C
Raw Normal View History

2017-01-05 03:05:08 +00:00
#pragma once
#include "BaseWizardPage.h"
class JavaSettingsWidget;
2017-01-05 03:05:08 +00:00
class JavaWizardPage : public BaseWizardPage
{
2018-07-15 12:51:05 +00:00
Q_OBJECT
2017-01-05 03:05:08 +00:00
public:
2018-07-15 12:51:05 +00:00
explicit JavaWizardPage(QWidget *parent = Q_NULLPTR);
2017-01-05 03:05:08 +00:00
2018-07-15 12:51:05 +00:00
virtual ~JavaWizardPage()
{
};
2017-01-05 03:05:08 +00:00
2018-07-15 12:51:05 +00:00
bool wantsRefreshButton() override;
void refresh() override;
void initializePage() override;
bool validatePage() override;
2017-01-05 03:05:08 +00:00
protected: /* methods */
2018-07-15 12:51:05 +00:00
void setupUi();
void retranslate() override;
2017-01-05 03:05:08 +00:00
private: /* data */
2018-07-15 12:51:05 +00:00
JavaSettingsWidget *m_java_widget = nullptr;
2017-01-05 03:05:08 +00:00
};