~ubuntu-branches/ubuntu/karmic/eric/karmic

« back to all changes in this revision

Viewing changes to eric/Documentation/Source/eric4.Graphics.ApplicationDiagram.html

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2008-01-28 18:02:25 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080128180225-6nrox6yrworh2c4v
Tags: 4.0.4-1ubuntu1
* Add python-qt3 to build-depends becuase that's where Ubuntu puts 
  pyqtconfig
* Change maintainer to MOTU

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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'>
 
4
<html><head>
 
5
<title>eric4.Graphics.ApplicationDiagram</title>
 
6
<style>
 
7
body {
 
8
    background:white;
 
9
    margin: 0em 1em 10em 1em;
 
10
    color: black;
 
11
}
 
12
 
 
13
h1 { color: white; background: #4FA4FF; }
 
14
h2 { color: white; background: #4FA4FF; }
 
15
h3 { color: white; background: #00557F; }
 
16
h4 { color: white; background: #00557F; }
 
17
    
 
18
a { color: #AA5500; }
 
19
 
 
20
</style>
 
21
</head>
 
22
<body><a NAME="top" ID="top"></a>
 
23
<h1>eric4.Graphics.ApplicationDiagram</h1>
 
24
<p>
 
25
Module implementing a dialog showing an imports diagram of the application.
 
26
</p>
 
27
<h3>Classes</h3>
 
28
<table>
 
29
<tr>
 
30
<td><a href="#ApplicationDiagram">ApplicationDiagram</a></td>
 
31
<td>Class implementing a dialog showing an imports diagram of the application.</td>
 
32
</tr>
 
33
</table>
 
34
<h3>Functions</h3>
 
35
<table>
 
36
<tr><td>None</td></tr>
 
37
</table>
 
38
<hr /><hr />
 
39
<a NAME="ApplicationDiagram" ID="ApplicationDiagram"></a>
 
40
<h2>ApplicationDiagram</h2>
 
41
<p>
 
42
    Class implementing a dialog showing an imports diagram of the application.
 
43
</p>
 
44
<h3>Derived from</h3>
 
45
UMLDialog
 
46
<h3>Methods</h3>
 
47
<table>
 
48
<tr>
 
49
<td><a href="#ApplicationDiagram.__init__">ApplicationDiagram</a></td>
 
50
<td>Constructor</td>
 
51
</tr><tr>
 
52
<td><a href="#ApplicationDiagram.__addPackage">__addPackage</a></td>
 
53
<td>Private method to add a package to the diagram.</td>
 
54
</tr><tr>
 
55
<td><a href="#ApplicationDiagram.__buildModulesDict">__buildModulesDict</a></td>
 
56
<td>Private method to build a dictionary of modules contained in the application.</td>
 
57
</tr><tr>
 
58
<td><a href="#ApplicationDiagram.__buildPackages">__buildPackages</a></td>
 
59
<td>Private method to build the packages shapes of the diagram.</td>
 
60
</tr><tr>
 
61
<td><a href="#ApplicationDiagram.__createAssociations">__createAssociations</a></td>
 
62
<td>Private method to generate the associations between the package shapes.</td>
 
63
</tr><tr>
 
64
<td><a href="#ApplicationDiagram.relayout">relayout</a></td>
 
65
<td>Method to relayout the diagram.</td>
 
66
</tr><tr>
 
67
<td><a href="#ApplicationDiagram.show">show</a></td>
 
68
<td>Overriden method to show the dialog.</td>
 
69
</tr>
 
70
</table>
 
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>)
 
74
<p>
 
75
        Constructor
 
76
</p><dl>
 
77
<dt><i>project</i></dt>
 
78
<dd>
 
79
reference to the project object
 
80
</dd><dt><i>parent</i></dt>
 
81
<dd>
 
82
parent widget of the view (QWidget)
 
83
</dd><dt><i>name</i></dt>
 
84
<dd>
 
85
name of the view widget (QString or string)
 
86
</dd><dt><i>noModules=</i></dt>
 
87
<dd>
 
88
flag indicating, that no module names should be
 
89
            shown (boolean)
 
90
</dd>
 
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>)
 
94
<p>
 
95
        Private method to add a package to the diagram.
 
96
</p><dl>
 
97
<dt><i>name</i></dt>
 
98
<dd>
 
99
package name to be shown (string)
 
100
</dd><dt><i>modules</i></dt>
 
101
<dd>
 
102
list of module names contained in the package
 
103
            (list of strings)
 
104
</dd><dt><i>x</i></dt>
 
105
<dd>
 
106
x-coordinate (float)
 
107
</dd><dt><i>y</i></dt>
 
108
<dd>
 
109
y-coordinate (float)
 
110
</dd>
 
111
</dl><a NAME="ApplicationDiagram.__buildModulesDict" ID="ApplicationDiagram.__buildModulesDict"></a>
 
112
<h4>ApplicationDiagram.__buildModulesDict</h4>
 
113
<b>__buildModulesDict</b>(<i></i>)
 
114
<p>
 
115
        Private method to build a dictionary of modules contained in the application.
 
116
</p><dl>
 
117
<dt>Returns:</dt>
 
118
<dd>
 
119
dictionary of modules contained in the application.
 
120
</dd>
 
121
</dl><a NAME="ApplicationDiagram.__buildPackages" ID="ApplicationDiagram.__buildPackages"></a>
 
122
<h4>ApplicationDiagram.__buildPackages</h4>
 
123
<b>__buildPackages</b>(<i></i>)
 
124
<p>
 
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>)
 
129
<p>
 
130
        Private method to generate the associations between the package shapes.
 
131
</p><dl>
 
132
<dt><i>shapes</i></dt>
 
133
<dd>
 
134
list of shapes
 
135
</dd>
 
136
</dl><a NAME="ApplicationDiagram.relayout" ID="ApplicationDiagram.relayout"></a>
 
137
<h4>ApplicationDiagram.relayout</h4>
 
138
<b>relayout</b>(<i></i>)
 
139
<p>
 
140
        Method to relayout the diagram.
 
141
</p><a NAME="ApplicationDiagram.show" ID="ApplicationDiagram.show"></a>
 
142
<h4>ApplicationDiagram.show</h4>
 
143
<b>show</b>(<i></i>)
 
144
<p>
 
145
        Overriden method to show the dialog.
 
146
</p></p>
 
147
<div align="right"><a href="#top">Up</a></div>
 
148
<hr />
 
149
</body></html>
 
 
b'\\ No newline at end of file'