Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/q/s/qsh-HEAD/app.py   qsh(Download)
# QSH
from networking.connector import Connector
from config import AppConfig, SCREEN_IMAGE_TYPE, SCREEN_IMAGE_QUALITY
from dialogs import ConfigurationDialog, ScreenViewDialog, MainTrayIcon
 
		screenBuf = QtCore.QBuffer(screenBA)
		screenBuf.open(QtCore.QBuffer.WriteOnly)
		QPixmap.grabWindow(self.desktop().winId()).save(screenBuf, SCREEN_IMAGE_TYPE, SCREEN_IMAGE_QUALITY)
 
		self.connector.submitScreen(host_data["host"], host_data["port"], screenBA)