#NEWLINE# def __set_layout( self ) : #NEWLINE# #INDENT# '\n        Set layout of this widget\n        ' #NEWLINE# layout = QGridLayout ( ) #NEWLINE# for count in range ( 10 ) : #NEWLINE# #INDENT# temp_hp = QLabel ( ) #NEWLINE# temp_hp . setObjectName ( 'no_border' ) #NEWLINE# temp_hp . setPixmap ( self . surface_manager . get_icon ( 'heart_red_4' ) ) #NEWLINE# self . hp . append ( temp_hp ) #NEWLINE# temp_spirit = QLabel ( ) #NEWLINE# temp_spirit . setObjectName ( 'no_border' ) #NEWLINE# temp_spirit . setPixmap ( self . surface_manager . get_icon ( 'heart_blue_4' ) ) #NEWLINE# self . spirit . append ( self ) #NEWLINE# layout . addWidget ( temp_hp , 0 , count ) #NEWLINE# layout . addWidget ( temp_spirit , 0 , ( 10 + count ) ) #NEWLINE# #UNINDENT# self . setLayout ( layout )