Description Usage Arguments Details Value Author(s) Examples
Finds a child QObject
by name. Mirrors a function in Qt
that is inaccessible via the ordinary interface because it is a
template.
1 | qfindChild(x, name)
|
x |
The parent |
name |
The name of the child |
This is particularly useful when working with QtDesigner, where objects in the UI file are named.
The child QObject
Michael Lawrence
1 2 3 4 | parent <- Qt$QObject()
child <- Qt$QObject(parent)
child$objectName <- "foo"
qfindChild(parent, "foo")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.