Python Forum
Simple printing the text for a QLineEdit
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple printing the text for a QLineEdit
#14
Thanks for the detailed explanation deanhystad. Truth is I have read and viewed videos on classes and subclasses but I was under the impression a subclass not only inherited methods but also all objects and variables within the parent class.

I'm going to have to read your post a few times to make sure I fully understand but basically:

A subclass only inherits the methods(functions within the parent class or inherited class).

or if an outside function(function outside of a class) calls a class, again only inherits the methods of the class being called.

Sometimes it reads like you're referring to an outside function as a subclass in your posts. I may be getting terms mixed up. If an outside function calls a class is it considered a "subclass"?

Just read about the help function and think could help clarify some things.

At this point I think the problem is somewhere in my sql statement since I can print the textboxes clicking the button now but when I try calling the variables I set for them in the sql statement the app just bombs out and closes without any errors.
Reply


Messages In This Thread
RE: Simple printing the text for a QLineEdit - by thewolf - Mar-06-2021, 02:06 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyQt] QLineEdit Caret (Text Cursor) Transparency malonn 5 2,839 Nov-04-2022, 09:04 PM
Last Post: malonn
  How to accept only float number in QLineEdit input ism 5 28,505 Jul-06-2021, 05:23 PM
Last Post: deanhystad
  PyQt5: How to retrieve a QLineEdit by its name ? arbiel 4 7,931 Oct-21-2020, 02:35 PM
Last Post: arbiel
  Two QlineEdit box, which interrelated GMCobraz 1 2,436 Aug-14-2020, 07:15 PM
Last Post: deanhystad
  [PyQt] Dynamically add and remove QLineEdit's GMCobraz 3 7,184 Jun-23-2020, 07:01 PM
Last Post: Yoriz
  prompt for input in qlineedit GMCobraz 3 3,233 Jun-22-2020, 01:51 PM
Last Post: GMCobraz
  [PyQt] display content from left to right in QComboBox or QLineEdit mart79 2 2,331 May-30-2020, 04:38 PM
Last Post: Axel_Erfurt
  How to loop through all QLineEdit widgets on a form JayCee 6 6,727 Apr-03-2020, 12:15 AM
Last Post: JayCee
  [PyQt] How to clear multiple Qlineedit in a loop mart79 6 7,777 Aug-15-2019, 02:37 PM
Last Post: Denni
  How to validate multiple QLineEdit widgets without addressing them separately? mart79 3 4,275 Aug-08-2019, 12:50 PM
Last Post: Denni

Forum Jump:

User Panel Messages

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