src/eric7/Documentation/Source/eric7.ViewManager.__init__.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
child 10070
9f5758c0fec1
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.ViewManager.__init__</title>
4 <meta charset="UTF-8">
5 <link rel="stylesheet" href="styles.css">
6 </head>
7 <body>
8 <a NAME="top" ID="top"></a>
9 <h1>eric7.ViewManager.__init__</h1>
10
11 <p>
12 Package implementing the viewmanager of the eric IDE.
13 </p>
14 <p>
15 The viewmanager is responsible for the layout of the editor windows. This is
16 the central part of the IDE. In additon to this, the viewmanager provides all
17 editor related actions, menus and toolbars.
18 </p>
19 <p>
20 View managers are provided as plugins and loaded via the factory function. If
21 the requested view manager type is not available, tabview will be used by
22 default.
23 </p>
24 <h3>Global Attributes</h3>
25
26 <table>
27 <tr><td>None</td></tr>
28 </table>
29 <h3>Classes</h3>
30
31 <table>
32 <tr><td>None</td></tr>
33 </table>
34 <h3>Functions</h3>
35
36 <table>
37
38 <tr>
39 <td><a href="#factory">factory</a></td>
40 <td>Modul factory function to generate the right viewmanager type.</td>
41 </tr>
42 </table>
43 <hr />
44 <hr />
45 <a NAME="factory" ID="factory"></a>
46 <h2>factory</h2>
47 <b>factory</b>(<i>parent, ui, dbs, pluginManager</i>)
48
49 <p>
50 Modul factory function to generate the right viewmanager type.
51 </p>
52 <p>
53 The viewmanager is instantiated depending on the data set in
54 the current preferences.
55 </p>
56 <dl>
57
58 <dt><i>parent</i></dt>
59 <dd>
60 parent widget (QWidget)
61 </dd>
62 <dt><i>ui</i></dt>
63 <dd>
64 reference to the main UI object
65 </dd>
66 <dt><i>dbs</i></dt>
67 <dd>
68 reference to the debug server object
69 </dd>
70 <dt><i>pluginManager</i></dt>
71 <dd>
72 reference to the plugin manager object
73 </dd>
74 </dl>
75 <dl>
76 <dt>Return:</dt>
77 <dd>
78 the instantiated viewmanager
79 </dd>
80 </dl>
81 <dl>
82
83 <dt>Raises <b>RuntimeError</b>:</dt>
84 <dd>
85 raised if no view manager could be created
86 </dd>
87 </dl>
88 <div align="right"><a href="#top">Up</a></div>
89 <hr />
90 </body></html>

eric ide

mercurial