This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
#ifndef UAVCONTROLUI_H
#define UAVCONTROLUI_H
#include <QWidget>
QT_BEGIN_NAMESPACE //qt的命名空间
namespace Ui {
class UAVControlUI; //声明ui命名空间下的类
}
QT_END_NAMESPACE
class UAVControlUI : public QWidget
{
// Q_OBJECT宏用于提供Qt信号槽和元对象系统服务
// 它必须限定为私有访问权限
Q_OBJECT
public:
UAVControlUI(QWidget *parent = nullptr);
~UAVControlUI();
private slots:
private:
// 创建Ui::DogControlUI类型的指针,用于操作ui界面及其控件
Ui::UAVControlUI *ui;
};
#endif // UAVCONTROLUI_H