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())
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())