1. How is the list returned by findChildren<QDockWidget*>() sorted?
2. How would you sort the list by window title?
1. How is the list returned by findChildren<QDockWidget*>() sorted?
2. How would you sort the list by window title?
1. Not sure about the order of find children
2. I don't think so there is a ready made way to sort by title in Qt
sorting can be achieved by QMap some thing like QMap<QString, QWidget>
where key is window title & value is your widget then they will get stored & sorted by window title.
Thanks :-)
ravas (17th December 2015)
ravas (17th December 2015)
Bookmarks