--- a/Documentation/Source/eric6.WebBrowser.WebBrowserWindow.html Sat May 27 18:51:22 2017 +0200 +++ b/Documentation/Source/eric6.WebBrowser.WebBrowserWindow.html Sun May 28 16:59:18 2017 +0200 @@ -166,6 +166,9 @@ <td><a href="#WebBrowserWindow.__init__">WebBrowserWindow</a></td> <td>Constructor</td> </tr><tr> +<td><a href="#WebBrowserWindow.__TBMenuTriggered">__TBMenuTriggered</a></td> +<td>Private method to handle the toggle of a toolbar via the Window-> Toolbars submenu or the toolbars popup menu.</td> +</tr><tr> <td><a href="#WebBrowserWindow.__about">__about</a></td> <td>Private slot to show the about information.</td> </tr><tr> @@ -214,6 +217,12 @@ <td><a href="#WebBrowserWindow.__copy">__copy</a></td> <td>Private slot called to handle the copy action.</td> </tr><tr> +<td><a href="#WebBrowserWindow.__createTextEncodingAction">__createTextEncodingAction</a></td> +<td>Private method to create an action for the text encoding menu.</td> +</tr><tr> +<td><a href="#WebBrowserWindow.__createTextEncodingSubmenu">__createTextEncodingSubmenu</a></td> +<td>Private method to create a text encoding sub menu.</td> +</tr><tr> <td><a href="#WebBrowserWindow.__currentChanged">__currentChanged</a></td> <td>Private slot to handle the currentChanged signal.</td> </tr><tr> @@ -259,6 +268,9 @@ <td><a href="#WebBrowserWindow.__initMenus">__initMenus</a></td> <td>Private method to create the menus.</td> </tr><tr> +<td><a href="#WebBrowserWindow.__initSuperMenu">__initSuperMenu</a></td> +<td>Private method to create the super menu and attach it to the super menu button.</td> +</tr><tr> <td><a href="#WebBrowserWindow.__initToolbars">__initToolbars</a></td> <td>Private method to create the toolbars.</td> </tr><tr> @@ -289,6 +301,9 @@ <td><a href="#WebBrowserWindow.__paste">__paste</a></td> <td>Private slot called to handle the paste action.</td> </tr><tr> +<td><a href="#WebBrowserWindow.__populateToolbarsMenu">__populateToolbarsMenu</a></td> +<td>Private method to populate the toolbars menu.</td> +</tr><tr> <td><a href="#WebBrowserWindow.__prevTab">__prevTab</a></td> <td>Private slot used to show the previous tab.</td> </tr><tr> @@ -316,9 +331,18 @@ <td><a href="#WebBrowserWindow.__selectAll">__selectAll</a></td> <td>Private slot to handle the select all action.</td> </tr><tr> +<td><a href="#WebBrowserWindow.__setBookmarksToolbarVisibility">__setBookmarksToolbarVisibility</a></td> +<td>Private method to set the visibility of the bookmarks toolbar.</td> +</tr><tr> <td><a href="#WebBrowserWindow.__setIconDatabasePath">__setIconDatabasePath</a></td> <td>Private method to set the favicons path.</td> </tr><tr> +<td><a href="#WebBrowserWindow.__setMenuBarVisibility">__setMenuBarVisibility</a></td> +<td>Private method to set the visibility of the menu bar.</td> +</tr><tr> +<td><a href="#WebBrowserWindow.__setStatusBarVisible">__setStatusBarVisible</a></td> +<td>Private method to set the visibility of the status bar.</td> +</tr><tr> <td><a href="#WebBrowserWindow.__setTextEncoding">__setTextEncoding</a></td> <td>Private slot to set the selected text encoding as the default for this session.</td> </tr><tr> @@ -397,6 +421,9 @@ <td><a href="#WebBrowserWindow.__showTocWindow">__showTocWindow</a></td> <td>Private method to show the table of contents window.</td> </tr><tr> +<td><a href="#WebBrowserWindow.__showToolbarsMenu">__showToolbarsMenu</a></td> +<td>Private slot to display the Toolbars menu.</td> +</tr><tr> <td><a href="#WebBrowserWindow.__showUserAgentsDialog">__showUserAgentsDialog</a></td> <td>Private slot to show the user agents management dialog.</td> </tr><tr> @@ -478,6 +505,9 @@ <td><a href="#WebBrowserWindow.closeEvent">closeEvent</a></td> <td>Protected event handler for the close event.</td> </tr><tr> +<td><a href="#WebBrowserWindow.createPopupMenu">createPopupMenu</a></td> +<td>Public method to create the toolbars menu for Qt.</td> +</tr><tr> <td><a href="#WebBrowserWindow.currentBrowser">currentBrowser</a></td> <td>Public method to get a reference to the current web browser.</td> </tr><tr> @@ -983,6 +1013,17 @@ <dd> directory to be used for the settings files (str) </dd> +</dl><a NAME="WebBrowserWindow.__TBMenuTriggered" ID="WebBrowserWindow.__TBMenuTriggered"></a> +<h4>WebBrowserWindow.__TBMenuTriggered</h4> +<b>__TBMenuTriggered</b>(<i>act</i>) +<p> + Private method to handle the toggle of a toolbar via the Window-> + Toolbars submenu or the toolbars popup menu. +</p><dl> +<dt><i>act</i> (QAction)</dt> +<dd> +reference to the action that was triggered +</dd> </dl><a NAME="WebBrowserWindow.__about" ID="WebBrowserWindow.__about"></a> <h4>WebBrowserWindow.__about</h4> <b>__about</b>(<i></i>) @@ -1101,7 +1142,39 @@ <b>__copy</b>(<i></i>) <p> Private slot called to handle the copy action. -</p><a NAME="WebBrowserWindow.__currentChanged" ID="WebBrowserWindow.__currentChanged"></a> +</p><a NAME="WebBrowserWindow.__createTextEncodingAction" ID="WebBrowserWindow.__createTextEncodingAction"></a> +<h4>WebBrowserWindow.__createTextEncodingAction</h4> +<b>__createTextEncodingAction</b>(<i>codec, defaultCodec, parentMenu</i>) +<p> + Private method to create an action for the text encoding menu. +</p><dl> +<dt><i>codec</i> (str)</dt> +<dd> +name of the codec to create an action for +</dd><dt><i>defaultCodec</i> (str)</dt> +<dd> +name of the default codec +</dd><dt><i>parentMenu</i> (QMenu)</dt> +<dd> +reference to the parent menu +</dd> +</dl><a NAME="WebBrowserWindow.__createTextEncodingSubmenu" ID="WebBrowserWindow.__createTextEncodingSubmenu"></a> +<h4>WebBrowserWindow.__createTextEncodingSubmenu</h4> +<b>__createTextEncodingSubmenu</b>(<i>title, codecNames, parentMenu</i>) +<p> + Private method to create a text encoding sub menu. +</p><dl> +<dt><i>title</i> (str)</dt> +<dd> +title of the menu +</dd><dt><i>codecNames</i> (list of str)</dt> +<dd> +list of codec names for the menu +</dd><dt><i>parentMenu</i> (QMenu)</dt> +<dd> +reference to the parent menu +</dd> +</dl><a NAME="WebBrowserWindow.__currentChanged" ID="WebBrowserWindow.__currentChanged"></a> <h4>WebBrowserWindow.__currentChanged</h4> <b>__currentChanged</b>(<i>index</i>) <p> @@ -1199,6 +1272,12 @@ <b>__initMenus</b>(<i></i>) <p> Private method to create the menus. +</p><a NAME="WebBrowserWindow.__initSuperMenu" ID="WebBrowserWindow.__initSuperMenu"></a> +<h4>WebBrowserWindow.__initSuperMenu</h4> +<b>__initSuperMenu</b>(<i></i>) +<p> + Private method to create the super menu and attach it to the super + menu button. </p><a NAME="WebBrowserWindow.__initToolbars" ID="WebBrowserWindow.__initToolbars"></a> <h4>WebBrowserWindow.__initToolbars</h4> <b>__initToolbars</b>(<i></i>) @@ -1255,7 +1334,17 @@ <b>__paste</b>(<i></i>) <p> Private slot called to handle the paste action. -</p><a NAME="WebBrowserWindow.__prevTab" ID="WebBrowserWindow.__prevTab"></a> +</p><a NAME="WebBrowserWindow.__populateToolbarsMenu" ID="WebBrowserWindow.__populateToolbarsMenu"></a> +<h4>WebBrowserWindow.__populateToolbarsMenu</h4> +<b>__populateToolbarsMenu</b>(<i>menu</i>) +<p> + Private method to populate the toolbars menu. +</p><dl> +<dt><i>menu</i> (QMenu)</dt> +<dd> +reference to the menu to be populated +</dd> +</dl><a NAME="WebBrowserWindow.__prevTab" ID="WebBrowserWindow.__prevTab"></a> <h4>WebBrowserWindow.__prevTab</h4> <b>__prevTab</b>(<i></i>) <p> @@ -1307,7 +1396,17 @@ <b>__selectAll</b>(<i></i>) <p> Private slot to handle the select all action. -</p><a NAME="WebBrowserWindow.__setIconDatabasePath" ID="WebBrowserWindow.__setIconDatabasePath"></a> +</p><a NAME="WebBrowserWindow.__setBookmarksToolbarVisibility" ID="WebBrowserWindow.__setBookmarksToolbarVisibility"></a> +<h4>WebBrowserWindow.__setBookmarksToolbarVisibility</h4> +<b>__setBookmarksToolbarVisibility</b>(<i>visible</i>) +<p> + Private method to set the visibility of the bookmarks toolbar. +</p><dl> +<dt><i>visible</i> (bool)</dt> +<dd> +flag indicating the toolbar visibility +</dd> +</dl><a NAME="WebBrowserWindow.__setIconDatabasePath" ID="WebBrowserWindow.__setIconDatabasePath"></a> <h4>WebBrowserWindow.__setIconDatabasePath</h4> <b>__setIconDatabasePath</b>(<i>enable=True</i>) <p> @@ -1317,6 +1416,26 @@ <dd> flag indicating to enabled icon storage (boolean) </dd> +</dl><a NAME="WebBrowserWindow.__setMenuBarVisibility" ID="WebBrowserWindow.__setMenuBarVisibility"></a> +<h4>WebBrowserWindow.__setMenuBarVisibility</h4> +<b>__setMenuBarVisibility</b>(<i>visible</i>) +<p> + Private method to set the visibility of the menu bar. +</p><dl> +<dt><i>visible</i> (bool)</dt> +<dd> +flag indicating the menu bar visibility +</dd> +</dl><a NAME="WebBrowserWindow.__setStatusBarVisible" ID="WebBrowserWindow.__setStatusBarVisible"></a> +<h4>WebBrowserWindow.__setStatusBarVisible</h4> +<b>__setStatusBarVisible</b>(<i>visible</i>) +<p> + Private method to set the visibility of the status bar. +</p><dl> +<dt><i>visible</i> (bool)</dt> +<dd> +flag indicating the status bar visibility +</dd> </dl><a NAME="WebBrowserWindow.__setTextEncoding" ID="WebBrowserWindow.__setTextEncoding"></a> <h4>WebBrowserWindow.__setTextEncoding</h4> <b>__setTextEncoding</b>(<i>act</i>) @@ -1468,6 +1587,11 @@ <b>__showTocWindow</b>(<i></i>) <p> Private method to show the table of contents window. +</p><a NAME="WebBrowserWindow.__showToolbarsMenu" ID="WebBrowserWindow.__showToolbarsMenu"></a> +<h4>WebBrowserWindow.__showToolbarsMenu</h4> +<b>__showToolbarsMenu</b>(<i></i>) +<p> + Private slot to display the Toolbars menu. </p><a NAME="WebBrowserWindow.__showUserAgentsDialog" ID="WebBrowserWindow.__showUserAgentsDialog"></a> <h4>WebBrowserWindow.__showUserAgentsDialog</h4> <b>__showUserAgentsDialog</b>(<i></i>) @@ -1666,6 +1790,21 @@ <br />This event is simply accepted after the history has been saved and all window references have been deleted. </dd> +</dl><a NAME="WebBrowserWindow.createPopupMenu" ID="WebBrowserWindow.createPopupMenu"></a> +<h4>WebBrowserWindow.createPopupMenu</h4> +<b>createPopupMenu</b>(<i></i>) +<p> + Public method to create the toolbars menu for Qt. +</p><dl> +<dt>Returns:</dt> +<dd> +toolbars menu +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +QMenu +</dd> </dl><a NAME="WebBrowserWindow.currentBrowser" ID="WebBrowserWindow.currentBrowser"></a> <h4>WebBrowserWindow.currentBrowser</h4> <b>currentBrowser</b>(<i></i>) @@ -1865,7 +2004,7 @@ </dd><dt><i>addNextTo</i></dt> <dd> reference to the browser to open the tab after - (HelpBrowser) + (WebBrowserView) </dd><dt><i>background=</i></dt> <dd> flag indicating to open the tab in the