pollymc/gui/dialogs/ScreenshotDialog.h

41 lines
632 B
C
Raw Normal View History

2014-02-24 02:44:24 +05:30
#pragma once
#include <QDialog>
2014-02-25 05:21:24 +05:30
#include "logic/screenshots/ScreenshotList.h"
2014-02-24 02:44:24 +05:30
2014-02-24 16:00:27 +05:30
class ImgurAlbumCreation;
2014-02-24 02:44:24 +05:30
namespace Ui
{
class ScreenshotDialog;
}
class ScreenshotDialog : public QDialog
{
Q_OBJECT
public:
explicit ScreenshotDialog(ScreenshotList *list, QWidget *parent = 0);
~ScreenshotDialog();
enum
{
NothingDone = 0x42
};
2014-02-24 16:00:27 +05:30
QString message() const;
2014-02-25 05:21:24 +05:30
QList<ScreenshotPtr> selected() const;
2014-02-24 02:44:24 +05:30
private
slots:
2014-02-24 15:04:51 +05:30
void on_uploadBtn_clicked();
2014-02-24 02:44:24 +05:30
2014-02-25 04:10:05 +05:30
void on_deleteBtn_clicked();
2014-02-24 02:44:24 +05:30
private:
Ui::ScreenshotDialog *ui;
ScreenshotList *m_list;
2014-02-25 05:21:24 +05:30
QList<ScreenshotPtr> m_uploaded;
2014-02-24 16:00:27 +05:30
std::shared_ptr<ImgurAlbumCreation> m_imgurAlbum;
2014-02-24 02:44:24 +05:30
};