PrismLauncher/launcher/dialogs/SkinUploadDialog.h

30 lines
511 B
C
Raw Normal View History

2016-05-12 21:51:25 +01:00
#pragma once
#include <QDialog>
#include <minecraft/auth/MinecraftAccount.h>
2016-05-12 21:51:25 +01:00
namespace Ui
{
2018-07-15 13:51:05 +01:00
class SkinUploadDialog;
2016-05-12 21:51:25 +01:00
}
class SkinUploadDialog : public QDialog {
2018-07-15 13:51:05 +01:00
Q_OBJECT
2016-05-12 21:51:25 +01:00
public:
explicit SkinUploadDialog(MinecraftAccountPtr acct, QWidget *parent = 0);
2018-07-15 13:51:05 +01:00
virtual ~SkinUploadDialog() {};
2016-05-12 21:51:25 +01:00
public slots:
2018-07-15 13:51:05 +01:00
void on_buttonBox_accepted();
2016-05-12 21:51:25 +01:00
2018-07-15 13:51:05 +01:00
void on_buttonBox_rejected();
2016-05-12 21:51:25 +01:00
2018-07-15 13:51:05 +01:00
void on_skinBrowseBtn_clicked();
2016-05-12 21:51:25 +01:00
protected:
MinecraftAccountPtr m_acct;
2016-05-12 21:51:25 +01:00
private:
2018-07-15 13:51:05 +01:00
Ui::SkinUploadDialog *ui;
2016-05-12 21:51:25 +01:00
};