07-30-2012 10:43 AM - edited 07-30-2012 10:47 AM
I'm trying to slim down my App.cpp. The idea is to have a class for each Page of the app. This way I wouldn't have functions for each page in the App.cpp (which is getting huge at this point). Common actions and functions would be available via my PageBase class and I would extend that for other custom Pages.
07-30-2012 10:57 AM
When I try this:
Page * page = m_qmlDoc->createRootNode<Page>(); setContent(page->content());
I get these errors:
ERROR:: VisualNode: appendNodeChild: Child already got a parent ERROR:: GroupNode: appendChild: failed to add child node.
08-01-2012 09:32 AM
Note that page should not be extended. It might break compatibility in future. The only extendable class is CustomControl.
08-01-2012 09:37 AM