#NEWLINE# def __init__( self , parent = None , gm = None ) : #NEWLINE# #INDENT# QtGui . QScrollArea . __init__ ( self , parent ) #NEWLINE# vbox = QtGui . QVBoxLayout ( ) #NEWLINE# frame = QFramedWidget ( ) #NEWLINE# markerTypes = [ 'dot' , 'plus' , 'star' , 'circle' , 'cross' , 'diamond' , 'triangle_up' , 'triangle_down' , 'triangle_left' , 'triangle_right' , 'square' , 'diamond_fill' , 'triangle_up_fill' , 'triangle_down_fill' , 'triangle_left_fill' , 'triangle_right_fill' , 'square_fill' ] #NEWLINE# self . markerType = frame . addLabeledComboBox ( 'Scatter Marker Type:' , gm , indent = False ) #NEWLINE# self . colorIndex = frame . addLabeledSpinBox ( 'Scatter Marker Color Index' , 0 , 255 , indent = False ) #NEWLINE# self . markerSize = frame . addLabeledSpinBox ( 'Scatter Marker Size' , 1 , 300 , indent = False ) #NEWLINE# self . initValues ( ) #NEWLINE# self . markerType . setToolTip ( 'Select the scatter marker type. ' ) #NEWLINE# self . colorIndex . setToolTip ( 'Select the scatter marker color index. ' ) #NEWLINE# self . markerSize . setToolTip ( 'Select the scatter marker size. ' ) #NEWLINE# vbox . addWidget ( frame ) #NEWLINE# vbox . setAlignment ( frame , QtCore . Qt . AlignTop ) #NEWLINE# widgetWrapper = QtGui . QWidget ( ) #NEWLINE# widgetWrapper . setMinimumWidth ( 580 ) #NEWLINE# widgetWrapper . setLayout ( vbox ) #NEWLINE# self . setWidget ( widgetWrapper )