-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapropertyeditordialog.h
67 lines (43 loc) · 1.44 KB
/
apropertyeditordialog.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#ifndef PROPERTYEDITORDIALOG_H
#define PROPERTYEDITORDIALOG_H
#include "aspinnerlabel.h"
#include <QDialog>
#include <QGeoCoordinate>
#include <QStandardItemModel>
#include "aglobal.h"
namespace Ui {
class propertyEditorDialog;
}
class APropertyEditorDialog : public QDialog
{
Q_OBJECT
public:
explicit APropertyEditorDialog(QWidget *parent = nullptr);
~APropertyEditorDialog();
void setProperties(QStandardItemModel *itemModel, QStringList filesList);
void closeEvent(QCloseEvent *event);
QMap<QString, QMap<QString, QMap<QString, MMetaDataStruct>>> exifToolMap;
private:
Ui::propertyEditorDialog *ui;
ASpinnerLabel *spinnerLabel;
void onRedrawMap();
bool checkExit();
public slots:
void onPropertiesLoaded();
void onLoadProperties();
private slots:
void on_filterColumnsLineEdit_textChanged(const QString &arg1);
void on_locationCheckBox_clicked(bool checked);
void on_cameraCheckBox_clicked(bool checked);
void on_artistCheckBox_clicked(bool checked);
void on_updateButton_clicked();
void on_closeButton_clicked();
void onGeoCodingFinished(QGeoCoordinate geoCoordinate);
void on_renameButton_clicked();
void checkAndMatchPicasa();
void on_refreshButton_clicked();
signals:
void releaseMedia(QString folderName, QString fileName);
void loadProperties();
};
#endif // PROPERTYEDITORDIALOG_H