Skip to content
Browse files

BUG: Remove SWidget related code from Performance test

This is a follow up of commit r21404

See http://na-mic.org/Mantis/view.php?id=2735
Fixes #2735

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21417 3bd1e089-480b-0410-8dfb-8563597acbee
  • Loading branch information...
1 parent d1bd295 commit d6fcb5a6e1b5a5434c33e213b2469871c64b1c1e @jcfr committed Nov 15, 2012
Showing with 0 additions and 9 deletions.
  1. +0 −9 Modules/Scripted/Scripts/PerformanceTests.py
View
9 Modules/Scripted/Scripts/PerformanceTests.py
@@ -50,12 +50,6 @@ def setup(self):
self.layout.addWidget(b)
b.connect('clicked()', test[1])
- self.tclEnabled = qt.QCheckBox("Tcl Enabled")
- self.layout.addWidget(self.tclEnabled)
- self.tclEnabled.setToolTip("Toggles processing of tcl events - disables tcl-based functionality including pan/zoom, window/level, and Editor module.")
- self.tclEnabled.setChecked(not bool(int(tcl('set ::SWidget::DISABLE_CALLBACKS'))))
- self.tclEnabled.connect( "clicked()", self.onTclEnabled )
-
self.log = qt.QTextEdit()
self.log.readOnly = True
self.layout.addWidget(self.log)
@@ -66,9 +60,6 @@ def setup(self):
# Add spacer to layout
self.layout.addStretch(1)
- def onTclEnabled(self):
- tcl('set ::SWidget::DISABLE_CALLBACKS %d' % (not self.tclEnabled.checked,))
-
def downloadMRHead(self):
self.downloadVolume('http://www.slicer.org/slicerWiki/images/4/43/MR-head.nrrd', 'MRHead')

0 comments on commit d6fcb5a

Please sign in to comment.
Something went wrong with that request. Please try again.