src/eric7/Documentation/Source/eric7.WebBrowser.Session.SessionManagerDialog.html

Sat, 26 Apr 2025 12:34:32 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Apr 2025 12:34:32 +0200
branch
eric7
changeset 11240
c48c615c04a3
parent 10479
856476537696
permissions
-rw-r--r--

MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.

<!DOCTYPE html>
<html><head>
<title>eric7.WebBrowser.Session.SessionManagerDialog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.WebBrowser.Session.SessionManagerDialog</h1>
<p>
Module implementing a dialog to manage sessions.
</p>

<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Classes</h3>
<table>
<tr>
<td><a href="#SessionManagerDialog">SessionManagerDialog</a></td>
<td>Class implementing a dialog to manage sessions.</td>
</tr>
</table>

<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>

<hr />
<hr />
<a NAME="SessionManagerDialog" ID="SessionManagerDialog"></a>
<h2>SessionManagerDialog</h2>
<p>
    Class implementing a dialog to manage sessions.
</p>

<h3>Derived from</h3>
QDialog, Ui_SessionManagerDialog
<h3>Class Attributes</h3>
<table>
<tr><td>ActiveSessionRole</td></tr>
<tr><td>BackupSessionRole</td></tr>
<tr><td>DefaultSessionRole</td></tr>
<tr><td>SessionFileRole</td></tr>
</table>

<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Methods</h3>
<table>
<tr>
<td><a href="#SessionManagerDialog.__init__">SessionManagerDialog</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#SessionManagerDialog.__cloneSession">__cloneSession</a></td>
<td>Private slot to clone the selected session.</td>
</tr>
<tr>
<td><a href="#SessionManagerDialog.__deleteSession">__deleteSession</a></td>
<td>Private slot to delete the selected session.</td>
</tr>
<tr>
<td><a href="#SessionManagerDialog.__newSession">__newSession</a></td>
<td>Private slot to create a new session.</td>
</tr>
<tr>
<td><a href="#SessionManagerDialog.__refresh">__refresh</a></td>
<td>Private slot to refresh the list of sessions.</td>
</tr>
<tr>
<td><a href="#SessionManagerDialog.__renameSession">__renameSession</a></td>
<td>Private slot to rename the selected session.</td>
</tr>
<tr>
<td><a href="#SessionManagerDialog.__resizeViewHeader">__resizeViewHeader</a></td>
<td>Private method to resize the session column of the list.</td>
</tr>
<tr>
<td><a href="#SessionManagerDialog.__switchToSession">__switchToSession</a></td>
<td>Private slot to switch to the selected session.</td>
</tr>
<tr>
<td><a href="#SessionManagerDialog.__updateButtons">__updateButtons</a></td>
<td>Private method to update the button state.</td>
</tr>
<tr>
<td><a href="#SessionManagerDialog.__updateSessionItem">__updateSessionItem</a></td>
<td>Private method to set various item properties.</td>
</tr>
<tr>
<td><a href="#SessionManagerDialog.resizeEvent">resizeEvent</a></td>
<td>Protected method handling the dialog being resized.</td>
</tr>
<tr>
<td><a href="#SessionManagerDialog.showEvent">showEvent</a></td>
<td>Protected method handling the dialog being shown.</td>
</tr>
</table>

<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>


<a NAME="SessionManagerDialog.__init__" ID="SessionManagerDialog.__init__"></a>
<h4>SessionManagerDialog (Constructor)</h4>
<b>SessionManagerDialog</b>(<i>parent=None</i>)
<p>
        Constructor
</p>

<dl>

<dt><i>parent</i> (QWidget)</dt>
<dd>
reference to the parent widget
</dd>
</dl>
<a NAME="SessionManagerDialog.__cloneSession" ID="SessionManagerDialog.__cloneSession"></a>
<h4>SessionManagerDialog.__cloneSession</h4>
<b>__cloneSession</b>(<i></i>)
<p>
        Private slot to clone the selected session.
</p>

<a NAME="SessionManagerDialog.__deleteSession" ID="SessionManagerDialog.__deleteSession"></a>
<h4>SessionManagerDialog.__deleteSession</h4>
<b>__deleteSession</b>(<i></i>)
<p>
        Private slot to delete the selected session.
</p>

<a NAME="SessionManagerDialog.__newSession" ID="SessionManagerDialog.__newSession"></a>
<h4>SessionManagerDialog.__newSession</h4>
<b>__newSession</b>(<i></i>)
<p>
        Private slot to create a new session.
</p>

<a NAME="SessionManagerDialog.__refresh" ID="SessionManagerDialog.__refresh"></a>
<h4>SessionManagerDialog.__refresh</h4>
<b>__refresh</b>(<i></i>)
<p>
        Private slot to refresh the list of sessions.
</p>

<a NAME="SessionManagerDialog.__renameSession" ID="SessionManagerDialog.__renameSession"></a>
<h4>SessionManagerDialog.__renameSession</h4>
<b>__renameSession</b>(<i></i>)
<p>
        Private slot to rename the selected session.
</p>

<a NAME="SessionManagerDialog.__resizeViewHeader" ID="SessionManagerDialog.__resizeViewHeader"></a>
<h4>SessionManagerDialog.__resizeViewHeader</h4>
<b>__resizeViewHeader</b>(<i></i>)
<p>
        Private method to resize the session column of the list.
</p>

<a NAME="SessionManagerDialog.__switchToSession" ID="SessionManagerDialog.__switchToSession"></a>
<h4>SessionManagerDialog.__switchToSession</h4>
<b>__switchToSession</b>(<i></i>)
<p>
        Private slot to switch to the selected session.
</p>

<a NAME="SessionManagerDialog.__updateButtons" ID="SessionManagerDialog.__updateButtons"></a>
<h4>SessionManagerDialog.__updateButtons</h4>
<b>__updateButtons</b>(<i></i>)
<p>
        Private method to update the button state.
</p>

<a NAME="SessionManagerDialog.__updateSessionItem" ID="SessionManagerDialog.__updateSessionItem"></a>
<h4>SessionManagerDialog.__updateSessionItem</h4>
<b>__updateSessionItem</b>(<i>itm</i>)
<p>
        Private method to set various item properties.
</p>

<dl>

<dt><i>itm</i> (QTreeWidgetItem)</dt>
<dd>
reference to the item to be updated
</dd>
</dl>
<a NAME="SessionManagerDialog.resizeEvent" ID="SessionManagerDialog.resizeEvent"></a>
<h4>SessionManagerDialog.resizeEvent</h4>
<b>resizeEvent</b>(<i>evt</i>)
<p>
        Protected method handling the dialog being resized.
</p>

<dl>

<dt><i>evt</i> (QResizeEvent)</dt>
<dd>
reference to the event object
</dd>
</dl>
<a NAME="SessionManagerDialog.showEvent" ID="SessionManagerDialog.showEvent"></a>
<h4>SessionManagerDialog.showEvent</h4>
<b>showEvent</b>(<i>evt</i>)
<p>
        Protected method handling the dialog being shown.
</p>

<dl>

<dt><i>evt</i> (QShowEvent)</dt>
<dd>
reference to the event object
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial