class DataForm(QtGui.QGroupBox): def __init__(self, parent, task=None): QtGui.QWidget.__init__(self, parent) self.labelHello = QtGui.QLabel(self) self.labelHello.setText("This is My Widget") children = self.children()I 'm trying to get the children in the init of the class.
It' a GroupBox with two text boxes in it.
But it gets no children, returns empty.