opt
This commit is contained in:
parent
b6fa30fb42
commit
0f8e5a3ccc
@ -1,7 +1,5 @@
|
||||
import logging
|
||||
import sys
|
||||
|
||||
import numpy as np
|
||||
from PyQt6.QtCore import QByteArray, Qt
|
||||
from PyQt6.QtGui import QImage, QPixmap, QKeyEvent
|
||||
from PyQt6.QtWidgets import QMainWindow, QApplication, QGraphicsPixmapItem, QGraphicsScene
|
||||
@ -39,14 +37,6 @@ class Adv(QMainWindow, Ui_MainWindow):
|
||||
case 't':
|
||||
self.watermark = not self.watermark
|
||||
|
||||
def on_key(self, key):
|
||||
# test for a specific key
|
||||
logging.info(f'{type(key)}')
|
||||
# if key == QtCore.Qt.Key_Return:
|
||||
# print('return key pressed')
|
||||
# else:
|
||||
# print('key pressed: %i' % key)
|
||||
|
||||
def on_zmq_event(self, msg: QByteArray):
|
||||
msg = Msg.decode_msg(msg.data())
|
||||
if isinstance(msg, KillMsg):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user