|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.WebBrowser.Session.SessionManagerDialog</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.WebBrowser.Session.SessionManagerDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to manage sessions. |
|
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="#SessionManagerDialog">SessionManagerDialog</a></td> |
|
34 <td>Class documentation goes here.</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="SessionManagerDialog" ID="SessionManagerDialog"></a> |
|
43 <h2>SessionManagerDialog</h2> |
|
44 <p> |
|
45 Class documentation goes here. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_SessionManagerDialog |
|
49 <h3>Class Attributes</h3> |
|
50 <table> |
|
51 <tr><td>ActiveSessionRole</td></tr><tr><td>BackupSessionRole</td></tr><tr><td>DefaultSessionRole</td></tr><tr><td>SessionFileRole</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="#SessionManagerDialog.__init__">SessionManagerDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#SessionManagerDialog.__cloneSession">__cloneSession</a></td> |
|
64 <td>Private slot to clone the selected session.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#SessionManagerDialog.__deleteSession">__deleteSession</a></td> |
|
67 <td>Private slot to delete the selected session.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#SessionManagerDialog.__newSession">__newSession</a></td> |
|
70 <td>Private slot to create a new session.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#SessionManagerDialog.__refresh">__refresh</a></td> |
|
73 <td>Private slot to refresh the list of sessions.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#SessionManagerDialog.__renameSession">__renameSession</a></td> |
|
76 <td>Private slot to rename the selected session.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#SessionManagerDialog.__resizeViewHeader">__resizeViewHeader</a></td> |
|
79 <td>Private method to resize the session column of the list.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#SessionManagerDialog.__switchToSession">__switchToSession</a></td> |
|
82 <td>Private slot to switch to the selected session.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#SessionManagerDialog.__updateButtons">__updateButtons</a></td> |
|
85 <td>Private method to update the button state.</td> |
|
86 </tr><tr> |
|
87 <td><a href="#SessionManagerDialog.__updateSessionItem">__updateSessionItem</a></td> |
|
88 <td>Private method to set various item properties.</td> |
|
89 </tr><tr> |
|
90 <td><a href="#SessionManagerDialog.resizeEvent">resizeEvent</a></td> |
|
91 <td>Protected method handling the dialog being resized.</td> |
|
92 </tr><tr> |
|
93 <td><a href="#SessionManagerDialog.showEvent">showEvent</a></td> |
|
94 <td>Protected method handling the dialog being shown.</td> |
|
95 </tr> |
|
96 </table> |
|
97 <h3>Static Methods</h3> |
|
98 <table> |
|
99 <tr><td>None</td></tr> |
|
100 </table> |
|
101 <a NAME="SessionManagerDialog.__init__" ID="SessionManagerDialog.__init__"></a> |
|
102 <h4>SessionManagerDialog (Constructor)</h4> |
|
103 <b>SessionManagerDialog</b>(<i>parent=None</i>) |
|
104 <p> |
|
105 Constructor |
|
106 </p><dl> |
|
107 <dt><i>parent</i> (QWidget)</dt> |
|
108 <dd> |
|
109 reference to the parent widget |
|
110 </dd> |
|
111 </dl><a NAME="SessionManagerDialog.__cloneSession" ID="SessionManagerDialog.__cloneSession"></a> |
|
112 <h4>SessionManagerDialog.__cloneSession</h4> |
|
113 <b>__cloneSession</b>(<i></i>) |
|
114 <p> |
|
115 Private slot to clone the selected session. |
|
116 </p><a NAME="SessionManagerDialog.__deleteSession" ID="SessionManagerDialog.__deleteSession"></a> |
|
117 <h4>SessionManagerDialog.__deleteSession</h4> |
|
118 <b>__deleteSession</b>(<i></i>) |
|
119 <p> |
|
120 Private slot to delete the selected session. |
|
121 </p><a NAME="SessionManagerDialog.__newSession" ID="SessionManagerDialog.__newSession"></a> |
|
122 <h4>SessionManagerDialog.__newSession</h4> |
|
123 <b>__newSession</b>(<i></i>) |
|
124 <p> |
|
125 Private slot to create a new session. |
|
126 </p><a NAME="SessionManagerDialog.__refresh" ID="SessionManagerDialog.__refresh"></a> |
|
127 <h4>SessionManagerDialog.__refresh</h4> |
|
128 <b>__refresh</b>(<i></i>) |
|
129 <p> |
|
130 Private slot to refresh the list of sessions. |
|
131 </p><a NAME="SessionManagerDialog.__renameSession" ID="SessionManagerDialog.__renameSession"></a> |
|
132 <h4>SessionManagerDialog.__renameSession</h4> |
|
133 <b>__renameSession</b>(<i></i>) |
|
134 <p> |
|
135 Private slot to rename the selected session. |
|
136 </p><a NAME="SessionManagerDialog.__resizeViewHeader" ID="SessionManagerDialog.__resizeViewHeader"></a> |
|
137 <h4>SessionManagerDialog.__resizeViewHeader</h4> |
|
138 <b>__resizeViewHeader</b>(<i></i>) |
|
139 <p> |
|
140 Private method to resize the session column of the list. |
|
141 </p><a NAME="SessionManagerDialog.__switchToSession" ID="SessionManagerDialog.__switchToSession"></a> |
|
142 <h4>SessionManagerDialog.__switchToSession</h4> |
|
143 <b>__switchToSession</b>(<i></i>) |
|
144 <p> |
|
145 Private slot to switch to the selected session. |
|
146 </p><a NAME="SessionManagerDialog.__updateButtons" ID="SessionManagerDialog.__updateButtons"></a> |
|
147 <h4>SessionManagerDialog.__updateButtons</h4> |
|
148 <b>__updateButtons</b>(<i></i>) |
|
149 <p> |
|
150 Private method to update the button state. |
|
151 </p><a NAME="SessionManagerDialog.__updateSessionItem" ID="SessionManagerDialog.__updateSessionItem"></a> |
|
152 <h4>SessionManagerDialog.__updateSessionItem</h4> |
|
153 <b>__updateSessionItem</b>(<i>itm</i>) |
|
154 <p> |
|
155 Private method to set various item properties. |
|
156 </p><dl> |
|
157 <dt><i>itm</i> (QTreeWidgetItem)</dt> |
|
158 <dd> |
|
159 reference to the item to be updated |
|
160 </dd> |
|
161 </dl><a NAME="SessionManagerDialog.resizeEvent" ID="SessionManagerDialog.resizeEvent"></a> |
|
162 <h4>SessionManagerDialog.resizeEvent</h4> |
|
163 <b>resizeEvent</b>(<i>evt</i>) |
|
164 <p> |
|
165 Protected method handling the dialog being resized. |
|
166 </p><dl> |
|
167 <dt><i>evt</i> (QResizeEvent)</dt> |
|
168 <dd> |
|
169 reference to the event object |
|
170 </dd> |
|
171 </dl><a NAME="SessionManagerDialog.showEvent" ID="SessionManagerDialog.showEvent"></a> |
|
172 <h4>SessionManagerDialog.showEvent</h4> |
|
173 <b>showEvent</b>(<i>evt</i>) |
|
174 <p> |
|
175 Protected method handling the dialog being shown. |
|
176 </p><dl> |
|
177 <dt><i>evt</i> (QShowEvent)</dt> |
|
178 <dd> |
|
179 reference to the event object |
|
180 </dd> |
|
181 </dl> |
|
182 <div align="right"><a href="#top">Up</a></div> |
|
183 <hr /> |
|
184 </body></html> |