#NEWLINE# def __init__( self , param , parent = None ) : #NEWLINE# #INDENT# QtGui . QDoubleSpinBox . __init__ ( self , parent ) #NEWLINE# ConstantWidgetMixin . __init__ ( self , param . strValue ) #NEWLINE# assert ( param . type == 'Float' ) #NEWLINE# assert ( param . identifier == get_vistrails_basic_pkg_id ( ) ) #NEWLINE# self . connect ( self , QtCore . SIGNAL ( 'valueChanged(double)' ) , self . change_val ) #NEWLINE# self . setContents ( param . strValue )