Files
vpn-dns-gateway/demo/tikzrefinery/documents/assets/design-diagrams/class-view.tex
T
vsun1 27b82c169e
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
Add frozen TikZRefinery demo baseline and build pipeline
2026-11-25 22:46:33 -05:00

24 lines
1.0 KiB
TeX

\begin{tikzpicture}
\node[umlDetail,text width=15cm] {
\textbf{tkrDiagramView}\quad\textit{final; View; extends QGraphicsView}
\nodepart{second}
\textbf{Responsibilities}\\
Fit the scene to the viewport and show fixed editing limits.\\
Paint the background without disturbing item rendering.
\nodepart{third}\ttfamily
\normalfont\textbf{Private attributes}\ttfamily\\
- m\_rectCanvas: QRectF\\
- m\_bFixedBounds: bool = false\\
\normalfont The base view references the scene; it does not own it.
\nodepart{fourth}\ttfamily
\normalfont\textbf{Public operations}\ttfamily\\
+ tkrDiagramView(pScene: QGraphicsScene*, pParent: QWidget* = nullptr)\\
+ setCanvasBounds(rectCanvas: const QRectF\&, bFixedBounds: bool): void\\[3pt]
\normalfont\textbf{Protected overrides}\ttfamily\\
\# drawBackground(pPainter: QPainter*, rectExposed: const QRectF\&): void\\
\# resizeEvent(pEvent: QResizeEvent*): void\\[3pt]
\normalfont\textbf{Private operation}\ttfamily\\
- fitCanvas(): void
};
\end{tikzpicture}