5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.WebBrowser.Session.SessionManagerDialog</h1> |
9 <h1>eric7.WebBrowser.Session.SessionManagerDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog to manage sessions. |
11 Module implementing a dialog to manage sessions. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
15 <table> |
16 <table> |
16 <tr><td>None</td></tr> |
17 <tr><td>None</td></tr> |
17 </table> |
18 </table> |
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
20 <table> |
21 <table> |
|
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#SessionManagerDialog">SessionManagerDialog</a></td> |
22 <td><a href="#SessionManagerDialog">SessionManagerDialog</a></td> |
25 <td>Class implementing a dialog to manage sessions.</td> |
23 <td>Class implementing a dialog to manage sessions.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
28 <table> |
30 <table> |
29 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
30 </table> |
32 </table> |
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="SessionManagerDialog" ID="SessionManagerDialog"></a> |
34 <a NAME="SessionManagerDialog" ID="SessionManagerDialog"></a> |
36 <h2>SessionManagerDialog</h2> |
35 <h2>SessionManagerDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing a dialog to manage sessions. |
37 Class implementing a dialog to manage sessions. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QDialog, Ui_SessionManagerDialog |
41 QDialog, Ui_SessionManagerDialog |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
44 |
43 <table> |
45 <table> |
44 <tr><td>ActiveSessionRole</td></tr> |
46 <tr><td>ActiveSessionRole</td></tr><tr><td>BackupSessionRole</td></tr><tr><td>DefaultSessionRole</td></tr><tr><td>SessionFileRole</td></tr> |
45 <tr><td>BackupSessionRole</td></tr> |
47 </table> |
46 <tr><td>DefaultSessionRole</td></tr> |
|
47 <tr><td>SessionFileRole</td></tr> |
|
48 </table> |
|
49 |
48 <h3>Class Methods</h3> |
50 <h3>Class Methods</h3> |
49 |
51 <table> |
50 <table> |
52 <tr><td>None</td></tr> |
51 <tr><td>None</td></tr> |
53 </table> |
52 </table> |
54 |
53 <h3>Methods</h3> |
55 <h3>Methods</h3> |
54 |
56 <table> |
55 <table> |
|
56 |
|
57 <tr> |
57 <tr> |
58 <td><a href="#SessionManagerDialog.__init__">SessionManagerDialog</a></td> |
58 <td><a href="#SessionManagerDialog.__init__">SessionManagerDialog</a></td> |
59 <td>Constructor</td> |
59 <td>Constructor</td> |
60 </tr> |
60 </tr> |
61 <tr> |
61 <tr> |
101 <tr> |
101 <tr> |
102 <td><a href="#SessionManagerDialog.showEvent">showEvent</a></td> |
102 <td><a href="#SessionManagerDialog.showEvent">showEvent</a></td> |
103 <td>Protected method handling the dialog being shown.</td> |
103 <td>Protected method handling the dialog being shown.</td> |
104 </tr> |
104 </tr> |
105 </table> |
105 </table> |
|
106 |
106 <h3>Static Methods</h3> |
107 <h3>Static Methods</h3> |
107 |
108 <table> |
108 <table> |
109 <tr><td>None</td></tr> |
109 <tr><td>None</td></tr> |
110 </table> |
110 </table> |
111 |
111 |
112 |
112 <a NAME="SessionManagerDialog.__init__" ID="SessionManagerDialog.__init__"></a> |
113 <a NAME="SessionManagerDialog.__init__" ID="SessionManagerDialog.__init__"></a> |
113 <h4>SessionManagerDialog (Constructor)</h4> |
114 <h4>SessionManagerDialog (Constructor)</h4> |
114 <b>SessionManagerDialog</b>(<i>parent=None</i>) |
115 <b>SessionManagerDialog</b>(<i>parent=None</i>) |
115 |
|
116 <p> |
116 <p> |
117 Constructor |
117 Constructor |
118 </p> |
118 </p> |
|
119 |
119 <dl> |
120 <dl> |
120 |
121 |
121 <dt><i>parent</i> (QWidget)</dt> |
122 <dt><i>parent</i> (QWidget)</dt> |
122 <dd> |
123 <dd> |
123 reference to the parent widget |
124 reference to the parent widget |
124 </dd> |
125 </dd> |
125 </dl> |
126 </dl> |
126 <a NAME="SessionManagerDialog.__cloneSession" ID="SessionManagerDialog.__cloneSession"></a> |
127 <a NAME="SessionManagerDialog.__cloneSession" ID="SessionManagerDialog.__cloneSession"></a> |
127 <h4>SessionManagerDialog.__cloneSession</h4> |
128 <h4>SessionManagerDialog.__cloneSession</h4> |
128 <b>__cloneSession</b>(<i></i>) |
129 <b>__cloneSession</b>(<i></i>) |
129 |
|
130 <p> |
130 <p> |
131 Private slot to clone the selected session. |
131 Private slot to clone the selected session. |
132 </p> |
132 </p> |
|
133 |
133 <a NAME="SessionManagerDialog.__deleteSession" ID="SessionManagerDialog.__deleteSession"></a> |
134 <a NAME="SessionManagerDialog.__deleteSession" ID="SessionManagerDialog.__deleteSession"></a> |
134 <h4>SessionManagerDialog.__deleteSession</h4> |
135 <h4>SessionManagerDialog.__deleteSession</h4> |
135 <b>__deleteSession</b>(<i></i>) |
136 <b>__deleteSession</b>(<i></i>) |
136 |
|
137 <p> |
137 <p> |
138 Private slot to delete the selected session. |
138 Private slot to delete the selected session. |
139 </p> |
139 </p> |
|
140 |
140 <a NAME="SessionManagerDialog.__newSession" ID="SessionManagerDialog.__newSession"></a> |
141 <a NAME="SessionManagerDialog.__newSession" ID="SessionManagerDialog.__newSession"></a> |
141 <h4>SessionManagerDialog.__newSession</h4> |
142 <h4>SessionManagerDialog.__newSession</h4> |
142 <b>__newSession</b>(<i></i>) |
143 <b>__newSession</b>(<i></i>) |
143 |
|
144 <p> |
144 <p> |
145 Private slot to create a new session. |
145 Private slot to create a new session. |
146 </p> |
146 </p> |
|
147 |
147 <a NAME="SessionManagerDialog.__refresh" ID="SessionManagerDialog.__refresh"></a> |
148 <a NAME="SessionManagerDialog.__refresh" ID="SessionManagerDialog.__refresh"></a> |
148 <h4>SessionManagerDialog.__refresh</h4> |
149 <h4>SessionManagerDialog.__refresh</h4> |
149 <b>__refresh</b>(<i></i>) |
150 <b>__refresh</b>(<i></i>) |
150 |
|
151 <p> |
151 <p> |
152 Private slot to refresh the list of sessions. |
152 Private slot to refresh the list of sessions. |
153 </p> |
153 </p> |
|
154 |
154 <a NAME="SessionManagerDialog.__renameSession" ID="SessionManagerDialog.__renameSession"></a> |
155 <a NAME="SessionManagerDialog.__renameSession" ID="SessionManagerDialog.__renameSession"></a> |
155 <h4>SessionManagerDialog.__renameSession</h4> |
156 <h4>SessionManagerDialog.__renameSession</h4> |
156 <b>__renameSession</b>(<i></i>) |
157 <b>__renameSession</b>(<i></i>) |
157 |
|
158 <p> |
158 <p> |
159 Private slot to rename the selected session. |
159 Private slot to rename the selected session. |
160 </p> |
160 </p> |
|
161 |
161 <a NAME="SessionManagerDialog.__resizeViewHeader" ID="SessionManagerDialog.__resizeViewHeader"></a> |
162 <a NAME="SessionManagerDialog.__resizeViewHeader" ID="SessionManagerDialog.__resizeViewHeader"></a> |
162 <h4>SessionManagerDialog.__resizeViewHeader</h4> |
163 <h4>SessionManagerDialog.__resizeViewHeader</h4> |
163 <b>__resizeViewHeader</b>(<i></i>) |
164 <b>__resizeViewHeader</b>(<i></i>) |
164 |
|
165 <p> |
165 <p> |
166 Private method to resize the session column of the list. |
166 Private method to resize the session column of the list. |
167 </p> |
167 </p> |
|
168 |
168 <a NAME="SessionManagerDialog.__switchToSession" ID="SessionManagerDialog.__switchToSession"></a> |
169 <a NAME="SessionManagerDialog.__switchToSession" ID="SessionManagerDialog.__switchToSession"></a> |
169 <h4>SessionManagerDialog.__switchToSession</h4> |
170 <h4>SessionManagerDialog.__switchToSession</h4> |
170 <b>__switchToSession</b>(<i></i>) |
171 <b>__switchToSession</b>(<i></i>) |
171 |
|
172 <p> |
172 <p> |
173 Private slot to switch to the selected session. |
173 Private slot to switch to the selected session. |
174 </p> |
174 </p> |
|
175 |
175 <a NAME="SessionManagerDialog.__updateButtons" ID="SessionManagerDialog.__updateButtons"></a> |
176 <a NAME="SessionManagerDialog.__updateButtons" ID="SessionManagerDialog.__updateButtons"></a> |
176 <h4>SessionManagerDialog.__updateButtons</h4> |
177 <h4>SessionManagerDialog.__updateButtons</h4> |
177 <b>__updateButtons</b>(<i></i>) |
178 <b>__updateButtons</b>(<i></i>) |
178 |
|
179 <p> |
179 <p> |
180 Private method to update the button state. |
180 Private method to update the button state. |
181 </p> |
181 </p> |
|
182 |
182 <a NAME="SessionManagerDialog.__updateSessionItem" ID="SessionManagerDialog.__updateSessionItem"></a> |
183 <a NAME="SessionManagerDialog.__updateSessionItem" ID="SessionManagerDialog.__updateSessionItem"></a> |
183 <h4>SessionManagerDialog.__updateSessionItem</h4> |
184 <h4>SessionManagerDialog.__updateSessionItem</h4> |
184 <b>__updateSessionItem</b>(<i>itm</i>) |
185 <b>__updateSessionItem</b>(<i>itm</i>) |
185 |
|
186 <p> |
186 <p> |
187 Private method to set various item properties. |
187 Private method to set various item properties. |
188 </p> |
188 </p> |
|
189 |
189 <dl> |
190 <dl> |
190 |
191 |
191 <dt><i>itm</i> (QTreeWidgetItem)</dt> |
192 <dt><i>itm</i> (QTreeWidgetItem)</dt> |
192 <dd> |
193 <dd> |
193 reference to the item to be updated |
194 reference to the item to be updated |
194 </dd> |
195 </dd> |
195 </dl> |
196 </dl> |
196 <a NAME="SessionManagerDialog.resizeEvent" ID="SessionManagerDialog.resizeEvent"></a> |
197 <a NAME="SessionManagerDialog.resizeEvent" ID="SessionManagerDialog.resizeEvent"></a> |
197 <h4>SessionManagerDialog.resizeEvent</h4> |
198 <h4>SessionManagerDialog.resizeEvent</h4> |
198 <b>resizeEvent</b>(<i>evt</i>) |
199 <b>resizeEvent</b>(<i>evt</i>) |
199 |
|
200 <p> |
200 <p> |
201 Protected method handling the dialog being resized. |
201 Protected method handling the dialog being resized. |
202 </p> |
202 </p> |
|
203 |
203 <dl> |
204 <dl> |
204 |
205 |
205 <dt><i>evt</i> (QResizeEvent)</dt> |
206 <dt><i>evt</i> (QResizeEvent)</dt> |
206 <dd> |
207 <dd> |
207 reference to the event object |
208 reference to the event object |
208 </dd> |
209 </dd> |
209 </dl> |
210 </dl> |
210 <a NAME="SessionManagerDialog.showEvent" ID="SessionManagerDialog.showEvent"></a> |
211 <a NAME="SessionManagerDialog.showEvent" ID="SessionManagerDialog.showEvent"></a> |
211 <h4>SessionManagerDialog.showEvent</h4> |
212 <h4>SessionManagerDialog.showEvent</h4> |
212 <b>showEvent</b>(<i>evt</i>) |
213 <b>showEvent</b>(<i>evt</i>) |
213 |
|
214 <p> |
214 <p> |
215 Protected method handling the dialog being shown. |
215 Protected method handling the dialog being shown. |
216 </p> |
216 </p> |
|
217 |
217 <dl> |
218 <dl> |
218 |
219 |
219 <dt><i>evt</i> (QShowEvent)</dt> |
220 <dt><i>evt</i> (QShowEvent)</dt> |
220 <dd> |
221 <dd> |
221 reference to the event object |
222 reference to the event object |