Newer
Older
pixhawk
committed
#ifndef WAYPOINTVIEWONLYVIEW_H
#define WAYPOINTVIEWONLYVIEW_H
#include <QWidget>
pixhawk
committed
#include "Waypoint.h"
#include <iostream>
namespace Ui {
class WaypointViewOnlyView;
}
class WaypointViewOnlyView : public QWidget
{
Q_OBJECT
public:
explicit WaypointViewOnlyView(Waypoint* wp, QWidget *parent = 0);
~WaypointViewOnlyView();
public slots:
void changedCurrent(int state);
void changedAutoContinue(int state);
void updateValues(void);
void setCurrent(bool state);
pixhawk
committed
signals:
void changeCurrentWaypoint(quint16);
void changeAutoContinue(quint16, bool);
protected:
Waypoint* wp;
virtual void changeEvent(QEvent *e);
virtual void paintEvent(QPaintEvent *);