Add getter method for subPages
One has signals when a subPage is added, but not a getter method.
I chose subPage(index) over a method called page(int depth) as the mainUi getter is non-const and potentially selecting it could change the depth.
One has signals when a subPage is added, but not a getter method.
I chose subPage(index) over a method called page(int depth) as the mainUi getter is non-const and potentially selecting it could change the depth.