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.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kross/python/scripts/gui.py b/lib/kross/python/scripts/gui.py
index 7461447a..9b8e0f8c 100755
--- a/lib/kross/python/scripts/gui.py
+++ b/lib/kross/python/scripts/gui.py
@@ -190,9 +190,9 @@ class QtDialog:
def __init__(self, parent = None, name = None, modal = 0, fl = 0):
qt.QDialog.__init__(self, parent, name, modal, fl)
qt.QDialog.accept = self.accept
- self.tqlayout = qt.QVBoxLayout(self)
- self.tqlayout.setSpacing(6)
- self.tqlayout.setMargin(11)
+ self.layout = qt.QVBoxLayout(self)
+ self.layout.setSpacing(6)
+ self.layout.setMargin(11)
class Label(qt.QLabel):
def __init__(self, dialog, parent, caption):
@@ -323,7 +323,7 @@ class QtDialog:
self.widget = qt.QVBox(self.dialog)
self.widget.setSpacing(6)
- self.dialog.tqlayout.addWidget(self.widget)
+ self.dialog.layout.addWidget(self.widget)
self.Frame = Frame
self.Label = Label