| 134 | } |
| 135 | |
| 136 | void |
| 137 | dump_widget_tree () |
| 138 | { |
| 139 | QWidgetList tl_widgets = QApplication::topLevelWidgets (); |
| 140 | |
| 141 | tl::info << tl::to_string (QObject::tr ("Widget tree:")); |
| 142 | for (QWidgetList::const_iterator tl = tl_widgets.begin (); tl != tl_widgets.end (); ++tl) { |
| 143 | if (is_widget (*tl)) { |
| 144 | dump_children (*tl); |
| 145 | } |
| 146 | } |
| 147 | tl::info << ""; |
| 148 | } |
| 149 | |
| 150 | static bool extract_widget_path (tl::Extractor &x, std::string &name, std::string &cls, int &nwidget) |
| 151 | { |
no test coverage detected