mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
gui: autoscroll MDI area
This commit is contained in:
parent
53076615f8
commit
87574193d4
@ -93,7 +93,10 @@ def main():
|
||||
status_bar = QtWidgets.QStatusBar()
|
||||
status_bar.showMessage("Connected to {}".format(args.server))
|
||||
main_window.setStatusBar(status_bar)
|
||||
main_window.setCentralWidget(QtWidgets.QMdiArea())
|
||||
mdi_area = QtWidgets.QMdiArea()
|
||||
mdi_area.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
|
||||
mdi_area.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
|
||||
main_window.setCentralWidget(mdi_area)
|
||||
|
||||
# create UI components
|
||||
expmgr = experiments.ExperimentManager(main_window,
|
||||
|
Loading…
Reference in New Issue
Block a user