2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-26 03:38:25 +08:00

gui: remove unnecessary QSplitter

This commit is contained in:
Yann Sionneau 2015-07-14 16:59:04 +02:00
parent 90ba9f7bbf
commit 6e3fd591f7

View File

@ -29,10 +29,8 @@ class ParametersDock(dockarea.Dock):
def __init__(self): def __init__(self):
dockarea.Dock.__init__(self, "Parameters", size=(400, 300)) dockarea.Dock.__init__(self, "Parameters", size=(400, 300))
splitter = QtGui.QSplitter(QtCore.Qt.Horizontal)
self.addWidget(splitter)
grid = LayoutWidget() grid = LayoutWidget()
splitter.addWidget(grid) self.addWidget(grid)
self.search = QtGui.QLineEdit() self.search = QtGui.QLineEdit()
self.search.setPlaceholderText("search...") self.search.setPlaceholderText("search...")