thanks for your reply.
I don't think this will work for my intentions.I only need to add one item to the scene, the others are parented off the first one. Only the first one is added to the scene.
For example: This SQUARE item is a window, the CIRCLES are the buttons/icons on that window. The circles have their own implementation to accept mouse buttons, painting, and effects when the button is pressed.
I would like to have a separate file 'window1.cpp' which has the SQUARE item. The main scene/view file is getting quite large and confusing with all the CIRCLE items I have. I would like the window properties in a separate file.
The scene would just simplying addItem->SQUARE. Without the overhead of the window implementation.
Thanks.




Reply With Quote




Bookmarks