def __init__(self, app): Window_Text.__init__(self, app) self._text.setFixedHeight(40) self._help = QtGui.QTextBrowser(self.get_box()) self._help.setHtml(self.utf(self.help_text)) self._help.setOpenExternalLinks(True) self._help.setFrameStyle(QtGui.QFrame.NoFrame) self._help.setWordWrapMode(QtGui.QTextOption.WrapAtWordBoundaryOrAnywhere) self._help.setReadOnly(True) self.get_layout().addWidget(self._help, 100)
def __init__(self, app): Window_Text.__init__(self, app) self._text.setAlignment(QtCore.Qt.AlignCenter)
def __init__(self, app): Window_Text.__init__(self, app)