summaryrefslogtreecommitdiff
path: root/tests/systemtests/map3d/camerawidget.h
blob: d3e8faa489d00efc276bcdd4d0743991452621be (plain)
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
#ifndef CAMERAWIDGET_H
#define CAMERAWIDGET_H

#include <QWidget>

#include "cameradata.h"

class QLineEdit;
class QPushButton;

class CameraWidget : public QWidget
{
    Q_OBJECT
public:
    CameraWidget(QWidget *parent = 0);

    CameraData camera() const;

public slots:
    void setCamera(const CameraData& camera);

private slots:
    void updateCamera();

signals:
    void updated();
    void capture();

private:
    void setupUi();

    CameraData cam_;

    QLineEdit *lat_;
    QLineEdit *lon_;
    QLineEdit *distance_;
    QLineEdit *zoomLevel_;
    QLineEdit *zoomFactor_;
    QLineEdit *bearing_;
    QLineEdit *tilt_;
    QLineEdit *roll_;
    QPushButton *update_;
    QPushButton *capture_;
};

#endif // CAMERAWIDGET_H