eric6/Documentation/Source/eric6.WebBrowser.Session.SessionManagerDialog.html

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

eric ide

mercurial