-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtargetwindow.h
More file actions
45 lines (32 loc) · 792 Bytes
/
targetwindow.h
File metadata and controls
45 lines (32 loc) · 792 Bytes
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
#ifndef TARGETWINDOW_H
#define TARGETWINDOW_H
#include <QDialog>
#include "targetlistitem.h"
#include <QProcess>
#include <QSettings>
#include <atomic>
#include "lifesupport.h"
class TargetListWindow;
namespace Ui {
class TargetWindow;
}
class TargetWindow : public QDialog
{
Q_OBJECT
public:
explicit TargetWindow(LifeSupport* dataPackage, TargetListItem *targetListItem, QWidget *parent = 0);
~TargetWindow();
TargetListWindow *parent;
private slots:
void on_zbar_pressed();
void on_classifyButton_pressed();
void closeEvent(QCloseEvent *event);
private:
void classify() ;
void zbar() ;
LifeSupport* dataPackage;
Ui::TargetWindow *ui;
TargetListItem *targetListItem;
std::atomic<bool> processing;
};
#endif // TARGETWINDOW_H