PrismLauncher/gui/dialogs/ScreenshotDialog.h

40 lines
594 B
C
Raw Normal View History

2014-02-23 21:14:24 +00:00
#pragma once
#include <QDialog>
#include "logic/lists/ScreenshotList.h"
2014-02-24 10:30:27 +00:00
class ImgurAlbumCreation;
2014-02-23 21:14:24 +00:00
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 10:30:27 +00:00
QString message() const;
2014-02-23 21:14:24 +00:00
private
slots:
2014-02-24 09:34:51 +00:00
void on_uploadBtn_clicked();
2014-02-23 21:14:24 +00:00
private:
Ui::ScreenshotDialog *ui;
ScreenshotList *m_list;
QList<ScreenShot *> m_uploaded;
2014-02-24 10:30:27 +00:00
std::shared_ptr<ImgurAlbumCreation> m_imgurAlbum;
QList<ScreenShot *> selected() const;
2014-02-23 21:14:24 +00:00
};