WaypointViewViewOnly.h 690 Bytes
Newer Older
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
#ifndef WAYPOINTVIEWVIEWONLY_H
#define WAYPOINTVIEWVIEWONLY_H

#include <QtGui/QWidget>
#include "Waypoint.h"
#include <iostream>

namespace Ui {
    class WaypointViewViewOnly;
}

class WaypointViewViewOnly : public QWidget
{
    Q_OBJECT

public:
    explicit WaypointViewViewOnly(Waypoint* wp, QWidget *parent = 0);
    ~WaypointViewViewOnly();

public slots:
void changedCurrent(int state);
void changedAutoContinue(int state);
void updateValues(void);
void setCurrent(bool state);

signals:
    void changeCurrentWaypoint(quint16);
    void changeAutoContinue(quint16, bool);

protected:
Waypoint* wp;

private:
    Ui::WaypointViewViewOnly *m_ui;
};

#endif // WAYPOINTVIEWVIEWONLY_H