Here is my way, first I notice there is no Type "WindowLook/Group" or "Window/Tree" in the WindowLook theme ,so i think i can't write .layout file for create the control.Instead i use this code as follows
Code: Select all
GroupBox* radioBox = static_cast<GroupBox*>( winManager.createWindow( "GroupBox", "MyGB" ) ) ;
// or
Tree* tree= static_cast<Tree *>( winManager.createWindow( "Tree ", "MyTree" ) ) ;
But it occur error. Why?
In short, i want to use GroupBox and Tree with WindowLook.
Thanks!