本页内容

配置编辑器

操作指南:配置编辑器

设置编辑器首选项。

要设置编辑器的字体和颜色,请选择“Preferences ” > “Text Editor ” > “Font & Colors ”。

“文本编辑器”偏好设置中的“字体与颜色”选项卡

配置字体

您可以选择字体家族和字号。您可以以百分比形式指定缩放设置来查看文本。您还可以通过按Ctrl++Ctrl + -,或者在按住Ctrl 键的同时滚动鼠标滚轮来放大或缩小。若要禁用鼠标滚轮功能,请选择“Preferences ”>“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.