Rabbit Remote Control
0.1.0-bate10
Loading...
Searching...
No Matches
Src
FrmScroll.h
1
// Author: Kang Lin <kl222@126.com>
2
3
#pragma once
4
5
#include <QScrollArea>
6
#include <QMouseEvent>
7
#include "FrmViewer.h"
8
13
class
CFrmScroll
:
public
QScrollArea
14
{
15
Q_OBJECT
16
public
:
17
explicit
CFrmScroll
(
CFrmViewer
* pView, QWidget *parent =
nullptr
);
18
virtual
~CFrmScroll
();
19
20
CFrmViewer::ADAPT_WINDOWS
AdaptWindows();
21
CFrmViewer
* GetViewer();
22
23
public
Q_SLOTS:
24
void
slotSetAdaptWindows(
25
CFrmViewer::ADAPT_WINDOWS
aw =
CFrmViewer::ADAPT_WINDOWS::Original
);
26
27
private
Q_SLOTS:
28
void
slotMouseMoveEvent(QMouseEvent *event);
29
};
CFrmScroll
The scroll form class.
Definition
FrmScroll.h:14
CFrmViewer
A widget which displays output image from a CConnectDesktop and sends input keypresses and mouse acti...
Definition
FrmViewer.h:48
CFrmViewer::ADAPT_WINDOWS
ADAPT_WINDOWS
The ADAPT_WINDOWS enum.
Definition
FrmViewer.h:60
CFrmViewer::ADAPT_WINDOWS::Original
@ Original
Original desktop size, the left-top of the desktop is aligned with the left-top of the window.
Author: Kang Lin (kl222@126.com)
Copyright (c) Kang Lin Studios All Rights Reserved