Passive VNC QT Widget for Python using PyQt5
Project description
pyQVNCWidget
Passive VNC Widget for Python using PyQt5.
NOTE: This project is pretty much still in WiP status and I am struggling with the PIXEL_FORMAT.
So if someone knows a way to fix it or a better way of doing it in the first place, I would be happy about PRs ;)
How to install
pip3 install qvncwidget
TODO:
- Proper error handling
onFatalError
- support for more than just RAW and RGB32 PIXEL_FORMATs
- support for compression
- implement rfb 3.7 and 3.8
- (maybe) support for remote contol
Example (see /examples/example1.py)
import sys
from PyQt5.QtWidgets import QApplication, QMainWindow
from qvncwidget import QVNCWidget
class Window(QMainWindow):
def __init__(self):
super(Window, self).__init__()
self.initUI()
def initUI(self):
self.setWindowTitle("QVNCWidget")
self.vnc = QVNCWidget(
parent=self,
host="127.0.0.1", port=5900,
password="1234"
)
self.setCentralWidget(self.vnc)
self.vnc.start()
app = QApplication(sys.argv)
window = Window()
#window.setFixedSize(800, 600)
window.resize(800, 600)
window.show()
sys.exit(app.exec_())
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
QVncWidget-0.1.4.tar.gz
(23.9 kB
view hashes)
Built Distribution
QVncWidget-0.1.4-py3-none-any.whl
(24.1 kB
view hashes)
Close
Hashes for QVncWidget-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cedcea1ae7a0bec0efe848d888c845fdc288aed055405acdfa568cd879954c32 |
|
MD5 | e29d17e326a798b85bc382274cef4f88 |
|
BLAKE2b-256 | 229d64a02aca3f4b03f832a07e043832ee2df336dca0e19db2f9a09b9c468f24 |