2014-02-24 02:44:24 +05:30
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include "logic/lists/ScreenshotList.h"
|
|
|
|
|
|
|
|
class BaseInstance;
|
|
|
|
|
|
|
|
namespace Ui
|
|
|
|
{
|
|
|
|
class ScreenshotDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class ScreenshotDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit ScreenshotDialog(ScreenshotList *list, QWidget *parent = 0);
|
|
|
|
~ScreenshotDialog();
|
|
|
|
|
2014-02-24 14:04:21 +05:30
|
|
|
enum
|
|
|
|
{
|
|
|
|
NothingDone = 0x42
|
|
|
|
};
|
|
|
|
|
|
|
|
QList<ScreenShot *> uploaded() 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;
|
2014-02-24 14:04:21 +05:30
|
|
|
QList<ScreenShot *> m_uploaded;
|
|
|
|
|
|
|
|
QList<ScreenShot *> selected() const;
|
2014-02-24 02:44:24 +05:30
|
|
|
};
|