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

« back to all changes in this revision

Viewing changes to eric/Documentation/Source/eric3doc-eric3.Graphics.ImportsDiagram.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
 
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
2
 
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
3
 
<html><head>
4
 
<title>eric3.Graphics.ImportsDiagram</title>
5
 
</head>
6
 
<body bgcolor="#FFFFFF"><a NAME="top" ID="top"></a>
7
 
<h1><font color="#0000FF">eric3.Graphics.ImportsDiagram</font></h1>
8
 
<p>
9
 
Module implementing a dialog showing an imports diagram of a package.
10
 
</p>
11
 
<h3><font color="#FF0000">Classes</font></h3>
12
 
<table>
13
 
<tr>
14
 
<td><a href="#ImportsDiagram">ImportsDiagram</a></td>
15
 
<td>Class implementing a dialog showing an imports diagram of a package.</td>
16
 
</tr>
17
 
</table>
18
 
<h3><font color="#FF0000">Functions</font></h3>
19
 
<table>
20
 
<tr><td>None</td></tr>
21
 
</table>
22
 
<hr /><hr />
23
 
<a NAME="ImportsDiagram" ID="ImportsDiagram"></a>
24
 
<h2><font color="#0000FF">ImportsDiagram</font></h2>
25
 
<p>
26
 
    Class implementing a dialog showing an imports diagram of a package.
27
 
</p><p>
28
 
    Note: Only package internal imports are show in order to maintain
29
 
    some readability.
30
 
</p>
31
 
<h3><font color="#FF0000">Derived from</font></h3>
32
 
QDialog
33
 
<h3><font color="#FF0000">Methods</font></h3>
34
 
<table>
35
 
<tr>
36
 
<td><a href="#ImportsDiagram.__init__">ImportsDiagram</a></td>
37
 
<td>Constructor</td>
38
 
</tr><tr>
39
 
<td><a href="#ImportsDiagram.__tr">__tr</a></td>
40
 
<td>Private method to translate the display strings.</td>
41
 
</tr><tr>
42
 
<td><a href="#ImportsDiagram.addModule">addModule</a></td>
43
 
<td>Private method to add a module to the diagram.</td>
44
 
</tr><tr>
45
 
<td><a href="#ImportsDiagram.buildImports">buildImports</a></td>
46
 
<td>Private method to build the modules shapes of the diagram.</td>
47
 
</tr><tr>
48
 
<td><a href="#ImportsDiagram.buildModulesDict">buildModulesDict</a></td>
49
 
<td>Private method to build a dictionary of modules contained in the package.</td>
50
 
</tr><tr>
51
 
<td><a href="#ImportsDiagram.createAssociations">createAssociations</a></td>
52
 
<td>Private method to generate the associations between the module shapes.</td>
53
 
</tr><tr>
54
 
<td><a href="#ImportsDiagram.getDiagramName">getDiagramName</a></td>
55
 
<td>Method to retrieve a name for the diagram.</td>
56
 
</tr><tr>
57
 
<td><a href="#ImportsDiagram.languageChange">languageChange</a></td>
58
 
<td>Private method used to show the localized strings for this dialog.</td>
59
 
</tr><tr>
60
 
<td><a href="#ImportsDiagram.relayout">relayout</a></td>
61
 
<td>Method to relayout the diagram.</td>
62
 
</tr><tr>
63
 
<td><a href="#ImportsDiagram.show">show</a></td>
64
 
<td>Overriden method to show the dialog.</td>
65
 
</tr>
66
 
</table>
67
 
<p><a NAME="ImportsDiagram.__init__" ID="ImportsDiagram__init__"></a>
68
 
<h3><font color="#0000FF">ImportsDiagram (Constructor)</font></h3>
69
 
<b>ImportsDiagram</b>(<i>package, parent = None, name = None, modal = 0, fl = 0</i>)
70
 
<p>
71
 
        Constructor
72
 
</p><dl>
73
 
<dt><i>package</i></dt>
74
 
<dd>
75
 
name of a python package to show the import
76
 
            relationships (string)
77
 
</dd><dt><i>parent</i></dt>
78
 
<dd>
79
 
parent widget of the view (QWidget)
80
 
</dd><dt><i>name</i></dt>
81
 
<dd>
82
 
name of the view widget (QString or string)
83
 
</dd><dt><i>flags</i></dt>
84
 
