'Set the frame pen. By default Qt.NoPen is used (i.e. the frame
is not shown).'

def setFramePen(self, pen):

    if (pen != self.__framePen):
        self.__framePen = QPen(pen)
        self.__updateFrameStyle()
