|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.WizardPlugins.EricPluginWizard.PluginWizardDialog</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><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Plugins.WizardPlugins.EricPluginWizard.PluginWizardDialog</h1> |
|
23 <p> |
|
24 Module implementing the eric plug-in wizard dialog. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#PluginWizardDialog">PluginWizardDialog</a></td> |
|
34 <td>Class implementing the eric plug-in wizard dialog.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr><td>None</td></tr> |
|
40 </table> |
|
41 <hr /><hr /> |
|
42 <a NAME="PluginWizardDialog" ID="PluginWizardDialog"></a> |
|
43 <h2>PluginWizardDialog</h2> |
|
44 <p> |
|
45 Class implementing the eric plug-in wizard dialog. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_PluginWizardDialog |
|
49 <h3>Class Attributes</h3> |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Class Methods</h3> |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 <table> |
|
59 <tr> |
|
60 <td><a href="#PluginWizardDialog.__init__">PluginWizardDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#PluginWizardDialog.__enableOkButton">__enableOkButton</a></td> |
|
64 <td>Private slot to set the state of the OK button.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#PluginWizardDialog.getCode">getCode</a></td> |
|
67 <td>Public method to get the source code.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#PluginWizardDialog.on_pluginTypeCombo_currentTextChanged">on_pluginTypeCombo_currentTextChanged</a></td> |
|
70 <td>Private slot to react upon the selection of a plug-in type.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#PluginWizardDialog.on_projectButton_clicked">on_projectButton_clicked</a></td> |
|
73 <td>Private slot to populate some fields with data retrieved from the current project.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#PluginWizardDialog.packageName">packageName</a></td> |
|
76 <td>Public method to retrieve the plug-in package name.</td> |
|
77 </tr> |
|
78 </table> |
|
79 <h3>Static Methods</h3> |
|
80 <table> |
|
81 <tr><td>None</td></tr> |
|
82 </table> |
|
83 <a NAME="PluginWizardDialog.__init__" ID="PluginWizardDialog.__init__"></a> |
|
84 <h4>PluginWizardDialog (Constructor)</h4> |
|
85 <b>PluginWizardDialog</b>(<i>parent=None</i>) |
|
86 <p> |
|
87 Constructor |
|
88 </p><dl> |
|
89 <dt><i>parent</i></dt> |
|
90 <dd> |
|
91 reference to the parent widget (QWidget) |
|
92 </dd> |
|
93 </dl><a NAME="PluginWizardDialog.__enableOkButton" ID="PluginWizardDialog.__enableOkButton"></a> |
|
94 <h4>PluginWizardDialog.__enableOkButton</h4> |
|
95 <b>__enableOkButton</b>(<i></i>) |
|
96 <p> |
|
97 Private slot to set the state of the OK button. |
|
98 </p><a NAME="PluginWizardDialog.getCode" ID="PluginWizardDialog.getCode"></a> |
|
99 <h4>PluginWizardDialog.getCode</h4> |
|
100 <b>getCode</b>(<i></i>) |
|
101 <p> |
|
102 Public method to get the source code. |
|
103 </p><dl> |
|
104 <dt>Returns:</dt> |
|
105 <dd> |
|
106 generated code (string) |
|
107 </dd> |
|
108 </dl><a NAME="PluginWizardDialog.on_pluginTypeCombo_currentTextChanged" ID="PluginWizardDialog.on_pluginTypeCombo_currentTextChanged"></a> |
|
109 <h4>PluginWizardDialog.on_pluginTypeCombo_currentTextChanged</h4> |
|
110 <b>on_pluginTypeCombo_currentTextChanged</b>(<i>txt</i>) |
|
111 <p> |
|
112 Private slot to react upon the selection of a plug-in type. |
|
113 </p><dl> |
|
114 <dt><i>txt</i></dt> |
|
115 <dd> |
|
116 selected plug-in type (string) |
|
117 </dd> |
|
118 </dl><a NAME="PluginWizardDialog.on_projectButton_clicked" ID="PluginWizardDialog.on_projectButton_clicked"></a> |
|
119 <h4>PluginWizardDialog.on_projectButton_clicked</h4> |
|
120 <b>on_projectButton_clicked</b>(<i></i>) |
|
121 <p> |
|
122 Private slot to populate some fields with data retrieved from the |
|
123 current project. |
|
124 </p><a NAME="PluginWizardDialog.packageName" ID="PluginWizardDialog.packageName"></a> |
|
125 <h4>PluginWizardDialog.packageName</h4> |
|
126 <b>packageName</b>(<i></i>) |
|
127 <p> |
|
128 Public method to retrieve the plug-in package name. |
|
129 </p><dl> |
|
130 <dt>Returns:</dt> |
|
131 <dd> |
|
132 plug-in package name (string) |
|
133 </dd> |
|
134 </dl> |
|
135 <div align="right"><a href="#top">Up</a></div> |
|
136 <hr /> |
|
137 </body></html> |