エディタの色を変更する
テキストエディタ用に、あらかじめ定義されたカラースキームから1つを選択するか、独自のカラースキームを作成することができます。

カラースキームを作成するには:
- 「Preferences 」>「Text Editor 」>「Font & Colors 」>「Copy 」の順に選択します。
- カラースキームの名前を入力し、「OK 」を選択します。
- 「Foreground 」フィールドで、選択したコード要素またはメッセージの色を指定します。
- [Background ] フィールドで、コード要素またはメッセージの背景色を選択します。
「Text 」要素の背景色は、コードエディタの背景色を決定します。
- 「Font 」で、「Bold 」または「Italic 」を選択し、選択したコード要素またはメッセージのテキストを太字または斜体にして書式設定します。
- Underline で、コード要素やメッセージの下線に使用する色とスタイルを選択します。
Qt Creator からコードをコピーすると、プレーンテキスト形式と HTML 形式の両方でコピーされます。HTML 形式では、リッチテキストエディタに貼り付けた際にも構文の強調表示が維持されます。
カラースキームのエクスポートとインポート
配色を他のユーザーと共有するには、XML ファイルとしてエクスポートおよびインポートします。配色をエクスポートするには、[Preferences ] > [Text Editor ] > [Font & Colors ] > [Export] の順に選択し、XML ファイルのファイル名と保存先を指定します。
カラースキームをインポートするには、[Import] を選択し、インポートする XML ファイルを選択します。[Import Color Scheme ] ダイアログの [Color scheme name] 欄に、カラースキームの名前を入力します。

「OK 」を選択すると、そのカラースキームが「Font & Colors 」タブのカラースキーム一覧に追加されます。
「手順: エディタの設定」、「エディタの設定」、および「エディタ」も参照してください 。
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.