玉兔远程控制 0.0.31
载入中...
搜索中...
未找到
FrmScroll.h
1// Author: Kang Lin <kl222@126.com>
2
3#ifndef CFrmScroll_H_2024_11_01
4#define CFrmScroll_H_2024_11_01
5
6#pragma once
7
8#include <QScrollArea>
9#include <QMouseEvent>
10#include "FrmViewer.h"
11
16class CFrmScroll : public QScrollArea
17{
18 Q_OBJECT
19public:
20 explicit CFrmScroll(CFrmViewer* pView, QWidget *parent = nullptr);
21 virtual ~CFrmScroll();
22
23 CFrmViewer::ADAPT_WINDOWS AdaptWindows();
24 CFrmViewer* GetViewer();
25
26public Q_SLOTS:
27 void slotSetAdaptWindows(
29
30private Q_SLOTS:
31 void slotMouseMoveEvent(QMouseEvent *event);
32};
33
34#endif // CFrmScroll_H_2024_11_01
The scroll form class
Definition FrmScroll.h:17
用于显示从 CConnectDesktop 输出的图像,和向 CConnectDesktop 发送键盘、鼠标事件。
Definition FrmViewer.h:49
ADAPT_WINDOWS
窗口适配枚举常量
Definition FrmViewer.h:61
@ Original
原始桌面大小,桌面的左上点与窗口的左上点对齐