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