![Qt5 C++ GUI Programming Cookbook](https://wfqqreader-1252317822.image.myqcloud.com/cover/790/36698790/b_36698790.jpg)
上QQ阅读APP看书,第一时间看更新
Exposing the QML object pointer to C++
Sometimes, we want to modify the properties of a QML object through C++ scripting, such as changing the text of a label, hiding/showing the widget, or changing its size. Qt's QML engine allows you to register your QML objects to C++ types, which automatically exposes all its properties.