#NEWLINE# def addLabeledSpinBox( self , text , minValue = None , maxValue = None , indent = True , newRow = True ) : #NEWLINE# #INDENT# if ( newRow == True ) : #NEWLINE# #INDENT# self . newRow ( ) #NEWLINE# #UNINDENT# if ( indent == True ) : #NEWLINE# #INDENT# self . hbox . addSpacing ( indentSpacing ) #NEWLINE# #UNINDENT# spinbox = QtGui . QSpinBox ( ) #NEWLINE# if ( maxValue is not None ) : #NEWLINE# #INDENT# spinbox . setMaximum ( text ) #NEWLINE# #UNINDENT# if ( minValue is not None ) : #NEWLINE# #INDENT# spinbox . setMinimum ( minValue ) #NEWLINE# #UNINDENT# self . addWidget ( QtGui . QLabel ( text ) ) #NEWLINE# self . addWidget ( spinbox ) #NEWLINE# return spinbox