<s> '''<STR_LIT>''' <EOL> from __main__ import qt , slicer , vtk <EOL> from Editor import EditorWidget <EOL> from . import CIP_EditBox <EOL> class CIP_EditorWidget ( EditorWidget ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , parent = None , showVolumesFrame = True , activeTools = ( "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ) ) : <EOL> """<STR_LIT>""" <EOL> self . activeTools = activeTools <EOL> EditorWidget . __init__ ( self , parent , showVolumesFrame ) <EOL> @ property <EOL> def masterVolume ( self ) : <EOL> return slicer . util . getNode ( self . helper . masterSelector . currentNodeID ) <EOL> @ masterVolume . setter <EOL> def masterVolume ( self , value ) : <EOL> self . helper . setMasterVolume ( value ) <EOL> @ property <EOL> def labelmapVolume ( self ) : <EOL> return slicer . util . getNode ( self . helper . mergeSelector . currentNodeID ) <EOL> @ labelmapVolume . setter <EOL> def labelmapVolume ( self , value ) : <EOL> self . helper . setMergeVolume ( value ) <EOL> def createEditBox ( self ) : <EOL> """<STR_LIT>""" <EOL> self . editBoxFrame = qt . QFrame ( self . effectsToolsFrame ) <EOL> self . editBoxFrame . objectName = '<STR_LIT>' <EOL> self . editBoxFrame . setLayout ( qt . QVBoxLayout ( ) ) <EOL> self . effectsToolsFrame . layout ( ) . addWidget ( self . editBoxFrame ) <EOL> self . toolsBox = CIP_EditBox . CIP_EditBox ( self . activeTools , self . editBoxFrame , optionsFrame = self . effectOptionsFrame ) <EOL> def setThresholds ( self , min , max ) : <EOL> """<STR_LIT>""" <EOL> self . toolsBox . setThresholds ( min , max ) </s>
