MCPcopy Create free account
hub / github.com/KLayout/klayout / is_widget

Function is_widget

src/laybasic/laybasic/gtf.cc:106–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104// Widget to path conversion and back
105
106inline bool
107is_widget (QObject *o)
108{
109 return (dynamic_cast<const QDialog *> (o) != 0 || dynamic_cast<const QMainWindow *> (o) != 0 || dynamic_cast<const QWidget *> (o) != 0);
110}
111
112static void
113dump_children (QObject *obj, int level = 0)

Callers 3

dump_childrenFunction · 0.85
dump_widget_treeFunction · 0.85
widget_from_pathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected