eric7/Documentation/Source/eric7.PipInterface.PipFileSelectionDialog.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.PipInterface.PipFileSelectionDialog</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.PipInterface.PipFileSelectionDialog</h1>
24
25 <p>
26 Module implementing a dialog to enter a file to be processed.
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="#PipFileSelectionDialog">PipFileSelectionDialog</a></td>
39 <td>Class implementing a dialog to enter a file to be processed.</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="PipFileSelectionDialog" ID="PipFileSelectionDialog"></a>
50 <h2>PipFileSelectionDialog</h2>
51
52 <p>
53 Class implementing a dialog to enter a file to be processed.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, Ui_PipFileSelectionDialog
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="#PipFileSelectionDialog.__init__">PipFileSelectionDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#PipFileSelectionDialog.getData">getData</a></td>
77 <td>Public method to get the entered data.</td>
78 </tr>
79 <tr>
80 <td><a href="#PipFileSelectionDialog.on_filePicker_textChanged">on_filePicker_textChanged</a></td>
81 <td>Private slot to handle entering the name of a 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="PipFileSelectionDialog.__init__" ID="PipFileSelectionDialog.__init__"></a>
91 <h4>PipFileSelectionDialog (Constructor)</h4>
92 <b>PipFileSelectionDialog</b>(<i>pip, mode, install=True, parent=None</i>)
93
94 <p>
95 Constructor
96 </p>
97 <dl>
98
99 <dt><i>pip</i> (Pip)</dt>
100 <dd>
101 reference to the pip object
102 </dd>
103 <dt><i>mode</i> (str)</dt>
104 <dd>
105 mode of the dialog
106 </dd>
107 <dt><i>install</i> (bool)</dt>
108 <dd>
109 flag indicating an install action
110 </dd>
111 <dt><i>parent</i> (QWidget)</dt>
112 <dd>
113 reference to the parent widget
114 </dd>
115 </dl>
116 <a NAME="PipFileSelectionDialog.getData" ID="PipFileSelectionDialog.getData"></a>
117 <h4>PipFileSelectionDialog.getData</h4>
118 <b>getData</b>(<i></i>)
119
120 <p>
121 Public method to get the entered data.
122 </p>
123 <dl>
124 <dt>Return:</dt>
125 <dd>
126 tuple with the name of the selected file and a flag indicating
127 to install to the user install directory
128 </dd>
129 </dl>
130 <dl>
131 <dt>Return Type:</dt>
132 <dd>
133 tuple of (str, bool)
134 </dd>
135 </dl>
136 <a NAME="PipFileSelectionDialog.on_filePicker_textChanged" ID="PipFileSelectionDialog.on_filePicker_textChanged"></a>
137 <h4>PipFileSelectionDialog.on_filePicker_textChanged</h4>
138 <b>on_filePicker_textChanged</b>(<i>txt</i>)
139
140 <p>
141 Private slot to handle entering the name of a file.
142 </p>
143 <dl>
144
145 <dt><i>txt</i> (str)</dt>
146 <dd>
147 name of the file
148 </dd>
149 </dl>
150 <div align="right"><a href="#top">Up</a></div>
151 <hr />
152 </body></html>

eric ide

mercurial