• 8521阅读
  • 7回复

Qt Creator仿VA for VS2012的scheme [复制链接]

上一主题 下一主题
离线techlong
 

只看楼主 倒序阅读 楼主  发表于: 2013-08-16
— 本帖被 XChinux 从 Qt安装与发布 移动到本区(2013-08-16) —

自己动手对着VS取色编辑的,有些地方我加了斜体效果,不喜欢可以自己去掉效果如图




配置文件如下,以UTF-8格式保存为XML放到QtCreator\share\qtcreator\styles下就可以用了,Qt5.1.0默认是C:\Qt\Qt5.1.0\Tools\QtCreator\share\qtcreator\styles



<?xml version="1.0" encoding="UTF-8"?>
<style-scheme version="1.0" name="Visual Studio">
  <style name="Text" foreground="#e6e5e2" background="#1e1e1e"/>
  <style name="Link" foreground="#66d9ef"/>
  <style name="Selection" background="#264f78"/>
  <style name="LineNumber" foreground="#2b91af" background="#272822"/>
  <style name="SearchResult" foreground="#ffffff" background="#2572b8"/>
  <style name="SearchScope" foreground="#000000" background="#e2efff"/>
  <style name="Parentheses" foreground="#b4b4b4" background="#264f78"/>
  <style name="CurrentLine" background="#0f0f0f"/>
  <style name="CurrentLineNumber" foreground="#a0a19c" background="#3e3d32"/>
  <style name="Occurrences" foreground="#000000" background="#b4b4b4"/>
  <style name="Occurrences.Unused" foreground="#ff0000"/>
  <style name="Occurrences.Rename" foreground="#000000" background="#ff6464"/>
  <style name="Number" foreground="#b5cea8"/>
  <style name="String" foreground="#d69d85"/>
  <style name="Type" foreground="#ffd700"/>
  <style name="Local" foreground="#bdb76b"/>
  <style name="Field" foreground="#c8c8c8"/>
  <style name="Static" foreground="#66d9ef"/>
  <style name="VirtualMethod" foreground="#ff8000" italic="true"/>
  <style name="Function" foreground="#ff8000"/>
  <style name="Keyword" foreground="#569cd6" italic="true"/>
  <style name="Operator" foreground="#b4b4b4"/>
  <style name="Preprocessor" foreground="#9b9b9b" italic="true"/>
  <style name="Label" foreground="#800000"/>
  <style name="Comment" foreground="#608b4e"/>
  <style name="Doxygen.Comment" foreground="#808080" italic="true"/>
  <style name="Doxygen.Tag" foreground="#808080" bold="true" italic="true"/>
  <style name="VisualWhitespace" foreground="#3e3d32"/>
  <style name="QmlLocalId" italic="true"/>
  <style name="QmlExternalId" foreground="#aaaaff" italic="true"/>
  <style name="QmlTypeId" foreground="#ff8bff"/>
  <style name="QmlRootObjectProperty" italic="true"/>
  <style name="QmlScopeObjectProperty" italic="true"/>
  <style name="QmlExternalObjectProperty" foreground="#aaaaff" italic="true"/>
  <style name="JsScopeVar" foreground="#bdb76b" />
  <style name="JsImportVar" foreground="#8888ff" />
  <style name="JsGlobalVar" foreground="#ff8000" />
  <style name="QmlStateName" italic="true"/>
  <style name="Binding" foreground="#ff5555"/>
  <style name="DisabledCode" foreground="#75715e"/>
  <style name="AddedLine" foreground="#3875d7"/>
  <style name="RemovedLine" foreground="#ff0000"/>
  <style name="DiffFile" foreground="#a6e22e"/>
  <style name="DiffLocation" foreground="#0000ff"/>
</style-scheme>







离线jdwx

只看该作者 1楼 发表于: 2013-08-16
先顶!
一会试试看。
发帖时要说明:操作系统、Qt版本、编译器,这样能更快的得到回复。
离线realfan

只看该作者 2楼 发表于: 2013-08-16
这个配色不错
离线祥龙九霄

只看该作者 3楼 发表于: 2013-08-16
很牛 就是颜色太亮了
离线realfan

只看该作者 4楼 发表于: 2013-08-17
已经用上了,感觉很舒服。
离线neil-wen

只看该作者 5楼 发表于: 2013-08-18
感觉不错
离线woniu600

只看该作者 6楼 发表于: 2013-08-18
没有白色配色么
离线skykingf

只看该作者 7楼 发表于: 2013-08-24
背景色怎么改成白色的?
快速回复
限100 字节
 
上一个 下一个