src/eric7/Documentation/Source/eric7.Project.NewPythonPackageDialog.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
child 10430
e440aaf179ce
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Project.NewPythonPackageDialog</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.Project.NewPythonPackageDialog</h1>
10
11 <p>
12 Module implementing a dialog to add a new Python package.
13 </p>
14 <h3>Global Attributes</h3>
15
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20
21 <table>
22
23 <tr>
24 <td><a href="#NewPythonPackageDialog">NewPythonPackageDialog</a></td>
25 <td>Class implementing a dialog to add a new Python package.</td>
26 </tr>
27 </table>
28 <h3>Functions</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <hr />
34 <hr />
35 <a NAME="NewPythonPackageDialog" ID="NewPythonPackageDialog"></a>
36 <h2>NewPythonPackageDialog</h2>
37
38 <p>
39 Class implementing a dialog to add a new Python package.
40 </p>
41 <h3>Derived from</h3>
42 QDialog, Ui_NewPythonPackageDialog
43 <h3>Class Attributes</h3>
44
45 <table>
46 <tr><td>None</td></tr>
47 </table>
48 <h3>Class Methods</h3>
49
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Methods</h3>
54
55 <table>
56
57 <tr>
58 <td><a href="#NewPythonPackageDialog.__init__">NewPythonPackageDialog</a></td>
59 <td>Constructor</td>
60 </tr>
61 <tr>
62 <td><a href="#NewPythonPackageDialog.getData">getData</a></td>
63 <td>Public method to retrieve the data entered into the dialog.</td>
64 </tr>
65 <tr>
66 <td><a href="#NewPythonPackageDialog.on_packageEdit_textChanged">on_packageEdit_textChanged</a></td>
67 <td>Private slot called, when the package name is changed.</td>
68 </tr>
69 </table>
70 <h3>Static Methods</h3>
71
72 <table>
73 <tr><td>None</td></tr>
74 </table>
75
76 <a NAME="NewPythonPackageDialog.__init__" ID="NewPythonPackageDialog.__init__"></a>
77 <h4>NewPythonPackageDialog (Constructor)</h4>
78 <b>NewPythonPackageDialog</b>(<i>relPath, parent=None</i>)
79
80 <p>
81 Constructor
82 </p>
83 <dl>
84
85 <dt><i>relPath</i></dt>
86 <dd>
87 initial package path relative to the project root
88 (string)
89 </dd>
90 <dt><i>parent</i></dt>
91 <dd>
92 reference to the parent widget (QWidget)
93 </dd>
94 </dl>
95 <a NAME="NewPythonPackageDialog.getData" ID="NewPythonPackageDialog.getData"></a>
96 <h4>NewPythonPackageDialog.getData</h4>
97 <b>getData</b>(<i></i>)
98
99 <p>
100 Public method to retrieve the data entered into the dialog.
101 </p>
102 <dl>
103 <dt>Return:</dt>
104 <dd>
105 package name (string)
106 </dd>
107 </dl>
108 <a NAME="NewPythonPackageDialog.on_packageEdit_textChanged" ID="NewPythonPackageDialog.on_packageEdit_textChanged"></a>
109 <h4>NewPythonPackageDialog.on_packageEdit_textChanged</h4>
110 <b>on_packageEdit_textChanged</b>(<i>txt</i>)
111
112 <p>
113 Private slot called, when the package name is changed.
114 </p>
115 <dl>
116
117 <dt><i>txt</i></dt>
118 <dd>
119 new text of the package name edit (string)
120 </dd>
121 </dl>
122 <div align="right"><a href="#top">Up</a></div>
123 <hr />
124 </body></html>

eric ide

mercurial