1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-16 23:23:50 +01:00
LibrePilot/ground/src/plugins/scope/scopegadget.h
ephy 35f4fc06a0 GCS/core+gadgets: Second attempt at cleanup of uav gadget interface.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@400 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-27 19:24:21 +00:00

39 lines
691 B
C++

/*
* scopegadget.h
*
* Created on: Mar 11, 2010
* Author: peter
*/
#ifndef SCOPEGADGET_H_
#define SCOPEGADGET_H_
#include <coreplugin/iuavgadget.h>
class IUAVGadget;
//class QList<int>;
class QWidget;
class QString;
class ScopeGadgetWidget;
using namespace Core;
class ScopeGadget : public Core::IUAVGadget
{
Q_OBJECT
public:
ScopeGadget(QString classId, ScopeGadgetWidget *widget, QWidget *parent = 0);
~ScopeGadget();
QList<int> context() const { return m_context; }
QWidget *widget() { return m_widget; }
QString contextHelpId() const { return QString(); }
private:
QWidget *m_widget;
QList<int> m_context;
};
#endif // SCOPEGADGET_H_