|
1 |
| -<mxfile host="Electron" modified="2024-07-30T16:36:34.755Z" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.6.4 Chrome/124.0.6367.207 Electron/30.0.6 Safari/537.36" etag="k-16yr9vJ6ULwAqXtUkk" version="24.6.4" type="device"> |
| 1 | +<mxfile host="Electron" modified="2024-08-06T13:08:42.070Z" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.6.4 Chrome/124.0.6367.207 Electron/30.0.6 Safari/537.36" etag="2MUYOWNRhgzR3xg8WMUV" version="24.6.4" type="device"> |
2 | 2 | <diagram id="6iuWq0UelAJ61aAoiBDy" name="Book Shelf">
|
3 |
| - <mxGraphModel dx="1696" dy="1716" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0"> |
| 3 | + <mxGraphModel dx="1288" dy="1299" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0"> |
4 | 4 | <root>
|
5 | 5 | <mxCell id="0" />
|
6 | 6 | <mxCell id="1" parent="0" />
|
|
97 | 97 | <mxCell id="gvHln3FCuM-_E14BoruI-77" value="+ BookProxyModel(parent: QObject)<div>+ setFilterText(filterText: QString)</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;labelBackgroundColor=none;" parent="gvHln3FCuM-_E14BoruI-74" vertex="1">
|
98 | 98 | <mxGeometry y="34" width="500" height="56" as="geometry" />
|
99 | 99 | </mxCell>
|
100 |
| - <mxCell id="gvHln3FCuM-_E14BoruI-78" value="<div>BookView</div>" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;" parent="1" vertex="1"> |
101 |
| - <mxGeometry x="1050" y="-610" width="400" height="98" as="geometry" /> |
102 |
| - </mxCell> |
103 |
| - <mxCell id="gvHln3FCuM-_E14BoruI-79" value="- tableView: QTableView<div>- model: BookTableModel</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;labelBackgroundColor=none;" parent="gvHln3FCuM-_E14BoruI-78" vertex="1"> |
104 |
| - <mxGeometry y="26" width="400" height="34" as="geometry" /> |
105 |
| - </mxCell> |
106 |
| - <mxCell id="gvHln3FCuM-_E14BoruI-80" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;labelBackgroundColor=none;" parent="gvHln3FCuM-_E14BoruI-78" vertex="1"> |
107 |
| - <mxGeometry y="60" width="400" height="8" as="geometry" /> |
108 |
| - </mxCell> |
109 |
| - <mxCell id="gvHln3FCuM-_E14BoruI-81" value="<div>+ addBook(title: QString, authors: QString, isbn: QString, date: QString)</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;labelBackgroundColor=none;" parent="gvHln3FCuM-_E14BoruI-78" vertex="1"> |
110 |
| - <mxGeometry y="68" width="400" height="30" as="geometry" /> |
111 |
| - </mxCell> |
112 | 100 | <mxCell id="we9DT2KBn4o6eFFRd77e-5" value="<div>MainWindow</div>" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;" vertex="1" parent="1">
|
113 |
| - <mxGeometry x="1670" y="-375" width="500" height="360" as="geometry" /> |
| 101 | + <mxGeometry x="1670" y="-410" width="500" height="310" as="geometry" /> |
114 | 102 | </mxCell>
|
115 |
| - <mxCell id="we9DT2KBn4o6eFFRd77e-6" value="<div>- bookView: BookView</div><div>- bookModel: BookModel</div><div>- menuBar: QMenuBar</div><div>- statusBar: QStatusBar</div><div>- toolBar: QToolBar</div><div>- actionAddBook: QAction</div><div>- actionExportBooks: QAction</div><div>- actionSearchBook: QAction</div><div>- actionCloseApplicationWindow(): QAction</div><div>- lineEditSearch: QLineEdit</div><div>- pushButtonClear: QPushButton</div><div>- proxyModel: BookFilterProxyModel</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;labelBackgroundColor=none;" vertex="1" parent="we9DT2KBn4o6eFFRd77e-5"> |
116 |
| - <mxGeometry y="26" width="500" height="184" as="geometry" /> |
| 103 | + <mxCell id="we9DT2KBn4o6eFFRd77e-6" value="<div><span style="background-color: initial;">- bookModel: BookModel</span><br></div><div>- proxyModel: BookFilterProxyModel</div><div>- bookTableView: QTableView<br></div><div>- actionAddBook: QAction</div><div>- actionExportBooks: QAction</div><div>- actionClose: QAction</div><div>- lineEditSearch: QLineEdit</div><div>- pushButtonClear: QPushButton</div><div><br></div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;labelBackgroundColor=none;" vertex="1" parent="we9DT2KBn4o6eFFRd77e-5"> |
| 104 | + <mxGeometry y="26" width="500" height="134" as="geometry" /> |
117 | 105 | </mxCell>
|
118 | 106 | <mxCell id="we9DT2KBn4o6eFFRd77e-7" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;labelBackgroundColor=none;" vertex="1" parent="we9DT2KBn4o6eFFRd77e-5">
|
119 |
| - <mxGeometry y="210" width="500" height="8" as="geometry" /> |
| 107 | + <mxGeometry y="160" width="500" height="8" as="geometry" /> |
120 | 108 | </mxCell>
|
121 | 109 | <mxCell id="we9DT2KBn4o6eFFRd77e-8" value="<div><div>+ MainWindow(parent: QWidget)</div></div><div>+ ~MainWindow()</div><div><br></div><div>+ setupUI()<div><br></div></div><div>- addBook()</div><div>- exportBooks()</div><div>- clearFilter()</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;labelBackgroundColor=none;" vertex="1" parent="we9DT2KBn4o6eFFRd77e-5">
|
122 |
| - <mxGeometry y="218" width="500" height="142" as="geometry" /> |
| 110 | + <mxGeometry y="168" width="500" height="142" as="geometry" /> |
123 | 111 | </mxCell>
|
124 | 112 | <mxCell id="we9DT2KBn4o6eFFRd77e-9" value="" style="endArrow=diamondThin;endFill=1;endSize=24;html=1;rounded=0;" edge="1" parent="1" source="gvHln3FCuM-_E14BoruI-74" target="we9DT2KBn4o6eFFRd77e-5">
|
125 | 113 | <mxGeometry width="160" relative="1" as="geometry">
|
126 | 114 | <mxPoint x="660" y="-470" as="sourcePoint" />
|
127 | 115 | <mxPoint x="820" y="-470" as="targetPoint" />
|
128 | 116 | </mxGeometry>
|
129 | 117 | </mxCell>
|
130 |
| - <mxCell id="we9DT2KBn4o6eFFRd77e-10" value="" style="endArrow=diamondThin;endFill=1;endSize=24;html=1;rounded=0;" edge="1" parent="1" source="gvHln3FCuM-_E14BoruI-78" target="we9DT2KBn4o6eFFRd77e-5"> |
131 |
| - <mxGeometry width="160" relative="1" as="geometry"> |
132 |
| - <mxPoint x="1340" y="-680" as="sourcePoint" /> |
133 |
| - <mxPoint x="1500" y="-680" as="targetPoint" /> |
134 |
| - </mxGeometry> |
135 |
| - </mxCell> |
136 | 118 | <mxCell id="we9DT2KBn4o6eFFRd77e-11" value="" style="endArrow=diamondThin;endFill=0;endSize=24;html=1;rounded=0;" edge="1" parent="1" source="gvHln3FCuM-_E14BoruI-51" target="gvHln3FCuM-_E14BoruI-74">
|
137 | 119 | <mxGeometry width="160" relative="1" as="geometry">
|
138 | 120 | <mxPoint x="780" y="490" as="sourcePoint" />
|
|
181 | 163 | <mxPoint x="2450" y="10" as="targetPoint" />
|
182 | 164 | </mxGeometry>
|
183 | 165 | </mxCell>
|
| 166 | + <mxCell id="8dgmckmYpp2PSS6kHg5K-3" value="Use" style="endArrow=open;endSize=12;dashed=1;html=1;rounded=0;" edge="1" parent="1" source="gvHln3FCuM-_E14BoruI-65" target="we9DT2KBn4o6eFFRd77e-14"> |
| 167 | + <mxGeometry width="160" relative="1" as="geometry"> |
| 168 | + <mxPoint x="1370" y="70" as="sourcePoint" /> |
| 169 | + <mxPoint x="1530" y="70" as="targetPoint" /> |
| 170 | + </mxGeometry> |
| 171 | + </mxCell> |
184 | 172 | </root>
|
185 | 173 | </mxGraphModel>
|
186 | 174 | </diagram>
|
|
0 commit comments