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

View File

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