docs: fix waveform imports

This commit is contained in:
Simon Renblad 2024-02-22 16:55:39 +08:00 committed by Sébastien Bourdeauducq
parent bd9e8b3977
commit cda758ef53

View File

@ -6,7 +6,6 @@ import itertools
import math
from PyQt5 import QtCore, QtWidgets, QtGui
from PyQt5.QtCore import Qt
import pyqtgraph as pg
import numpy as np
@ -672,7 +671,7 @@ class Model(DictSyncTreeSepModel):
class _AddChannelDialog(QtWidgets.QDialog):
def __init__(self, parent, model):
QtWidgets.QDialog.__init__(self, parent=parent)
self.setContextMenuPolicy(Qt.ActionsContextMenu)
self.setContextMenuPolicy(QtCore.Qt.ActionsContextMenu)
self.setWindowTitle("Add channels")
layout = QtWidgets.QVBoxLayout()