Dec-19-2017, 05:56 AM
(Dec-18-2017, 10:32 PM)TimW Wrote: I don't understand how to "Print()" to a text window.
In PYQT there are different widgets each for input, output display, buttons etc.
There is no print() function.{Print just works on Console}
Though widgets can be used to display text on the screen.
eg-
There's a textBrowser widget, who's setText property can be used to display a string.
textbr = QTextBrowser() textbr.setText("This string will be displayed")If you're having trouble starting with UI designing with PYQT, I recommend using QTDesigner initially. Its simple drag and drop.And then the code can be converted to python.