1. As a programmer you should know what have you put there

2. You can keep a list of widgets for ecery page and anytime you add a widget, add it to your list.
3. You can use QObject::children() to get a list of children of a widget and then iterate over it and look for widgets (as not all QObjects are widgets).