|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.RemoteServerInterface.EricServerProfilesDialog</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.RemoteServerInterface.EricServerProfilesDialog</h1> |
|
10 <p> |
|
11 Module implementing a dialog to manage server connection profiles. |
|
12 </p> |
|
13 |
|
14 <h3>Global Attributes</h3> |
|
15 <table> |
|
16 <tr><td>None</td></tr> |
|
17 </table> |
|
18 |
|
19 <h3>Classes</h3> |
|
20 <table> |
|
21 <tr> |
|
22 <td><a href="#EricServerProfilesDialog">EricServerProfilesDialog</a></td> |
|
23 <td>Class implementing a dialog to manage server connection profiles.</td> |
|
24 </tr> |
|
25 </table> |
|
26 |
|
27 <h3>Functions</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 |
|
32 <hr /> |
|
33 <hr /> |
|
34 <a NAME="EricServerProfilesDialog" ID="EricServerProfilesDialog"></a> |
|
35 <h2>EricServerProfilesDialog</h2> |
|
36 <p> |
|
37 Class implementing a dialog to manage server connection profiles. |
|
38 </p> |
|
39 |
|
40 <h3>Derived from</h3> |
|
41 QDialog, Ui_EricServerProfilesDialog |
|
42 <h3>Class Attributes</h3> |
|
43 <table> |
|
44 <tr><td>None</td></tr> |
|
45 </table> |
|
46 |
|
47 <h3>Class Methods</h3> |
|
48 <table> |
|
49 <tr><td>None</td></tr> |
|
50 </table> |
|
51 |
|
52 <h3>Methods</h3> |
|
53 <table> |
|
54 <tr> |
|
55 <td><a href="#EricServerProfilesDialog.__init__">EricServerProfilesDialog</a></td> |
|
56 <td>Constructor</td> |
|
57 </tr> |
|
58 <tr> |
|
59 <td><a href="#EricServerProfilesDialog.__getProfilesList">__getProfilesList</a></td> |
|
60 <td>Private method to get the list of defined profile names.</td> |
|
61 </tr> |
|
62 <tr> |
|
63 <td><a href="#EricServerProfilesDialog.__populateProfilesList">__populateProfilesList</a></td> |
|
64 <td>Private method to (re-) populate the list of server connection profiles.</td> |
|
65 </tr> |
|
66 <tr> |
|
67 <td><a href="#EricServerProfilesDialog.getConnectionProfiles">getConnectionProfiles</a></td> |
|
68 <td>Public method to get the configured connection profiles.</td> |
|
69 </tr> |
|
70 <tr> |
|
71 <td><a href="#EricServerProfilesDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
|
72 <td>Private slot add a new connection profile.</td> |
|
73 </tr> |
|
74 <tr> |
|
75 <td><a href="#EricServerProfilesDialog.on_connectionsList_itemSelectionChanged">on_connectionsList_itemSelectionChanged</a></td> |
|
76 <td>Private slot to handle a change of selected items.</td> |
|
77 </tr> |
|
78 <tr> |
|
79 <td><a href="#EricServerProfilesDialog.on_editButton_clicked">on_editButton_clicked</a></td> |
|
80 <td>Private slot to edit the selected entry.</td> |
|
81 </tr> |
|
82 <tr> |
|
83 <td><a href="#EricServerProfilesDialog.on_removeButton_clicked">on_removeButton_clicked</a></td> |
|
84 <td>Private slot to remove the selected connection profiles.</td> |
|
85 </tr> |
|
86 <tr> |
|
87 <td><a href="#EricServerProfilesDialog.on_resetButton_clicked">on_resetButton_clicked</a></td> |
|
88 <td>Private slot to reset all changes performed.</td> |
|
89 </tr> |
|
90 </table> |
|
91 |
|
92 <h3>Static Methods</h3> |
|
93 <table> |
|
94 <tr><td>None</td></tr> |
|
95 </table> |
|
96 |
|
97 |
|
98 <a NAME="EricServerProfilesDialog.__init__" ID="EricServerProfilesDialog.__init__"></a> |
|
99 <h4>EricServerProfilesDialog (Constructor)</h4> |
|
100 <b>EricServerProfilesDialog</b>(<i>profiles, parent=None</i>) |
|
101 <p> |
|
102 Constructor |
|
103 </p> |
|
104 |
|
105 <dl> |
|
106 |
|
107 <dt><i>profiles</i> (dict)</dt> |
|
108 <dd> |
|
109 dictionary containing the server connection profiles |
|
110 </dd> |
|
111 <dt><i>parent</i> (QWidget (optional))</dt> |
|
112 <dd> |
|
113 reference to the parent widget (defaults to None) |
|
114 </dd> |
|
115 </dl> |
|
116 <a NAME="EricServerProfilesDialog.__getProfilesList" ID="EricServerProfilesDialog.__getProfilesList"></a> |
|
117 <h4>EricServerProfilesDialog.__getProfilesList</h4> |
|
118 <b>__getProfilesList</b>(<i></i>) |
|
119 <p> |
|
120 Private method to get the list of defined profile names. |
|
121 </p> |
|
122 |
|
123 <dl> |
|
124 <dt>Return:</dt> |
|
125 <dd> |
|
126 list of defined profile names |
|
127 </dd> |
|
128 </dl> |
|
129 <dl> |
|
130 <dt>Return Type:</dt> |
|
131 <dd> |
|
132 list of str |
|
133 </dd> |
|
134 </dl> |
|
135 <a NAME="EricServerProfilesDialog.__populateProfilesList" ID="EricServerProfilesDialog.__populateProfilesList"></a> |
|
136 <h4>EricServerProfilesDialog.__populateProfilesList</h4> |
|
137 <b>__populateProfilesList</b>(<i></i>) |
|
138 <p> |
|
139 Private method to (re-) populate the list of server connection profiles. |
|
140 </p> |
|
141 |
|
142 <a NAME="EricServerProfilesDialog.getConnectionProfiles" ID="EricServerProfilesDialog.getConnectionProfiles"></a> |
|
143 <h4>EricServerProfilesDialog.getConnectionProfiles</h4> |
|
144 <b>getConnectionProfiles</b>(<i></i>) |
|
145 <p> |
|
146 Public method to get the configured connection profiles. |
|
147 </p> |
|
148 |
|
149 <dl> |
|
150 <dt>Return:</dt> |
|
151 <dd> |
|
152 dictionary containing the configured connection profiles |
|
153 </dd> |
|
154 </dl> |
|
155 <dl> |
|
156 <dt>Return Type:</dt> |
|
157 <dd> |
|
158 dict |
|
159 </dd> |
|
160 </dl> |
|
161 <a NAME="EricServerProfilesDialog.on_addButton_clicked" ID="EricServerProfilesDialog.on_addButton_clicked"></a> |
|
162 <h4>EricServerProfilesDialog.on_addButton_clicked</h4> |
|
163 <b>on_addButton_clicked</b>(<i></i>) |
|
164 <p> |
|
165 Private slot add a new connection profile. |
|
166 </p> |
|
167 |
|
168 <a NAME="EricServerProfilesDialog.on_connectionsList_itemSelectionChanged" ID="EricServerProfilesDialog.on_connectionsList_itemSelectionChanged"></a> |
|
169 <h4>EricServerProfilesDialog.on_connectionsList_itemSelectionChanged</h4> |
|
170 <b>on_connectionsList_itemSelectionChanged</b>(<i></i>) |
|
171 <p> |
|
172 Private slot to handle a change of selected items. |
|
173 </p> |
|
174 |
|
175 <a NAME="EricServerProfilesDialog.on_editButton_clicked" ID="EricServerProfilesDialog.on_editButton_clicked"></a> |
|
176 <h4>EricServerProfilesDialog.on_editButton_clicked</h4> |
|
177 <b>on_editButton_clicked</b>(<i></i>) |
|
178 <p> |
|
179 Private slot to edit the selected entry. |
|
180 </p> |
|
181 |
|
182 <a NAME="EricServerProfilesDialog.on_removeButton_clicked" ID="EricServerProfilesDialog.on_removeButton_clicked"></a> |
|
183 <h4>EricServerProfilesDialog.on_removeButton_clicked</h4> |
|
184 <b>on_removeButton_clicked</b>(<i></i>) |
|
185 <p> |
|
186 Private slot to remove the selected connection profiles. |
|
187 </p> |
|
188 |
|
189 <a NAME="EricServerProfilesDialog.on_resetButton_clicked" ID="EricServerProfilesDialog.on_resetButton_clicked"></a> |
|
190 <h4>EricServerProfilesDialog.on_resetButton_clicked</h4> |
|
191 <b>on_resetButton_clicked</b>(<i></i>) |
|
192 <p> |
|
193 Private slot to reset all changes performed. |
|
194 </p> |
|
195 |
|
196 <div align="right"><a href="#top">Up</a></div> |
|
197 <hr /> |
|
198 </body></html> |