MultiMC5/application/dialogs/SkinUploadDialog.h

30 lines
502 B
C
Raw Normal View History

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