Files
vpn-dns-gateway/demo/tikzrefinery/documents/assets/design-diagrams/current-sidebar-classes.tex
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

38 lines
2.1 KiB
TeX

% Implemented 0.1.3-alpha shell; the shared catalogue/service refactor is separate.
\begin{tikzpicture}
\node[umlSummary,text width=7.2cm,anchor=north] (window) at (-6,0) {
\hyperref[Section:ClassMainWindow]{\textbf{tkrMainWindow}}\\\textit{QMainWindow; final}
\nodepart{second} Own sidebar through central Qt widget tree.\\
Resize the outer splitter on width requests.\\
Reuse the existing guarded Open method.};
\node[umlClass,text width=8.0cm,anchor=north] (sidebar) at (6,0) {
\textbf{tkrWorkspaceSidebar}\\\textit{QWidget; final}
\nodepart{second} Collapsed flag; Shapes/Files page; expanded width.\\
Own icon strip, heading and stacked pages.
\nodepart{third} + setCollapsed(bool); isCollapsed()\\
+ activatePage(Page); selectedPage(); expandedWidth()\\
+ setProviderDescription(QString, bool)\\
\textit{Signals:} widthRequested(int); openDocumentRequested()\\
\# resizeEvent(QResizeEvent*) [override]};
\node[umlClass,text width=6.8cm,anchor=north] (palette) at (-6,-8) {
\textbf{tkrShapePalette}\\\textit{QWidget; final}
\nodepart{second} Copy current rectangle provider summary.\\
Show loaded/unavailable status.\\
Creation button remains disabled.
\nodepart{third} + setProviderDescription(QString, bool)\\
\textit{No catalogue or creation operation.}};
\node[umlClass,text width=6.8cm,anchor=north] (files) at (6,-8) {
\textbf{tkrFolderBrowser}\\\textit{QWidget; final}
\nodepart{second} Explain unfinished folder browsing.\\
Offer the existing Open-document flow.\\
Own no folder model or document source.
\nodepart{third} \textit{Signal:} openDocumentRequested()\\
\textit{No working-folder API yet.}};
\draw[umlComposition] (window.east)--++(0.8,0) |- (sidebar.west);
\draw[umlComposition] (sidebar.south west)--++(0,-0.8) -| (palette.north);
\draw[umlComposition] (sidebar.south)--(files.north);
\node[align=center,font=\footnotesize,text width=16cm,anchor=north] at (0,-13.6) {
All three sidebar UI classes inherit QWidget directly. Qt parenting releases the pages with the sidebar/window.\\
The scene still owns its module store; provider summary text is copied, not borrowed.};
\end{tikzpicture}