53 </table> |
53 </table> |
54 <h3>Methods</h3> |
54 <h3>Methods</h3> |
55 <table> |
55 <table> |
56 <tr> |
56 <tr> |
57 <td><a href="#ApplicationDiagram.__init__">ApplicationDiagram</a></td> |
57 <td><a href="#ApplicationDiagram.__init__">ApplicationDiagram</a></td> |
58 <td>Constructor</td> |
58 <td>Constructor</td> |
59 </tr><tr> |
59 </tr><tr> |
60 <td><a href="#ApplicationDiagram.__addPackage">__addPackage</a></td> |
60 <td><a href="#ApplicationDiagram.__addPackage">__addPackage</a></td> |
61 <td>Private method to add a package to the diagram.</td> |
61 <td>Private method to add a package to the diagram.</td> |
62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#ApplicationDiagram.__buildModulesDict">__buildModulesDict</a></td> |
63 <td><a href="#ApplicationDiagram.__buildModulesDict">__buildModulesDict</a></td> |
64 <td>Private method to build a dictionary of modules contained in the application.</td> |
64 <td>Private method to build a dictionary of modules contained in the application.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#ApplicationDiagram.__buildPackages">__buildPackages</a></td> |
66 <td><a href="#ApplicationDiagram.__buildPackages">__buildPackages</a></td> |
67 <td>Private method to build the packages shapes of the diagram.</td> |
67 <td>Private method to build the packages shapes of the diagram.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#ApplicationDiagram.__createAssociations">__createAssociations</a></td> |
69 <td><a href="#ApplicationDiagram.__createAssociations">__createAssociations</a></td> |
70 <td>Private method to generate the associations between the package shapes.</td> |
70 <td>Private method to generate the associations between the package shapes.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#ApplicationDiagram.relayout">relayout</a></td> |
72 <td><a href="#ApplicationDiagram.relayout">relayout</a></td> |
73 <td>Method to relayout the diagram.</td> |
73 <td>Method to relayout the diagram.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#ApplicationDiagram.show">show</a></td> |
75 <td><a href="#ApplicationDiagram.show">show</a></td> |
76 <td>Overriden method to show the dialog.</td> |
76 <td>Overriden method to show the dialog.</td> |
77 </tr> |
77 </tr> |
78 </table> |
78 </table> |
79 <a NAME="ApplicationDiagram.__init__" ID="ApplicationDiagram.__init__"></a> |
79 <a NAME="ApplicationDiagram.__init__" ID="ApplicationDiagram.__init__"></a> |
80 <h4>ApplicationDiagram (Constructor)</h4> |
80 <h4>ApplicationDiagram (Constructor)</h4> |
81 <b>ApplicationDiagram</b>(<i>project, parent = None, name = None, noModules = False</i>) |
81 <b>ApplicationDiagram</b>(<i>project, parent = None, name = None, noModules = False</i>) |
82 <p> |
82 <p> |
83 Constructor |
83 Constructor |
84 </p><dl> |
84 </p><dl> |
85 <dt><i>project</i></dt> |
85 <dt><i>project</i></dt> |
86 <dd> |
86 <dd> |
87 reference to the project object |
87 reference to the project object |
88 </dd><dt><i>parent</i></dt> |
88 </dd><dt><i>parent</i></dt> |
89 <dd> |
89 <dd> |
90 parent widget of the view (QWidget) |
90 parent widget of the view (QWidget) |
91 </dd><dt><i>name</i></dt> |
91 </dd><dt><i>name</i></dt> |
92 <dd> |
92 <dd> |
93 name of the view widget (string) |
93 name of the view widget (string) |
94 </dd><dt><i>noModules=</i></dt> |
94 </dd><dt><i>noModules=</i></dt> |
95 <dd> |
95 <dd> |
96 flag indicating, that no module names should be |
96 flag indicating, that no module names should be |
97 shown (boolean) |
97 shown (boolean) |
98 </dd> |
98 </dd> |
99 </dl><a NAME="ApplicationDiagram.__addPackage" ID="ApplicationDiagram.__addPackage"></a> |
99 </dl><a NAME="ApplicationDiagram.__addPackage" ID="ApplicationDiagram.__addPackage"></a> |
100 <h4>ApplicationDiagram.__addPackage</h4> |
100 <h4>ApplicationDiagram.__addPackage</h4> |
101 <b>__addPackage</b>(<i>name, modules, x, y</i>) |
101 <b>__addPackage</b>(<i>name, modules, x, y</i>) |
102 <p> |
102 <p> |
103 Private method to add a package to the diagram. |
103 Private method to add a package to the diagram. |
104 </p><dl> |
104 </p><dl> |
105 <dt><i>name</i></dt> |
105 <dt><i>name</i></dt> |
106 <dd> |
106 <dd> |
107 package name to be shown (string) |
107 package name to be shown (string) |
108 </dd><dt><i>modules</i></dt> |
108 </dd><dt><i>modules</i></dt> |
109 <dd> |
109 <dd> |
110 list of module names contained in the package |
110 list of module names contained in the package |
111 (list of strings) |
111 (list of strings) |
112 </dd><dt><i>x</i></dt> |
112 </dd><dt><i>x</i></dt> |
113 <dd> |
113 <dd> |
114 x-coordinate (float) |
114 x-coordinate (float) |
115 </dd><dt><i>y</i></dt> |
115 </dd><dt><i>y</i></dt> |
116 <dd> |
116 <dd> |
117 y-coordinate (float) |
117 y-coordinate (float) |
118 </dd> |
118 </dd> |
119 </dl><a NAME="ApplicationDiagram.__buildModulesDict" ID="ApplicationDiagram.__buildModulesDict"></a> |
119 </dl><a NAME="ApplicationDiagram.__buildModulesDict" ID="ApplicationDiagram.__buildModulesDict"></a> |
120 <h4>ApplicationDiagram.__buildModulesDict</h4> |
120 <h4>ApplicationDiagram.__buildModulesDict</h4> |
121 <b>__buildModulesDict</b>(<i></i>) |
121 <b>__buildModulesDict</b>(<i></i>) |
122 <p> |
122 <p> |
123 Private method to build a dictionary of modules contained in the application. |
123 Private method to build a dictionary of modules contained in the application. |
124 </p><dl> |
124 </p><dl> |
125 <dt>Returns:</dt> |
125 <dt>Returns:</dt> |
126 <dd> |
126 <dd> |
127 dictionary of modules contained in the application. |
127 dictionary of modules contained in the application. |
128 </dd> |
128 </dd> |
129 </dl><a NAME="ApplicationDiagram.__buildPackages" ID="ApplicationDiagram.__buildPackages"></a> |
129 </dl><a NAME="ApplicationDiagram.__buildPackages" ID="ApplicationDiagram.__buildPackages"></a> |
130 <h4>ApplicationDiagram.__buildPackages</h4> |
130 <h4>ApplicationDiagram.__buildPackages</h4> |
131 <b>__buildPackages</b>(<i></i>) |
131 <b>__buildPackages</b>(<i></i>) |
132 <p> |
132 <p> |
133 Private method to build the packages shapes of the diagram. |
133 Private method to build the packages shapes of the diagram. |
134 </p><a NAME="ApplicationDiagram.__createAssociations" ID="ApplicationDiagram.__createAssociations"></a> |
134 </p><a NAME="ApplicationDiagram.__createAssociations" ID="ApplicationDiagram.__createAssociations"></a> |
135 <h4>ApplicationDiagram.__createAssociations</h4> |
135 <h4>ApplicationDiagram.__createAssociations</h4> |
136 <b>__createAssociations</b>(<i>shapes</i>) |
136 <b>__createAssociations</b>(<i>shapes</i>) |
137 <p> |
137 <p> |
138 Private method to generate the associations between the package shapes. |
138 Private method to generate the associations between the package shapes. |
139 </p><dl> |
139 </p><dl> |
140 <dt><i>shapes</i></dt> |
140 <dt><i>shapes</i></dt> |
141 <dd> |
141 <dd> |
142 list of shapes |
142 list of shapes |
143 </dd> |
143 </dd> |
144 </dl><a NAME="ApplicationDiagram.relayout" ID="ApplicationDiagram.relayout"></a> |
144 </dl><a NAME="ApplicationDiagram.relayout" ID="ApplicationDiagram.relayout"></a> |
145 <h4>ApplicationDiagram.relayout</h4> |
145 <h4>ApplicationDiagram.relayout</h4> |
146 <b>relayout</b>(<i></i>) |
146 <b>relayout</b>(<i></i>) |
147 <p> |
147 <p> |
148 Method to relayout the diagram. |
148 Method to relayout the diagram. |
149 </p><a NAME="ApplicationDiagram.show" ID="ApplicationDiagram.show"></a> |
149 </p><a NAME="ApplicationDiagram.show" ID="ApplicationDiagram.show"></a> |
150 <h4>ApplicationDiagram.show</h4> |
150 <h4>ApplicationDiagram.show</h4> |
151 <b>show</b>(<i></i>) |
151 <b>show</b>(<i></i>) |
152 <p> |
152 <p> |
153 Overriden method to show the dialog. |
153 Overriden method to show the dialog. |
154 </p> |
154 </p> |
155 <div align="right"><a href="#top">Up</a></div> |
155 <div align="right"><a href="#top">Up</a></div> |
156 <hr /> |
156 <hr /> |
157 </body></html> |
157 </body></html> |