def setComment(self, msg):
        """Sets the widget text to *msg*

        :param msg: overwrites any existing text with *msg*
        :type msg: str
        """
        self.ui.commentTxtedt.setPlainText(msg)
        # move text cursor to end
        self.ui.commentTxtedt.moveCursor(QtGui.QTextCursor.End)