Rabbit Remote Control
0.0.31
Loading...
Searching...
No Matches
Client
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
16
class
CFrmScroll
:
public
QScrollArea
17
{
18
Q_OBJECT
19
public
:
20
explicit
CFrmScroll
(
CFrmViewer
* pView, QWidget *parent =
nullptr
);
21
virtual
~CFrmScroll
();
22
23
CFrmViewer::ADAPT_WINDOWS
AdaptWindows();
24
CFrmViewer
* GetViewer();
25
26
public
Q_SLOTS:
27
void
slotSetAdaptWindows(
28
CFrmViewer::ADAPT_WINDOWS
aw =
CFrmViewer::ADAPT_WINDOWS::Original
);
29
30
private
Q_SLOTS:
31
void
slotMouseMoveEvent(QMouseEvent *event);
32
};
33
34
#endif
// CFrmScroll_H_2024_11_01
CFrmScroll
The scroll form class.
Definition
FrmScroll.h:17
CFrmViewer
A widget which displays output image from a CConnectDesktop and sends input keypresses and mouse acti...
Definition
FrmViewer.h:49
CFrmViewer::ADAPT_WINDOWS
ADAPT_WINDOWS
The ADAPT_WINDOWS enum.
Definition
FrmViewer.h:61
CFrmViewer::ADAPT_WINDOWS::Original
@ Original
Original desktop size, the left-top of the desktop is aligned with the left-top of the window.
作者:康林 (kl222@126.com)
版权所有(c) 康林工作室 保留所有权力