eric7/Documentation/Source/eric7.Project.NewPythonPackageDialog.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.Project.NewPythonPackageDialog</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.Project.NewPythonPackageDialog</h1>
24
25 <p>
26 Module implementing a dialog to add a new Python package.
27 </p>
28 <h3>Global Attributes</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <h3>Classes</h3>
34
35 <table>
36
37 <tr>
38 <td><a href="#NewPythonPackageDialog">NewPythonPackageDialog</a></td>
39 <td>Class implementing a dialog to add a new Python package.</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="NewPythonPackageDialog" ID="NewPythonPackageDialog"></a>
50 <h2>NewPythonPackageDialog</h2>
51
52 <p>
53 Class implementing a dialog to add a new Python package.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, Ui_NewPythonPackageDialog
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="#NewPythonPackageDialog.__init__">NewPythonPackageDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#NewPythonPackageDialog.getData">getData</a></td>
77 <td>Public method to retrieve the data entered into the dialog.</td>
78 </tr>
79 <tr>
80 <td><a href="#NewPythonPackageDialog.on_packageEdit_textChanged">on_packageEdit_textChanged</a></td>
81 <td>Private slot called, when the package name is changed.</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="NewPythonPackageDialog.__init__" ID="NewPythonPackageDialog.__init__"></a>
91 <h4>NewPythonPackageDialog (Constructor)</h4>
92 <b>NewPythonPackageDialog</b>(<i>relPath, parent=None</i>)
93
94 <p>
95 Constructor
96 </p>
97 <dl>
98
99 <dt><i>relPath</i></dt>
100 <dd>
101 initial package path relative to the project root
102 (string)
103 </dd>
104 <dt><i>parent</i></dt>
105 <dd>
106 reference to the parent widget (QWidget)
107 </dd>
108 </dl>
109 <a NAME="NewPythonPackageDialog.getData" ID="NewPythonPackageDialog.getData"></a>
110 <h4>NewPythonPackageDialog.getData</h4>
111 <b>getData</b>(<i></i>)
112
113 <p>
114 Public method to retrieve the data entered into the dialog.
115 </p>
116 <dl>
117 <dt>Return:</dt>
118 <dd>
119 package name (string)
120 </dd>
121 </dl>
122 <a NAME="NewPythonPackageDialog.on_packageEdit_textChanged" ID="NewPythonPackageDialog.on_packageEdit_textChanged"></a>
123 <h4>NewPythonPackageDialog.on_packageEdit_textChanged</h4>
124 <b>on_packageEdit_textChanged</b>(<i>txt</i>)
125
126 <p>
127 Private slot called, when the package name is changed.
128 </p>
129 <dl>
130
131 <dt><i>txt</i></dt>
132 <dd>
133 new text of the package name edit (string)
134 </dd>
135 </dl>
136 <div align="right"><a href="#top">Up</a></div>
137 <hr />
138 </body></html>

eric ide

mercurial