12.8.  Exercises: Reflection

[ fromfile: reflection-labs.xml id: reflection-labs ]

  1. Write a program that creates instances of the following classes: QSpinBox, QProcess, QTimer, and shows the user a list of properties (and values, for those that can convert to a QString), plus a list of all the method names.

  2. Rewrite a previous GUI application to use invokeMethod() to show() the initial widget from main() instead of using a direct call.