sneedmc/launcher/dialogs/SkinUploadDialog.h

30 lines
511 B
C
Raw Normal View History

2016-05-12 20:51:25 +00:00
#pragma once
#include <QDialog>
#include <minecraft/auth/MinecraftAccount.h>
2016-05-12 20:51:25 +00:00
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:
explicit SkinUploadDialog(MinecraftAccountPtr acct, QWidget *parent = 0);
2018-07-15 12:51:05 +00:00
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:
MinecraftAccountPtr 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
};