1
<?xml version="1.0" encoding="utf-8"?>
2
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
5
<title>eric4.Graphics.ApplicationDiagram</title>
9
margin: 0em 1em 10em 1em;
13
h1 { color: white; background: #4FA4FF; }
14
h2 { color: white; background: #4FA4FF; }
15
h3 { color: white; background: #00557F; }
16
h4 { color: white; background: #00557F; }
22
<body><a NAME="top" ID="top"></a>
23
<h1>eric4.Graphics.ApplicationDiagram</h1>
25
Module implementing a dialog showing an imports diagram of the application.
30
<td><a href="#ApplicationDiagram">ApplicationDiagram</a></td>
31
<td>Class implementing a dialog showing an imports diagram of the application.</td>
36
<tr><td>None</td></tr>
39
<a NAME="ApplicationDiagram" ID="ApplicationDiagram"></a>
40
<h2>ApplicationDiagram</h2>
42
Class implementing a dialog showing an imports diagram of the application.
49
<td><a href="#ApplicationDiagram.__init__">ApplicationDiagram</a></td>
52
<td><a href="#ApplicationDiagram.__addPackage">__addPackage</a></td>
53
<td>Private method to add a package to the diagram.</td>
55
<td><a href="#ApplicationDiagram.__buildModulesDict">__buildModulesDict</a></td>
56
<td>Private method to build a dictionary of modules contained in the application.</td>
58
<td><a href="#ApplicationDiagram.__buildPackages">__buildPackages</a></td>
59
<td>Private method to build the packages shapes of the diagram.</td>
61
<td><a href="#ApplicationDiagram.__createAssociations">__createAssociations</a></td>
62
<td>Private method to generate the associations between the package shapes.</td>
64
<td><a href="#ApplicationDiagram.relayout">relayout</a></td>
65
<td>Method to relayout the diagram.</td>
67
<td><a href="#ApplicationDiagram.show">show</a></td>
68
<td>Overriden method to show the dialog.</td>
71
<p><a NAME="ApplicationDiagram.__init__" ID="ApplicationDiagram.__init__"></a>
72
<h4>ApplicationDiagram (Constructor)</h4>
73
<b>ApplicationDiagram</b>(<i>project, parent = None, name = None, noModules = False</i>)
77
<dt><i>project</i></dt>
79
reference to the project object
80
</dd><dt><i>parent</i></dt>
82
parent widget of the view (QWidget)
83
</dd><dt><i>name</i></dt>
85
name of the view widget (QString or string)
86
</dd><dt><i>noModules=</i></dt>
88
flag indicating, that no module names should be
91
</dl><a NAME="ApplicationDiagram.__addPackage" ID="ApplicationDiagram.__addPackage"></a>
92
<h4>ApplicationDiagram.__addPackage</h4>
93
<b>__addPackage</b>(<i>name, modules, x, y</i>)
95
Private method to add a package to the diagram.
99
package name to be shown (string)
100
</dd><dt><i>modules</i></dt>
102
list of module names contained in the package
104
</dd><dt><i>x</i></dt>
107
</dd><dt><i>y</i></dt>
111
</dl><a NAME="ApplicationDiagram.__buildModulesDict" ID="ApplicationDiagram.__buildModulesDict"></a>
112
<h4>ApplicationDiagram.__buildModulesDict</h4>
113
<b>__buildModulesDict</b>(<i></i>)
115
Private method to build a dictionary of modules contained in the application.
119
dictionary of modules contained in the application.
121
</dl><a NAME="ApplicationDiagram.__buildPackages" ID="ApplicationDiagram.__buildPackages"></a>
122
<h4>ApplicationDiagram.__buildPackages</h4>
123
<b>__buildPackages</b>(<i></i>)
125
Private method to build the packages shapes of the diagram.
126
</p><a NAME="ApplicationDiagram.__createAssociations" ID="ApplicationDiagram.__createAssociations"></a>
127
<h4>ApplicationDiagram.__createAssociations</h4>
128
<b>__createAssociations</b>(<i>shapes</i>)
130
Private method to generate the associations between the package shapes.
132
<dt><i>shapes</i></dt>
136
</dl><a NAME="ApplicationDiagram.relayout" ID="ApplicationDiagram.relayout"></a>
137
<h4>ApplicationDiagram.relayout</h4>
138
<b>relayout</b>(<i></i>)
140
Method to relayout the diagram.
141
</p><a NAME="ApplicationDiagram.show" ID="ApplicationDiagram.show"></a>
142
<h4>ApplicationDiagram.show</h4>
145
Overriden method to show the dialog.
147
<div align="right"><a href="#top">Up</a></div>
b'\\ No newline at end of file'