forked from M-Labs/artiq
moninj: add channel dummy button
This commit is contained in:
parent
2a16b84df9
commit
d1decc9198
|
@ -794,8 +794,14 @@ class _MonInjDock(QtWidgets.QDockWidget):
|
|||
QtWidgets.QDockWidget.DockWidgetFloatable)
|
||||
layout = LayoutWidget()
|
||||
self.setWidget(layout)
|
||||
add_channel_btn = QtWidgets.QToolButton()
|
||||
add_channel_btn.setToolTip("Add channels...")
|
||||
add_channel_btn.setIcon(
|
||||
QtWidgets.QApplication.style().standardIcon(
|
||||
QtWidgets.QStyle.SP_FileDialogListView))
|
||||
layout.addWidget(add_channel_btn, 0, 0, colspan=1)
|
||||
scroll_area = QtWidgets.QScrollArea()
|
||||
layout.addWidget(scroll_area)
|
||||
layout.addWidget(scroll_area, 1, 0, colspan=10)
|
||||
self.grid = FlowLayout()
|
||||
grid_widget = QtWidgets.QWidget()
|
||||
grid_widget.setLayout(self.grid)
|
||||
|
|
Loading…
Reference in New Issue