Qt Creator仿VA for VS2012的scheme

来源:互联网 发布:网络诈骗举报平台 编辑:程序博客网 时间:2024/05/13 14:11

Qt Creator仿VA for VS2012的scheme

转自
http://www.qtcn.org/bbs/read-htm-tid-54758.html

自己动手对着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>
原创粉丝点击