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.
16 lines
202 B
C++
16 lines
202 B
C++
#include "component/view/GraphView.h"
|
|
|
|
GraphView::GraphView(ViewLayout* viewLayout)
|
|
: View(viewLayout)
|
|
{
|
|
}
|
|
|
|
GraphView::~GraphView()
|
|
{
|
|
}
|
|
|
|
std::string GraphView::getName() const
|
|
{
|
|
return "GraphView";
|
|
}
|