eric7/Documentation/Source/eric7.MultiProject.MultiProjectFile.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.MultiProject.MultiProjectFile</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body>
22 <a NAME="top" ID="top"></a>
23 <h1>eric7.MultiProject.MultiProjectFile</h1>
24
25 <p>
26 Module implementing a class representing the multi project JSON file.
27 </p>
28 <h3>Global Attributes</h3>
29
30 <table>
31 <tr><td>MultiProject</td></tr>
32 </table>
33 <h3>Classes</h3>
34
35 <table>
36
37 <tr>
38 <td><a href="#MultiProjectFile">MultiProjectFile</a></td>
39 <td>Class representing the multi project JSON file.</td>
40 </tr>
41 </table>
42 <h3>Functions</h3>
43
44 <table>
45 <tr><td>None</td></tr>
46 </table>
47 <hr />
48 <hr />
49 <a NAME="MultiProjectFile" ID="MultiProjectFile"></a>
50 <h2>MultiProjectFile</h2>
51
52 <p>
53 Class representing the multi project JSON file.
54 </p>
55 <h3>Derived from</h3>
56 QObject
57 <h3>Class Attributes</h3>
58
59 <table>
60 <tr><td>None</td></tr>
61 </table>
62 <h3>Class Methods</h3>
63
64 <table>
65 <tr><td>None</td></tr>
66 </table>
67 <h3>Methods</h3>
68
69 <table>
70
71 <tr>
72 <td><a href="#MultiProjectFile.__init__">MultiProjectFile</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#MultiProjectFile.readFile">readFile</a></td>
77 <td>Public method to read the multi project data from a multi project JSON file.</td>
78 </tr>
79 <tr>
80 <td><a href="#MultiProjectFile.writeFile">writeFile</a></td>
81 <td>Public method to write the multi project data to a multi project JSON file.</td>
82 </tr>
83 </table>
84 <h3>Static Methods</h3>
85
86 <table>
87 <tr><td>None</td></tr>
88 </table>
89
90 <a NAME="MultiProjectFile.__init__" ID="MultiProjectFile.__init__"></a>
91 <h4>MultiProjectFile (Constructor)</h4>
92 <b>MultiProjectFile</b>(<i>multiProject: MultiProject, parent: QObject = None</i>)
93
94 <p>
95 Constructor
96 </p>
97 <dl>
98
99 <dt><i>multiProject</i> (MultiProject)</dt>
100 <dd>
101 reference to the multi project object
102 </dd>
103 <dt><i>parent</i> (QObject (optional))</dt>
104 <dd>
105 reference to the parent object (defaults to None)
106 </dd>
107 </dl>
108 <a NAME="MultiProjectFile.readFile" ID="MultiProjectFile.readFile"></a>
109 <h4>MultiProjectFile.readFile</h4>
110 <b>readFile</b>(<i>filename: str</i>)
111
112 <p>
113 Public method to read the multi project data from a multi project
114 JSON file.
115 </p>
116 <dl>
117
118 <dt><i>filename</i> (str)</dt>
119 <dd>
120 name of the multi project file
121 </dd>
122 </dl>
123 <dl>
124 <dt>Return:</dt>
125 <dd>
126 flag indicating a successful read
127 </dd>
128 </dl>
129 <dl>
130 <dt>Return Type:</dt>
131 <dd>
132 bool
133 </dd>
134 </dl>
135 <a NAME="MultiProjectFile.writeFile" ID="MultiProjectFile.writeFile"></a>
136 <h4>MultiProjectFile.writeFile</h4>
137 <b>writeFile</b>(<i>filename: str</i>)
138
139 <p>
140 Public method to write the multi project data to a multi project
141 JSON file.
142 </p>
143 <dl>
144
145 <dt><i>filename</i> (str)</dt>
146 <dd>
147 name of the multi project file
148 </dd>
149 </dl>
150 <dl>
151 <dt>Return:</dt>
152 <dd>
153 flag indicating a successful write
154 </dd>
155 </dl>
156 <dl>
157 <dt>Return Type:</dt>
158 <dd>
159 bool
160 </dd>
161 </dl>
162 <div align="right"><a href="#top">Up</a></div>
163 <hr />
164 </body></html>

eric ide

mercurial