pollymc/launcher/ui/dialogs/SkinUploadDialog.h

30 lines
511 B
C
Raw Normal View History

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