字体和颜色

要设置编辑器字体和颜色,请选择首选项>Text Editor >Font & Colors

文本编辑器首选项中的 "字体和颜色 "选项卡

配置字体

您可以选择字体系列和大小。您可以指定查看文本的缩放设置(百分比)。按下Ctrl++Ctrl + -,或按下Ctrl键并上下滚动鼠标键,也可以放大或缩小。要禁用鼠标滚轮功能,请选择首选项>Text Editor >Behavior ,然后清除Enable scroll wheel zooming 复选框。

要提高编辑器中文本的可读性,请在Line spacing 字段中调整行距。

默认情况下会使用抗锯齿功能,使文字在屏幕上看起来更流畅、更易读。清除Antialias 复选框可关闭抗锯齿。

另请参阅 行为更改编辑器颜色

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.