I have a widget that (for example) wants to move child widgets without moving itself. It'd be grand if this were done without explicitly knowing the child. I.E. the widget A is a container and has a widget B placed into it (making B a child of A.) I wish to have widget B move when A.Event happens.
It looks like in QObject the findChildren would work. I need a list of *all of the children.* So I assume I should pass a regular expression that allows everything; maybe:Qt Code:
//formatted to separate the reg exp for you WidgetA->findChildren( ) );To copy to clipboard, switch view to plain text mode
I guess I'm looking to verify that this is the correct idea and that the reg-exp is correct;
Thanks for any help!
Bookmarks