API Documentation
Loading...
Searching...
No Matches
VncClientWidget Class Reference

#include <VncClientWidget.h>

Inheritance diagram for VncClientWidget:
[legend]
Collaboration diagram for VncClientWidget:
[legend]

Public Member Functions

void commit (const QRegion &region)
 
bool connectToVncServer (const String &ip, const String &password, int port=5900)
 
void disconnectFromVncServer ()
 
QImage * imageToRender ()
 
bool isConnectedToServer ()
 
void mousePressEvent (QMouseEvent *event) override
 
void refreshTcpSize ()
 
void setMouse (const Vector< 2, uint04 > &hotspot, QImage mouse)
 
void setResizeTcpServer (TcpServer *server, fltp08 size_multiplier)
 
void tryRefreshScreen (bool force_refresh_all)
 
 VncClientWidget (QWidget *parent=0)
 
 ~VncClientWidget ()
 

Protected Member Functions

bool event (QEvent *event) override
 
void keyPressEvent (QKeyEvent *event) override
 
void keyReleaseEvent (QKeyEvent *event) override
 
void paintEvent (QPaintEvent *) override
 
void resizeEvent (QResizeEvent *event) override
 

Constructor & Destructor Documentation

◆ VncClientWidget()

VncClientWidget ( QWidget * parent = 0)
explicit

◆ ~VncClientWidget()

Member Function Documentation

◆ commit()

void commit ( const QRegion & region)

◆ connectToVncServer()

bool connectToVncServer ( const String & ip,
const String & password,
int port = 5900 )

◆ disconnectFromVncServer()

void disconnectFromVncServer ( )

◆ event()

bool event ( QEvent * event)
overrideprotected

◆ imageToRender()

QImage * imageToRender ( )

◆ isConnectedToServer()

bool isConnectedToServer ( )

◆ keyPressEvent()

void keyPressEvent ( QKeyEvent * event)
overrideprotected

◆ keyReleaseEvent()

void keyReleaseEvent ( QKeyEvent * event)
overrideprotected

◆ mousePressEvent()

void mousePressEvent ( QMouseEvent * event)
override

◆ paintEvent()

void paintEvent ( QPaintEvent * )
overrideprotected

◆ refreshTcpSize()

void refreshTcpSize ( )

◆ resizeEvent()

void resizeEvent ( QResizeEvent * event)
overrideprotected

◆ setMouse()

void setMouse ( const Vector< 2, uint04 > & hotspot,
QImage mouse )

◆ setResizeTcpServer()

void setResizeTcpServer ( TcpServer * server,
fltp08 size_multiplier )

◆ tryRefreshScreen()

void tryRefreshScreen ( bool force_refresh_all)

The documentation for this class was generated from the following file: