summaryrefslogtreecommitdiffstats
path: root/lib/kross/python/scripts/gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kross/python/scripts/gui.py')
-rwxr-xr-xlib/kross/python/scripts/gui.py28
1 files changed, 14 insertions, 14 deletions
diff --git a/lib/kross/python/scripts/gui.py b/lib/kross/python/scripts/gui.py
index b8edbe9c3..89a07066c 100755
--- a/lib/kross/python/scripts/gui.py
+++ b/lib/kross/python/scripts/gui.py
@@ -371,26 +371,26 @@ class Dialog:
def close(self):
self.dialog.close()
- def addFrame(self, tqparentwidget):
- return self.dialog.Frame(self.dialog, tqparentwidget.widget)
+ def addFrame(self, parentwidget):
+ return self.dialog.Frame(self.dialog, parentwidget.widget)
- def addLabel(self, tqparentwidget, caption):
- return self.dialog.Label(self.dialog, tqparentwidget.widget, caption)
+ def addLabel(self, parentwidget, caption):
+ return self.dialog.Label(self.dialog, parentwidget.widget, caption)
- def addCheckBox(self, tqparentwidget, caption, checked = True):
- return self.dialog.CheckBox(self.dialog, tqparentwidget.widget, caption, checked)
+ def addCheckBox(self, parentwidget, caption, checked = True):
+ return self.dialog.CheckBox(self.dialog, parentwidget.widget, caption, checked)
- def addButton(self, tqparentwidget, caption, commandmethod):
- return self.dialog.Button(self.dialog, tqparentwidget.widget, caption, commandmethod)
+ def addButton(self, parentwidget, caption, commandmethod):
+ return self.dialog.Button(self.dialog, parentwidget.widget, caption, commandmethod)
- def addEdit(self, tqparentwidget, caption, text):
- return self.dialog.Edit(self.dialog, tqparentwidget.widget, caption, text)
+ def addEdit(self, parentwidget, caption, text):
+ return self.dialog.Edit(self.dialog, parentwidget.widget, caption, text)
- def addFileChooser(self, tqparentwidget, caption, initialfile = None, filetypes = None):
- return self.dialog.FileChooser(self.dialog, tqparentwidget.widget, caption, initialfile, filetypes)
+ def addFileChooser(self, parentwidget, caption, initialfile = None, filetypes = None):
+ return self.dialog.FileChooser(self.dialog, parentwidget.widget, caption, initialfile, filetypes)
- def addList(self, tqparentwidget, caption, items):
- return self.dialog.List(self.dialog, tqparentwidget.widget, caption, items)
+ def addList(self, parentwidget, caption, items):
+ return self.dialog.List(self.dialog, parentwidget.widget, caption, items)
def showMessageBox(self, typename, caption, message):
return self.dialog.MessageBox(self.dialog, typename, caption, message)