1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.UiExtensionPlugins.PipInterface.PipRequirementsSelectionDialog</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.UiExtensionPlugins.PipInterface.PipRequirementsSelectionDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to enter a requirements file. |
|
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="#PipRequirementsSelectionDialog">PipRequirementsSelectionDialog</a></td> |
|
34 <td>Class implementing a dialog to enter a requirements file.</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="PipRequirementsSelectionDialog" ID="PipRequirementsSelectionDialog"></a> |
|
43 <h2>PipRequirementsSelectionDialog</h2> |
|
44 <p> |
|
45 Class implementing a dialog to enter a requirements file. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_PipRequirementsSelectionDialog |
|
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="#PipRequirementsSelectionDialog.__init__">PipRequirementsSelectionDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#PipRequirementsSelectionDialog.getData">getData</a></td> |
|
64 <td>Public method to get the entered data.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#PipRequirementsSelectionDialog.on_fileButton_clicked">on_fileButton_clicked</a></td> |
|
67 <td>Private slot to enter the requirements file via a file selection dialog.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#PipRequirementsSelectionDialog.on_requirementsEdit_textChanged">on_requirementsEdit_textChanged</a></td> |
|
70 <td>Private slot handling entering the name of a requirements file.</td> |
|
71 </tr> |
|
72 </table> |
|
73 <h3>Static Methods</h3> |
|
74 <table> |
|
75 <tr><td>None</td></tr> |
|
76 </table> |
|
77 <a NAME="PipRequirementsSelectionDialog.__init__" ID="PipRequirementsSelectionDialog.__init__"></a> |
|
78 <h4>PipRequirementsSelectionDialog (Constructor)</h4> |
|
79 <b>PipRequirementsSelectionDialog</b>(<i>plugin, parent=None</i>) |
|
80 <p> |
|
81 Constructor |
|
82 </p><dl> |
|
83 <dt><i>plugin</i></dt> |
|
84 <dd> |
|
85 reference to the plugin object (ToolPipPlugin) |
|
86 </dd><dt><i>parent</i></dt> |
|
87 <dd> |
|
88 reference to the parent widget (QWidget) |
|
89 </dd> |
|
90 </dl><a NAME="PipRequirementsSelectionDialog.getData" ID="PipRequirementsSelectionDialog.getData"></a> |
|
91 <h4>PipRequirementsSelectionDialog.getData</h4> |
|
92 <b>getData</b>(<i></i>) |
|
93 <p> |
|
94 Public method to get the entered data. |
|
95 </p><dl> |
|
96 <dt>Returns:</dt> |
|
97 <dd> |
|
98 tuple with the pip command (string) and the name of the |
|
99 requirements file (string) |
|
100 </dd> |
|
101 </dl><a NAME="PipRequirementsSelectionDialog.on_fileButton_clicked" ID="PipRequirementsSelectionDialog.on_fileButton_clicked"></a> |
|
102 <h4>PipRequirementsSelectionDialog.on_fileButton_clicked</h4> |
|
103 <b>on_fileButton_clicked</b>(<i></i>) |
|
104 <p> |
|
105 Private slot to enter the requirements file via a file selection |
|
106 dialog. |
|
107 </p><a NAME="PipRequirementsSelectionDialog.on_requirementsEdit_textChanged" ID="PipRequirementsSelectionDialog.on_requirementsEdit_textChanged"></a> |
|
108 <h4>PipRequirementsSelectionDialog.on_requirementsEdit_textChanged</h4> |
|
109 <b>on_requirementsEdit_textChanged</b>(<i>txt</i>) |
|
110 <p> |
|
111 Private slot handling entering the name of a requirements file. |
|
112 </p><dl> |
|
113 <dt><i>txt</i></dt> |
|
114 <dd> |
|
115 name of the requirements file (string) |
|
116 </dd> |
|
117 </dl> |
|
118 <div align="right"><a href="#top">Up</a></div> |
|
119 <hr /> |
|
120 </body></html> |
|