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