forked from M-Labs/artiq
1
0
Fork 0

interactive_args: add quickstyle

This commit is contained in:
Simon Renblad 2024-04-02 16:13:04 +08:00 committed by Sébastien Bourdeauducq
parent 5f49e582c8
commit 9bf5695ab2
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ class _InteractiveArgsRequest(QtWidgets.QWidget):
layout = QtWidgets.QGridLayout() layout = QtWidgets.QGridLayout()
self.setLayout(layout) self.setLayout(layout)
self.entry_tree = EntryTreeWidget() self.entry_tree = EntryTreeWidget()
self.entry_tree.quickStyleClicked.connect(self.supply)
layout.addWidget(self.entry_tree, 0, 0, 1, 2) layout.addWidget(self.entry_tree, 0, 0, 1, 2)
for key, procdesc, group, tooltip in arglist_desc: for key, procdesc, group, tooltip in arglist_desc:
self.arguments[key] = {"desc": procdesc, "group": group, "tooltip": tooltip} self.arguments[key] = {"desc": procdesc, "group": group, "tooltip": tooltip}