ウィザードの追加
Qt Creator には、クラス、ファイル、プロジェクトを追加するためのウィザードがあります。ウィザード・ディレクトリは、ユーザ設定ディレクトリの templates/wizards/ ディレクトリに作成します。

新しいウィザードを作成するには
- ウィザードの開発中にフィードバックを受け取るために、
-customwizard-verbose引数を指定してQt Creator を起動します。詳細については、詳細出力を参照してください。 - ウィザード開発のヒントで説明されているように、Inspect およびFactory.Reset のアクションにキーボード・ショートカットを設定します。
- ウィザードを含むディレクトリをコピーし、名前を変更します。例えば、
share/qtcreator/templates/wizards/classes/cppを$HOME/.config/QtProject/qtcreator/templates/wizards/classes/mycppとしてコピーします。 - Factory.Reset アクションを使用して、Qt Creator を再起動せずに、File >New File にウィザードを表示させます。
- カスタムウィザードの説明に従って、ウィザード設定ファイル
wizard.jsonを開いて編集します。 idをユニークなものに変更してください。ウィザードは、category内でアルファベット順に ID でソートされます。 ウィザードの位置を指定するには、先頭の文字を使用できます。例えば、B.MyClass。
コマンド・ラインからQt Creator を実行する」および「カスタム・ウィザード」も参照してください 。
Copyright © The Qt Company Ltd. and other contributors. 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.