-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathimagewidgetslist.h
43 lines (34 loc) · 1.04 KB
/
imagewidgetslist.h
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
39
40
41
42
43
/** @file imagewidgetslist.h
* Hlavickovy soubor tridy ImageWidgetsList dedici ze trid QObject a QList<ImageInfo *>
* obsahujici seznam widgetů s fotografiemi
*/
#ifndef IMAGEWIDGETSLIST_H
#define IMAGEWIDGETSLIST_H
#include "imageinfo.h"
#include "mapwidget.h"
#include <QList>
#include <QObject>
class ImageWidgetsList : public QObject, public QList<ImageInfo*> {
Q_OBJECT
public:
explicit ImageWidgetsList(QObject* parent = 0);
void addImage(ImageInfo* imageWidget);
MapWidget* map;
QList<int> selectedIdList();
// int selectedCount;
bool isNotSaved();
signals:
void showImages();
void setExifInfo(QStringList);
public slots:
void deleteSelected();
void saveExifGpsInSelected();
void saveExifDateTimeInSelected();
void saveExifGpsInAll();
void saveExifDateTimeInAll();
void testRightClick(QPoint p);
void rubberBandSelection(QRect r, bool apply);
void selectOne(int id, bool clickMarker, bool focus);
// void changeLabelsVisibility(QAction*a);
};
#endif // IMAGEWIDGETSLIST_H