-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsynchresultitem.h
35 lines (29 loc) · 868 Bytes
/
synchresultitem.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
/** @file synchresultitem.h
* Hlavickovy soubor tridy SynchResultItem dedici ze trid QObject a QTreeWidgetItem,
* radky s vysledky v dialogu s vysledky synchronizace
*/
#ifndef SYNCHRESULTITEM_H
#define SYNCHRESULTITEM_H
#include "imageinfo.h"
#include <QCheckBox>
#include <QLabel>
#include <QObject>
#include <QTreeWidgetItem>
class SynchResultItem : public QObject, public QTreeWidgetItem {
Q_OBJECT
QString colorOk;
QString colorFailed;
QString colorOkUnchecked;
QString colorFailedChecked;
int colCount;
public:
explicit SynchResultItem(ImageInfo* image, QString cOk, QString cFailed, QString cOkUnchecked, QString cFailedChecked, QTreeWidget* parent = 0);
QCheckBox* checkBox;
bool synchOk;
int timeDiff;
void setChecked(bool n);
signals:
public slots:
void setItemColor();
};
#endif // SYNCHRESULTITEM_H