C++ Extensions: Reference examples
The code for these examples is used throughout the Extending QML Functionalities using C++ reference documentation, which highlights the main principles demonstrated in each example.
Furthermore, here are additional pages that discuss each example in detail:
- Adding Types
- Object and List Property Types
- Inheritance and Coercion
- Default Property
- Grouped Properties
- Attached Properties
- Signal Support
- Methods Support
- Property Value Source
Note: These examples all print information to the console to demonstrate the concepts presented. Ensure that you are able to view the application output when running these examples. For example, the dbgView tool on Windows can be used to display application output.
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.