<dd>
85
 
the window flags to be passed to the view widget
86
 
</dd>
87
 
</dl><a NAME="ImportsDiagram.__tr" ID="ImportsDiagram__tr"></a>
88
 
<h3><font color="#0000FF">ImportsDiagram.__tr</font></h3>
89
 
<b>__tr</b>(<i>s, c = None</i>)
90
 
<p>
91
 
        Private method to translate the display strings.
92
 
</p><a NAME="ImportsDiagram.addModule" ID="ImportsDiagramaddModule"></a>
93
 
<h3><font color="#0000FF">ImportsDiagram.addModule</font></h3>
94
 
<b>addModule</b>(<i>name, classes, x, y</i>)
95
 
<p>
96
 
        Private method to add a module to the diagram.
97
 
</p><dl>
98
 
<dt><i>name</i></dt>
99
 
<dd>
100
 
module name to be shown (string)
101
 
</dd><dt><i>classes</i></dt>
102
 
<dd>
103
 
list of class names contained in the module
104
 
            (list of strings)
105
 
</dd><dt><i>x</i></dt>
106
 
<dd>
107
 
x-coordinate (integer)
108
 
</dd><dt><i>y</i></dt>
109
 
<dd>
110
 
y-coordinate (integer)
111
 
</dd>
112
 
</dl><a NAME="ImportsDiagram.buildImports" ID="ImportsDiagrambuildImports"></a>
113
 
<h3><font color="#0000FF">ImportsDiagram.buildImports</font></h3>
114
 
<b>buildImports</b>(<i></i>)
115
 
<p>
116
 
        Private method to build the modules shapes of the diagram.
117
 
</p><a NAME="ImportsDiagram.buildModulesDict" ID="ImportsDiagrambuildModulesDict"></a>
118
 
<h3><font color="#0000FF">ImportsDiagram.buildModulesDict</font></h3>
119
 
<b>buildModulesDict</b>(<i></i>)
120
 
<p>
121
 
        Private method to build a dictionary of modules contained in the package.
122
 
</p><dl>
123
 
<dt>Returns:</dt>
124
 
<dd>
125
 
dictionary of modules contained in the package.
126
 
</dd>
127
 
</dl><a NAME="ImportsDiagram.createAssociations" ID="ImportsDiagramcreateAssociations"></a>
128
 
<h3><font color="#0000FF">ImportsDiagram.createAssociations</font></h3>
129
 
<b>createAssociations</b>(<i>shapes</i>)
130
 
<p>
131
 
        Private method to generate the associations between the module shapes.
132
 
</p><dl>
133
 
<dt><i>shapes</i></dt>
134
 
<dd>
135
 
list of shapes
136
 
</dd>
137
 
</dl><a NAME="ImportsDiagram.getDiagramName" ID="ImportsDiagramgetDiagramName"></a>
138
 
<h3><font color="#0000FF">ImportsDiagram.getDiagramName</font></h3>
139
 
<b>getDiagramName</b>(<i></i>)
140
 
<p>
141
 
        Method to retrieve a name for the diagram.
142
 
</p><dl>
143
 
<dt>Returns:</dt>
144
 
<dd>
145
 
name for the diagram
146
 
</dd>
147
 
</dl><a NAME="ImportsDiagram.languageChange" ID="ImportsDiagramlanguageChange"></a>
148
 
<h3><font color="#0000FF">ImportsDiagram.languageChange</font></h3>
149
 
<b>languageChange</b>(<i></i>)
150
 
<p>
151
 
        Private method used to show the localized strings for this dialog.
152
 
</p><a NAME="ImportsDiagram.relayout" ID="ImportsDiagramrelayout"></a>
153
 
<h3><font color="#0000FF">ImportsDiagram.relayout</font></h3>
154
 
<b>relayout</b>(<i></i>)
155
 
<p>
156
 
        Method to relayout the diagram.
157
 
</p><a NAME="ImportsDiagram.show" ID="ImportsDiagramshow"></a>
158
 
<h3><font color="#0000FF">ImportsDiagram.show</font></h3>
159
 
<b>show</b>(<i></i>)
160
 
<p>
161
 
        Overriden method to show the dialog.
162
 
</p></p>
163
 
<div align="right"><a href="#top">Up</a></div>
164
 
<hr />
165
 
</body></html>
 
 
b'\\ No newline at end of file'