def __init__(self, parent=None):
        """Create a new CommentWidget

        :param parent: widget parent
        :type parent: QtGui.QWidget
        :raises: None
        """
        super(CommentWidget, self).__init__(parent)
        self.setupUi(self)
        self.setFrameShadow(self.Sunken)
        self.setFrameStyle(self.StyledPanel)
        self.setFrameShadow(self.Sunken)

        user_pix = get_icon('glyphicons_003_user.png', aspix=True)
        self.user_lb.setPixmap(user_pix)
def __init__ ( self , parent = None ) : super ( CommentWidget , self ) . __init__ ( parent ) self . setupUi ( self ) self . setFrameShadow ( self . Sunken ) self . setFrameStyle ( self . StyledPanel ) self . setFrameShadow ( self . Sunken ) user_pix = get_icon ( 'glyphicons_003_user.png' , aspix = True ) self . user_lb . setPixmap ( user_pix )
Create a new CommentWidget

        :param parent: widget parent
        :type parent: QtGui.QWidget
        :raises: None