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