25 lines
1.8 KiB
TeX
25 lines
1.8 KiB
TeX
\begin{tikzpicture}
|
|
\node[umlClass,text width=6.8cm,anchor=north] (api) at (0,0)
|
|
{\guillemotleft interface\guillemotright\\\textbf{tkrShapeProvider}
|
|
\nodepart{second} Qt Core value records; const methods\\No source or UI ownership
|
|
\nodepart{third} + virtual destructor\\+ availableOperations(description)\\+ describePresentation(description)\\+ prepareOperation(request)};
|
|
\node[umlClass,text width=6.8cm,anchor=north] (plugin) at (0,-5.8)
|
|
{\textbf{tkrRectangleShapeProvider}\\\guillemotleft module\guillemotright\ tkr\_rectangle.dll
|
|
\nodepart{second} Stateless; QObject root\\Rectangle presentation and calculations
|
|
\nodepart{third} + availableOperations(description)\\+ describePresentation(description)\\+ prepareOperation(request)};
|
|
\node[umlClass,text width=6.6cm,anchor=north] (store) at (10,0)
|
|
{\textbf{tkrShapePluginStore}
|
|
\nodepart{second} Owns QPluginLoader\\Borrows provider; immutable runtime binding
|
|
\nodepart{third} + tkrShapePluginStore(path = \{\})\\+ provider()\\+ loadResult()\\+ runtimeIdentity()\\+ description()\\+ modulePath()\\\textit{All accessors const; types in source}};
|
|
\node[umlSummary,text width=6.6cm,anchor=north] (scene) at (10,-6.2)
|
|
{\textbf{tkrDiagramScene}
|
|
\nodepart{second} Owns store by value and graphics via Qt\\Copies mapper calibration\\Draws provider descriptions/handles};
|
|
\node[umlSummary,text width=6.6cm,anchor=north] (service) at (10,-10.5)
|
|
{\textbf{tkrEditService}
|
|
\nodepart{second} Borrows provider for each request\\Validates proposals; prepares source edits\\Document retains acceptance authority};
|
|
\draw[umlRealization] (plugin.north)--(api.south);
|
|
\draw[umlAssociation] (store.west)--++(-0.6,0) |- node[above,pos=0.7,font=\footnotesize]{borrows} (api.east);
|
|
\draw[umlComposition] (scene.north)--(store.south);
|
|
\draw[umlDependency] (service.west)--++(-0.8,0) |- (api.south east);
|
|
\end{tikzpicture}
|