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
#6
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,
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 Larz60+ - Dec-19-2017, 12:06 PM
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,825 Jan-08-2020, 03:50 PM
Last Post: Denni
  Question regarding python pyqt script cibb 2 2,642 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