summaryrefslogtreecommitdiffstats
path: root/gui/dialogs/ScreenshotDialog.h
blob: 1ca27bdd772a9f447651abcd85cf25806e79e46c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#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();

	enum
	{
		NothingDone = 0x42
	};

	QList<ScreenShot *> uploaded() const;

private
slots:
	void on_buttonBox_accepted();

private:
	Ui::ScreenshotDialog *ui;
	ScreenshotList *m_list;
	QList<ScreenShot *> m_uploaded;

	QList<ScreenShot *> selected() const;
};