-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcameralistwidget.h
More file actions
42 lines (31 loc) · 788 Bytes
/
Copy pathcameralistwidget.h
File metadata and controls
42 lines (31 loc) · 788 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
#ifndef CAMERALIST_H
#define CAMERALIST_H
#include <QDialog>
#include <QLabel>
#include "calibratewidget.h"
#include "cameraparameter.h"
namespace Ui {
class CameraListWidget;
}
class CameraListWidget : public QDialog
{
Q_OBJECT
public:
enum Attribute {
intrinsic = 0,
extrinsic,
};
explicit CameraListWidget(Attribute attr,
QVector<CameraParameter> &pv,
QWidget *parent = 0);
~CameraListWidget();
protected:
void mouseDoubleClickEvent(QMouseEvent *event);
private slots:
private:
void setCalibrateStatus(QLabel *label, CameraParameter *p,
bool ready);
Ui::CameraListWidget *ui;
QVector<CameraParameter> &pvec;
};
#endif // CAMERALIST_H