C++クラスの作成
C++ プロジェクトに追加できる新しいクラスの C++ ヘッダーファイルおよびソースファイルを作成するには:
- 「File 」>「New File 」>「C/C++ 」>「C++ Class 」>「Choose 」の順に選択します。
- クラス名、基底クラス、およびそのクラスのヘッダーファイルとソースファイルを指定します。

このウィザードは名前空間に対応しています。名前空間を使用するには、「Class name 」フィールドに完全修飾クラス名を入力してください。例:MyNamespace::MySubNamespace::MyClass 。入力中に、ウィザードが既存の名前空間やクラス名を候補として表示します。
独自のプロジェクトおよびクラスウィザードを作成することもできます。
「ファイルの追加」、「C++ ファイルの命名設定」、「プロジェクトウィザードの使用」、および「カスタムウィザード」も参照してください 。
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.