mirror of https://github.com/m-labs/artiq.git
docs: fix waveform imports
This commit is contained in:
parent
bd9e8b3977
commit
cda758ef53
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue