From 5cfdaee46a89c08c7c438dcfcbdf48d81cc46067 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Sat, 9 Jul 2016 18:43:36 +0200 Subject: [PATCH] browser: recompute and load buttons side-by-side --- artiq/browser/experiments.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/artiq/browser/experiments.py b/artiq/browser/experiments.py index fe4c76f05..a1bb351b8 100644 --- a/artiq/browser/experiments.py +++ b/artiq/browser/experiments.py @@ -85,16 +85,14 @@ class _ArgumentEditor(QtWidgets.QTreeWidget): recompute_arguments.clicked.connect(self._recompute_arguments_clicked) load = QtWidgets.QPushButton("Set arguments from HDF5") - load.setToolTip("Set arguments from currently selected HDF5 " - "file (Ctrl+Space)") + load.setToolTip("Set arguments from currently selected HDF5 file") load.setIcon(QtWidgets.QApplication.style().standardIcon( QtWidgets.QStyle.SP_DialogApplyButton)) - load.setShortcut("CTRL+SPACE") load.clicked.connect(self._load_clicked) buttons = LayoutWidget() buttons.addWidget(recompute_arguments, 1, 1) - buttons.addWidget(load, 2, 1) + buttons.addWidget(load, 1, 2) for i, s in enumerate((1, 0, 0, 1)): buttons.layout.setColumnStretch(i, s) self.setItemWidget(widget_item, 1, buttons)