This change adds the class GraphViewStyle that holds all values for defining the style of Nodes and Edges in the Graph. The GraphViewStyleImpl interface and the QtGraphViewStyleImpl implementation are used to request Qt specific metrics, like the charwidth of used fonts. This change includes the following fixes: * aggregation number always in the middle between nodes * darker color for aggregation edge * split off QGraphicsLineItem implementations from QtGraphEdge * fixed some colors in color scheme fortune cookie message = Sorge dich nicht! Du wirst bekommen was du brauchst.
117 lines
3.0 KiB
XML
117 lines
3.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- BOOL: 0, 1 -->
|
|
<!-- INTEGER: int e.g 123 -->
|
|
<!-- DECIMAL: float e.g 123.456 -->
|
|
<!-- STRING: string e.g hello -->
|
|
<!-- COLOR: int int int int - rgba e.g. 125 125 125 255 -->
|
|
|
|
<config>
|
|
<StartupProject><!-- STRING: path to project settings xml file --></StartupProject>
|
|
|
|
<FilterUndefinedNodesFromGraph><!-- BOOL: filter out undefined nodes in graph --></FilterUndefinedNodesFromGraph>
|
|
|
|
<source>
|
|
<CompilerFlags>
|
|
<CompilerFlag><!-- STRING: compiler flag, including the dash e.g. -v --></CompilerFlag>
|
|
</CompilerFlags>
|
|
|
|
<HeaderSearchPaths>
|
|
<HeaderSearchPath><!-- STRING: header search path for each path a HeaderSearchPath element --></HeaderSearchPath>
|
|
</HeaderSearchPaths>
|
|
|
|
<!-- MAC ONLY -->
|
|
<FrameworkSearchPaths>
|
|
<FrameworkSearchPath><!-- STRING: framework search path --></FrameworkSearchPath>
|
|
</FrameworkSearchPaths>
|
|
</source>
|
|
|
|
<code>
|
|
<TabWidth><!-- INTEGER: number of spaces to represent a tab in code files --></TabWidth>
|
|
|
|
<FontName><!-- STRING: name of the font used for source view --></FontName> <!-- DEPRECATED -->
|
|
<FontSize><!-- INTEGER: size of the font in the source view --></FontSize> <!-- DEPRECATED -->
|
|
|
|
<LinkColor><!-- COLOR: color of clickable elements in the source view --></LinkColor>
|
|
<ScopeColor><!-- COLOR: color of clickable scopes in the source view --></ScopeColor>
|
|
<ActiveLinkColor><!-- COLOR: color of active elements or scopes in the source view --></ActiveLinkColor>
|
|
</code>
|
|
|
|
<colors>
|
|
<!-- QueryNodeType -->
|
|
<command>
|
|
<normal>#FFE47A</normal>
|
|
<hover>#FFCC00</hover>
|
|
</command>
|
|
<operator>
|
|
<normal>#FCA47E</normal>
|
|
<hover>#F97A4E</hover>
|
|
</operator>
|
|
<!-- NodeType -->
|
|
<class>
|
|
<normal>#ededed</normal>
|
|
<hover>#ededed</hover>
|
|
</class>
|
|
<struct>
|
|
<normal>#ededed</normal>
|
|
<hover>#ededed</hover>
|
|
</struct>
|
|
<enum>
|
|
<normal>#ededed</normal>
|
|
<hover>#ededed</hover>
|
|
</enum>
|
|
<function>
|
|
<normal>#ffe47a</normal>
|
|
<hover>#ffcc00</hover>
|
|
</function>
|
|
<method>
|
|
<normal>#ffe47a</normal>
|
|
<hover>#ffcc00</hover>
|
|
</method>
|
|
<field>
|
|
<normal>#9ab4ad</normal>
|
|
<hover>#62b29d</hover>
|
|
</field>
|
|
<global>
|
|
<normal>#9ab4ad</normal>
|
|
<hover>#62b29d</hover>
|
|
</global>
|
|
<undefined>
|
|
<normal>#00000000</normal>
|
|
<hover>#00000000</hover>
|
|
</undefined>
|
|
<undefined_variable>
|
|
<normal>#9ab4ad</normal>
|
|
<hover>#62b29d</hover>
|
|
</undefined_variable>
|
|
<undefined_function>
|
|
<normal>#ffe47a</normal>
|
|
<hover>#ffcc00</hover>
|
|
</undefined_function>
|
|
<undefined_type>
|
|
<normal>#ededed</normal>
|
|
<hover>#ededed</hover>
|
|
</undefined_type>
|
|
<namespace>
|
|
<normal>#00000000</normal>
|
|
<hover>#00000000</hover>
|
|
</namespace>
|
|
<typedef>
|
|
<normal>#ededed</normal>
|
|
<hover>#ededed</hover>
|
|
</typedef>
|
|
<enum_constant>
|
|
<normal>#9ab4ad</normal>
|
|
<hover>#62b29d</hover>
|
|
</enum_constant>
|
|
<template_parameter_type>
|
|
<normal>#ededed</normal>
|
|
<hover>#ededed</hover>
|
|
</template_parameter_type>
|
|
<file>
|
|
<normal>#A3BA8A</normal>
|
|
<hover>#87BA50</hover>
|
|
</file>
|
|
</colors>
|
|
</config>
|