Python Forum
[PyQt] Newbe question about Print() to PyQt
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyQt] Newbe question about Print() to PyQt
#7
(Dec-19-2017, 12:06 PM)Larz60+ Wrote: In Gui Programming, you 'print' to widgets in different ways, depending on the type of widget.
Almost always passed as an argument.
I don't see anywhere in your code the definition of 'screen'

What kind of widget is being used?

There are many widgets that have text attributes, see: http://doc.qt.io/qt-5/examples-widgets.html

usually to display 'text' the attribute is something like text='value', but not always,

I am not currently using and 'screen' it's all printed to STDOUT. That is why I asked the question, I want to move to either tkinter or PyQt but I don't understand how to post multiple lines to a 'screen' and be able to dynamically update them as things change. All the examples just show a single line of text. I am obviously missing a basic concept here. How do I pass multiple lines of text (as in a for or while loop) to a screen?
Reply


Messages In This Thread
Newbe question about Print() to PyQt - by TimW - Dec-18-2017, 10:32 PM
RE: Newbe question about Print() to PyQt - by TimW - Dec-19-2017, 02:54 AM
RE: Newbe question about Print() to PyQt - by TimW - Dec-19-2017, 05:19 PM
RE: Newbe question about Print() to PyQt - by TimW - Dec-19-2017, 10:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyQt] print an image using PyQt micro 4 2,946 Jan-08-2020, 03:50 PM
Last Post: Denni
  Question regarding python pyqt script cibb 2 2,770 Feb-18-2018, 03:03 AM
Last Post: Raures

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020