def get_page(self, index=None):
        """Return page widget"""
        if index is None:
            widget = self.pages_widget.currentWidget()
        else:
            widget = self.pages_widget.widget(index)
        return widget.widget()
def get_page ( self , index = None ) : if index is None : widget = self . pages_widget . currentWidget ( ) else : widget = self . pages_widget . widget ( index ) return widget . widget ( )
Return page widget