Example #1
0
File: help.py Project: 4otaku/tools
    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)
Example #2
0
    def __init__(self, app):
        Window_Text.__init__(self, app)

        self._text.setAlignment(QtCore.Qt.AlignCenter)
Example #3
0
 def __init__(self, app):
     Window_Text.__init__(self, app)