Commit b079c493 authored by Maxime Perrotin's avatar Maxime Perrotin

Introduce PySide2

parent b4ec122e
......@@ -29,7 +29,9 @@ try:
from PySide.QtGui import *
from PySide.QtUiTools import *
except ImportError as err:
print('Pyside not found (package python-pyside missing)...' + str(err))
from PySide2.QtWidgets import *
from PySide2.QtGui import *
from PySide2.QtCore import *
import vn
......@@ -223,7 +225,11 @@ class asn1Editor(QTreeView):
expandTree = Signal()
expandBranch = Signal(QModelIndex)
statusBarMessage = Signal(str)
msc = Signal(unicode, unicode)
try:
msc = Signal(unicode, unicode)
except NameError:
# python3
msc = Signal(str, str)
# Whenever a new TM is received, the new_tm signal is emitted
new_tm = Signal()
# Use a signal to tell the plots (matplotlib) to update
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment