Commit 0298cbb5 authored by Yori 'AGy' Fournier's avatar Yori 'AGy' Fournier
Browse files

Now I have all ingredients for designing a self generated formular from imported functions

parent e5a02ec8
......@@ -29,7 +29,11 @@ class QOpenFileWidget(QWidget):
self.argLabels = []
for i in range(0, myIOs.__dict__[AVAIL_FUNCTIONS[0]].func_code.co_argcount):
a = int(-1 * len(myIOs.__dict__[AVAIL_FUNCTIONS[0]].func_defaults))
for label in self.argLabels[a:]:
self.argLabels.append(myIOs.__dict__[AVAIL_FUNCTIONS[0]].func_code.co_varnames[i] + '=')
self.layout = QVBoxLayout(self)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment