Nice! Thanks! ________________________________________ From: Qt-creator <[email protected]> on behalf of Ziller Eike <[email protected]> Sent: Monday, 21 December 2015 07:41 To: Jason H Cc: qt-creator Subject: Re: [Qt-creator] Class boilerplate builder?
[snip] Hi, not integrated in a wizard, but if you write Q_PROPERTY you can 1. use the snippet to only provide the property type and name and get the rest filled out with defaults, and 2. use Refactor > "Generate missing Q_PROPERTY members” (or Alt+Return) on the Q_PROPERTY to automatically generate the getter, setter, signal, and member variable. Br, Eike -- Eike Ziller, Senior Software Engineer | The Qt Company Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
