Hi,
That's because these classes are no widgets, there are used to build the UI.
In you code snippet, you would use self.nextui.hide() to hide the widget that was created with the help of Registration.Ui_Registration. That is the same for all the widgets you created that way.