How find a ui element according name in ui form in qt project
-
Hi:
I develop a mac app in qt on mac,I want seacrh a ui element which named 'body_container', so I search it,the result list show find it in my .ui file,but that is in the xml format,but I want see the ui element in the ui form which I can see the ui element intuitively,is there any way to do this in qt? thanks a lot! -
thanks for your reply!,yes, I can see a tree with all UI objects on the right site (in the object tree).but there is too many UI objects on the right site, so I want get the UI object by search with the UI object's name in the Qt Designer,it seem '⌘F' not work in Qt Designer,so I use the '⌘ Shift F',in the search result list I find the Object name,but it in the ui xml format,not the 'design mode',so how get a UI object by search UI object's name in the ui 'design mode'?,thanks a lot!
-
@Princein Unfortunately the object tree has no filter, in contrast to the properties or the widgets on the left side... So no, I don't see a way to search for now.
Edit: found QTBUG-17663, but the suggested solution Ctrl+F does not work...
-
There's an ongoing patch for the filter - in case someone wants to try: https://codereview.qt-project.org/248574