61 lines
955 B
C++
61 lines
955 B
C++
#ifndef TOOLS_INDEX0_H
|
|
#define TOOLS_INDEX0_H
|
|
|
|
#include <QWidget>
|
|
#include "QFile"
|
|
#include "QTextStream"
|
|
|
|
#include "QDebug"
|
|
|
|
#include "MAVLinkInspector.h"
|
|
|
|
#include "QMouseEvent"
|
|
#include "QDebug"
|
|
#include "QAction"
|
|
#include "QContextMenuEvent"
|
|
#include "QMenu"
|
|
#include "QColor"
|
|
#include "QLabel"
|
|
#include "mavlink.h"
|
|
#include "QStyle"
|
|
|
|
#include <QScreen>
|
|
|
|
namespace Ui {
|
|
class Tools_Index0;
|
|
}
|
|
|
|
|
|
class Tools_Index0 : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit Tools_Index0(QWidget *parent = nullptr);
|
|
~Tools_Index0();
|
|
|
|
void resizeEvent(QResizeEvent *event);
|
|
|
|
|
|
|
|
MAVLinkInspector *mavlinkinspector = nullptr;
|
|
|
|
public slots:
|
|
|
|
void setInstallWidget(QWidget *w);
|
|
|
|
void closeEvent(QCloseEvent *event);
|
|
void contextMenuEvent(QContextMenuEvent *event);
|
|
void setFloat(void);
|
|
|
|
private:
|
|
QWidget *m_parent;
|
|
Ui::Tools_Index0 *ui;
|
|
QWidget *Inspect = nullptr;
|
|
|
|
//Scope *scope = nullptr;
|
|
|
|
};
|
|
|
|
#endif // INDEX0_H
|