Skip to content
Snippets Groups Projects
Commit 799e8a7d authored by Sander Snoo's avatar Sander Snoo
Browse files

Removed QT message handler. It doesn't work properly with some versions of Spyder

parent 8cf50855
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,6 @@ from core_tools.GUI.parameter_viewer_qml.model import gate_model
from PyQt5 import QtCore, QtWidgets, QtQml
import core_tools.GUI.parameter_viewer_qml as qml_in
from core_tools.GUI.qt_util import install_qt_message_handler
import os
import qcodes as qc
......@@ -17,7 +16,6 @@ class param_viewer:
gates: Gate instrument to use. If None, use qcodes.Station.default.gates
allow_mouse_wheel_updates: If True, then allow changing parameter values using mouse scrolling
"""
install_qt_message_handler()
super().__init__()
self.app = QtCore.QCoreApplication.instance()
self.instance_ready = True
......
from core_tools.GUI.virt_gate_matrix_qml.models import attenuation_model, table_header_model, vg_matrix_model
from core_tools.drivers.hardware.hardware import hardware
from core_tools.GUI.qt_util import install_qt_message_handler
from PyQt5 import QtCore, QtWidgets, QtQml
......@@ -19,7 +18,6 @@ class virt_gate_matrix_GUI:
virtual_gate_name: Name or index of virtual gate to display
invert: Show inverted matrix.
"""
install_qt_message_handler()
super().__init__()
# self.app = QtGui.QGuiApplication(sys.argv)
self.app = QtCore.QCoreApplication.instance()
......
......@@ -5,7 +5,6 @@ import os
import core_tools.data.gui.qml as qml_in
from core_tools.data.SQL.connect import SQL_conn_info_local, sample_info, set_up_local_storage
from core_tools.GUI.qt_util import install_qt_message_handler
def coalesce(*args):
for arg in args:
......@@ -18,7 +17,6 @@ class data_browser():
def __init__(self,
project=None, set_up=None, sample=None,
window_location=None, window_size=None):
install_qt_message_handler()
super().__init__()
self.app = QtCore.QCoreApplication.instance()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment