View Single Post
Old 01-01-2022, 12:47 PM   #20
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
I'm just going to raise problems as I find them, rather than save them up for a mega post ...

I'm having a few problems with QTextBrowser widgets. Simplifying the sample code to:
Code:
from qt.core import (QTextBrowser, QTextCursor, QTextEdit)
self.browser = QTextBrowser()

self.browser.setLineWrapMode(QTextEdit.NoWrap)
self.browser.setLineWrapMode(QTextEdit.WidgetWidth)
self.browser.moveCursor(QTextCursor.End)
self.browser.moveCursor(QTextCursor.StartOfLine)
I get AttributeError for missing QTextEdit/QTextCursor constants(???) when I try to use any of the last 4 lines. They all work OK in standard v5.34
jackie_w is offline   Reply With Quote