Python Forum
Ho can I get the first parent of a class?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ho can I get the first parent of a class?
#3
Thanks, that's gonna help me a lot!

Now, how about another case:
In QT Designer I make a form.
This is the container of all and will be: a QDialog or a QWidget or a QMainWindow.

I put 2 QGroupBox-es in it, QG1, QG2.
QG1 & QG2 can easily access the form by self.parent().

I put another groupbox, QG3, in QG2.
How can QG3 access the form?

(not with self.parent().parent())
Reply


Messages In This Thread
RE: Ho can I get the first parent of a class? - by panoss - Jan-10-2017, 08:10 AM

Forum Jump:

User Panel Messages

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