pollymc/gui/dialogs/ScreenshotDialog.h

40 lines
594 B
C
Raw Normal View History

2014-02-24 02:44:24 +05:30
#pragma once
#include <QDialog>
#include "logic/lists/ScreenshotList.h"
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-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
private:
Ui::ScreenshotDialog *ui;
ScreenshotList *m_list;
QList<ScreenShot *> m_uploaded;
2014-02-24 16:00:27 +05:30
std::shared_ptr<ImgurAlbumCreation> m_imgurAlbum;
QList<ScreenShot *> selected() const;
2014-02-24 02:44:24 +05:30
};