1
0
forked from BRT/arc
arc/views/DeviceWidget.h
2025-04-26 13:50:05 +07:00

18 lines
367 B
C++

#pragma once
#include <QWidget>
#include "db/DeviceInfo.h"
#include "scrcpy/ScrcpyWindow.h"
class DeviceWidget final : public QWidget {
Q_OBJECT
public:
explicit DeviceWidget(const DeviceInfo& device, QWidget* parent = nullptr);
private:
ScrcpyWindow *scrcpyWindow = nullptr;
protected:
void mouseDoubleClickEvent(QMouseEvent *event) override;
};