summaryrefslogtreecommitdiffstats
path: root/kspread/plugins/scripting/scripts/scripteditor/ScriptEditor.py
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/plugins/scripting/scripts/scripteditor/ScriptEditor.py')
-rwxr-xr-xkspread/plugins/scripting/scripts/scripteditor/ScriptEditor.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/kspread/plugins/scripting/scripts/scripteditor/ScriptEditor.py b/kspread/plugins/scripting/scripts/scripteditor/ScriptEditor.py
index e3d6237c..c6da1fe2 100755
--- a/kspread/plugins/scripting/scripts/scripteditor/ScriptEditor.py
+++ b/kspread/plugins/scripting/scripts/scripteditor/ScriptEditor.py
@@ -763,11 +763,11 @@ class SampleDialog(qt.QDialog):
import qt
qt.QDialog.__init__(self, parent, "SampleDialog", 1)
- tqlayout = qt.QVBoxLayout(self)
+ layout = qt.QVBoxLayout(self)
box = qt.QVBox(self)
box.setMargin(4)
box.setSpacing(10)
- tqlayout.addWidget(box)
+ layout.addWidget(box)
self.scrollview = qt.QScrollView(box)
self.scrollview.setResizePolicy(qt.QScrollView.AutoOne)
@@ -829,11 +829,11 @@ class MainDialog(qt.QDialog):
qt.QDialog.__init__(self, parent, "MainDialog", 1, qt.Qt.WDestructiveClose)
self.setCaption("Script Editor")
- tqlayout = qt.QVBoxLayout(self)
+ layout = qt.QVBoxLayout(self)
box = qt.QVBox(self)
box.setMargin(4)
box.setSpacing(10)
- tqlayout.addWidget(box)
+ layout.addWidget(box)
menu = qt.QMenuBar(box)