2021-10-27 12:28:16 +08:00
|
|
|
#ifndef DEVICEFRAME_H
|
|
|
|
#define DEVICEFRAME_H
|
|
|
|
#include <QObject>
|
|
|
|
#include <QWidget>
|
|
|
|
#include <QPushButton>
|
|
|
|
#include <QHBoxLayout>
|
|
|
|
#include <QLabel>
|
|
|
|
#include <QDebug>
|
2021-11-11 19:16:21 +08:00
|
|
|
#include "../component/DrownLabel/drownlabel.h"
|
2021-10-27 12:28:16 +08:00
|
|
|
|
|
|
|
class DeviceFrame : public QFrame
|
|
|
|
{
|
|
|
|
|
|
|
|
public:
|
|
|
|
DeviceFrame(QString devName, QWidget *parent = nullptr);
|
|
|
|
~DeviceFrame();
|
|
|
|
public:
|
|
|
|
//仅设备名称+下拉label
|
|
|
|
QLabel * deviceLabel = nullptr;
|
|
|
|
DrownLabel *dropDownLabel = nullptr;
|
|
|
|
|
|
|
|
private:
|
|
|
|
int frameSize;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DEVICEFRAME_H
|