Sat, 10 Mar 2012 15:17:52 +0100
Added the capability to restore closed tabs.
--- a/APIs/Python3/eric5.api Sun Mar 04 18:20:13 2012 +0100 +++ b/APIs/Python3/eric5.api Sat Mar 10 15:17:52 2012 +0100 @@ -1868,6 +1868,14 @@ eric5.Helpviewer.Bookmarks.XbelReader.XmlEntityResolver.resolveUndeclaredEntity?4(entity) eric5.Helpviewer.Bookmarks.XbelWriter.XbelWriter.write?4(fileNameOrDevice, root) eric5.Helpviewer.Bookmarks.XbelWriter.XbelWriter?1() +eric5.Helpviewer.ClosedTabsManager.ClosedTab?1(url=QUrl(), title="", position=-1) +eric5.Helpviewer.ClosedTabsManager.ClosedTabsManager.allClosedTabs?4() +eric5.Helpviewer.ClosedTabsManager.ClosedTabsManager.clearList?4() +eric5.Helpviewer.ClosedTabsManager.ClosedTabsManager.closedTabAvailable?7 +eric5.Helpviewer.ClosedTabsManager.ClosedTabsManager.getClosedTabAt?4(index) +eric5.Helpviewer.ClosedTabsManager.ClosedTabsManager.isClosedTabAvailable?4() +eric5.Helpviewer.ClosedTabsManager.ClosedTabsManager.recordBrowser?4(browser, position) +eric5.Helpviewer.ClosedTabsManager.ClosedTabsManager?1(parent=None) eric5.Helpviewer.CookieJar.CookieDetailsDialog.CookieDetailsDialog.setData?4(domain, name, path, secure, expires, value) eric5.Helpviewer.CookieJar.CookieDetailsDialog.CookieDetailsDialog?1(parent=None) eric5.Helpviewer.CookieJar.CookieExceptionsModel.CookieExceptionsModel.addRule?4(host, rule) @@ -2108,17 +2116,23 @@ eric5.Helpviewer.HelpTabWidget.HelpTabWidget.browserAt?4(index) eric5.Helpviewer.HelpTabWidget.HelpTabWidget.browserClosed?7 eric5.Helpviewer.HelpTabWidget.HelpTabWidget.browsers?4() +eric5.Helpviewer.HelpTabWidget.HelpTabWidget.canRestoreClosedTab?4() +eric5.Helpviewer.HelpTabWidget.HelpTabWidget.clearClosedTabsList?4() eric5.Helpviewer.HelpTabWidget.HelpTabWidget.closeAllBrowsers?4() eric5.Helpviewer.HelpTabWidget.HelpTabWidget.closeBrowser?4() eric5.Helpviewer.HelpTabWidget.HelpTabWidget.closeBrowserAt?4(index) +eric5.Helpviewer.HelpTabWidget.HelpTabWidget.closedTabsManager?4() eric5.Helpviewer.HelpTabWidget.HelpTabWidget.currentBrowser?4() eric5.Helpviewer.HelpTabWidget.HelpTabWidget.currentUrlBar?4() eric5.Helpviewer.HelpTabWidget.HelpTabWidget.getSourceFileList?4() -eric5.Helpviewer.HelpTabWidget.HelpTabWidget.newBrowser?4(link=None, requestData=None) +eric5.Helpviewer.HelpTabWidget.HelpTabWidget.newBrowser?4(link=None, requestData=None, position=-1) eric5.Helpviewer.HelpTabWidget.HelpTabWidget.preferencesChanged?4() eric5.Helpviewer.HelpTabWidget.HelpTabWidget.printBrowser?4(browser=None) eric5.Helpviewer.HelpTabWidget.HelpTabWidget.printBrowserPdf?4(browser=None) eric5.Helpviewer.HelpTabWidget.HelpTabWidget.printPreviewBrowser?4(browser=None) +eric5.Helpviewer.HelpTabWidget.HelpTabWidget.reloadAllBrowsers?4() +eric5.Helpviewer.HelpTabWidget.HelpTabWidget.restoreAllClosedTabs?4() +eric5.Helpviewer.HelpTabWidget.HelpTabWidget.restoreClosedTab?4() eric5.Helpviewer.HelpTabWidget.HelpTabWidget.shallShutDown?4() eric5.Helpviewer.HelpTabWidget.HelpTabWidget.showMessage?7 eric5.Helpviewer.HelpTabWidget.HelpTabWidget.sourceChanged?7 @@ -2274,7 +2288,7 @@ eric5.Helpviewer.History.HistoryMenu.HistoryMenu.postPopulated?4() eric5.Helpviewer.History.HistoryMenu.HistoryMenu.prePopulated?4() eric5.Helpviewer.History.HistoryMenu.HistoryMenu.setInitialActions?4(actions) -eric5.Helpviewer.History.HistoryMenu.HistoryMenu?1(parent=None) +eric5.Helpviewer.History.HistoryMenu.HistoryMenu?1(parent=None, tabWidget=None) eric5.Helpviewer.History.HistoryMenu.HistoryMenuModel.MOVEDROWS?7 eric5.Helpviewer.History.HistoryMenu.HistoryMenuModel.bumpedRows?4() eric5.Helpviewer.History.HistoryMenu.HistoryMenuModel.columnCount?4(parent=QModelIndex())
--- a/APIs/Python3/eric5.bas Sun Mar 04 18:20:13 2012 +0100 +++ b/APIs/Python3/eric5.bas Sat Mar 10 15:17:52 2012 +0100 @@ -62,6 +62,7 @@ ClickToFlash QWidget Ui_ClickToFlash ClickToFlashPlugin WebPluginInterface ClickToFlashWhitelistDialog QDialog Ui_ClickToFlashWhitelistDialog +ClosedTabsManager QObject CodeMetricsDialog QDialog Ui_CodeMetricsDialog Coding ClbrBase CodingError Exception
--- a/Documentation/Help/source.qhp Sun Mar 04 18:20:13 2012 +0100 +++ b/Documentation/Help/source.qhp Sat Mar 10 15:17:52 2012 +0100 @@ -325,6 +325,7 @@ </section> <section title="eric5.Helpviewer.data" ref="index-eric5.Helpviewer.data.html"> </section> + <section title="eric5.Helpviewer.ClosedTabsManager" ref="eric5.Helpviewer.ClosedTabsManager.html" /> <section title="eric5.Helpviewer.HelpBrowserWV" ref="eric5.Helpviewer.HelpBrowserWV.html" /> <section title="eric5.Helpviewer.HelpClearPrivateDataDialog" ref="eric5.Helpviewer.HelpClearPrivateDataDialog.html" /> <section title="eric5.Helpviewer.HelpDocsInstaller" ref="eric5.Helpviewer.HelpDocsInstaller.html" /> @@ -1882,6 +1883,17 @@ <keyword name="Client.printf_line" id="Client.printf_line" ref="eric5.DebugClients.Ruby.Debuggee.html#Client.printf_line" /> <keyword name="Client.printf_scriptExcn" id="Client.printf_scriptExcn" ref="eric5.DebugClients.Ruby.Debuggee.html#Client.printf_scriptExcn" /> <keyword name="Client.traceRuby?" id="Client.traceRuby?" ref="eric5.DebugClients.Ruby.Debuggee.html#Client.traceRuby?" /> + <keyword name="ClosedTab" id="ClosedTab" ref="eric5.Helpviewer.ClosedTabsManager.html#ClosedTab" /> + <keyword name="ClosedTab (Constructor)" id="ClosedTab (Constructor)" ref="eric5.Helpviewer.ClosedTabsManager.html#ClosedTab.__init__" /> + <keyword name="ClosedTab.__eq__" id="ClosedTab.__eq__" ref="eric5.Helpviewer.ClosedTabsManager.html#ClosedTab.__eq__" /> + <keyword name="ClosedTabsManager" id="ClosedTabsManager" ref="eric5.Helpviewer.ClosedTabsManager.html#ClosedTabsManager" /> + <keyword name="ClosedTabsManager (Constructor)" id="ClosedTabsManager (Constructor)" ref="eric5.Helpviewer.ClosedTabsManager.html#ClosedTabsManager.__init__" /> + <keyword name="ClosedTabsManager (Module)" id="ClosedTabsManager (Module)" ref="eric5.Helpviewer.ClosedTabsManager.html" /> + <keyword name="ClosedTabsManager.allClosedTabs" id="ClosedTabsManager.allClosedTabs" ref="eric5.Helpviewer.ClosedTabsManager.html#ClosedTabsManager.allClosedTabs" /> + <keyword name="ClosedTabsManager.clearList" id="ClosedTabsManager.clearList" ref="eric5.Helpviewer.ClosedTabsManager.html#ClosedTabsManager.clearList" /> + <keyword name="ClosedTabsManager.getClosedTabAt" id="ClosedTabsManager.getClosedTabAt" ref="eric5.Helpviewer.ClosedTabsManager.html#ClosedTabsManager.getClosedTabAt" /> + <keyword name="ClosedTabsManager.isClosedTabAvailable" id="ClosedTabsManager.isClosedTabAvailable" ref="eric5.Helpviewer.ClosedTabsManager.html#ClosedTabsManager.isClosedTabAvailable" /> + <keyword name="ClosedTabsManager.recordBrowser" id="ClosedTabsManager.recordBrowser" ref="eric5.Helpviewer.ClosedTabsManager.html#ClosedTabsManager.recordBrowser" /> <keyword name="CodeMetrics (Module)" id="CodeMetrics (Module)" ref="eric5.DataViews.CodeMetrics.html" /> <keyword name="CodeMetricsDialog" id="CodeMetricsDialog" ref="eric5.DataViews.CodeMetricsDialog.html#CodeMetricsDialog" /> <keyword name="CodeMetricsDialog (Constructor)" id="CodeMetricsDialog (Constructor)" ref="eric5.DataViews.CodeMetricsDialog.html#CodeMetricsDialog.__init__" /> @@ -4469,6 +4481,8 @@ <keyword name="HelpTabWidget" id="HelpTabWidget" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget" /> <keyword name="HelpTabWidget (Constructor)" id="HelpTabWidget (Constructor)" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.__init__" /> <keyword name="HelpTabWidget (Module)" id="HelpTabWidget (Module)" ref="eric5.Helpviewer.HelpTabWidget.html" /> + <keyword name="HelpTabWidget.__aboutToShowClosedTabsMenu" id="HelpTabWidget.__aboutToShowClosedTabsMenu" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.__aboutToShowClosedTabsMenu" /> + <keyword name="HelpTabWidget.__closedTabAvailable" id="HelpTabWidget.__closedTabAvailable" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.__closedTabAvailable" /> <keyword name="HelpTabWidget.__currentChanged" id="HelpTabWidget.__currentChanged" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.__currentChanged" /> <keyword name="HelpTabWidget.__elide" id="HelpTabWidget.__elide" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.__elide" /> <keyword name="HelpTabWidget.__guessUrlFromPath" id="HelpTabWidget.__guessUrlFromPath" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.__guessUrlFromPath" /> @@ -4497,9 +4511,12 @@ <keyword name="HelpTabWidget.__windowCloseRequested" id="HelpTabWidget.__windowCloseRequested" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.__windowCloseRequested" /> <keyword name="HelpTabWidget.browserAt" id="HelpTabWidget.browserAt" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.browserAt" /> <keyword name="HelpTabWidget.browsers" id="HelpTabWidget.browsers" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.browsers" /> + <keyword name="HelpTabWidget.canRestoreClosedTab" id="HelpTabWidget.canRestoreClosedTab" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.canRestoreClosedTab" /> + <keyword name="HelpTabWidget.clearClosedTabsList" id="HelpTabWidget.clearClosedTabsList" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.clearClosedTabsList" /> <keyword name="HelpTabWidget.closeAllBrowsers" id="HelpTabWidget.closeAllBrowsers" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.closeAllBrowsers" /> <keyword name="HelpTabWidget.closeBrowser" id="HelpTabWidget.closeBrowser" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.closeBrowser" /> <keyword name="HelpTabWidget.closeBrowserAt" id="HelpTabWidget.closeBrowserAt" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.closeBrowserAt" /> + <keyword name="HelpTabWidget.closedTabsManager" id="HelpTabWidget.closedTabsManager" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.closedTabsManager" /> <keyword name="HelpTabWidget.currentBrowser" id="HelpTabWidget.currentBrowser" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.currentBrowser" /> <keyword name="HelpTabWidget.currentUrlBar" id="HelpTabWidget.currentUrlBar" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.currentUrlBar" /> <keyword name="HelpTabWidget.getSourceFileList" id="HelpTabWidget.getSourceFileList" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.getSourceFileList" /> @@ -4508,6 +4525,9 @@ <keyword name="HelpTabWidget.printBrowser" id="HelpTabWidget.printBrowser" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.printBrowser" /> <keyword name="HelpTabWidget.printBrowserPdf" id="HelpTabWidget.printBrowserPdf" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.printBrowserPdf" /> <keyword name="HelpTabWidget.printPreviewBrowser" id="HelpTabWidget.printPreviewBrowser" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.printPreviewBrowser" /> + <keyword name="HelpTabWidget.reloadAllBrowsers" id="HelpTabWidget.reloadAllBrowsers" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.reloadAllBrowsers" /> + <keyword name="HelpTabWidget.restoreAllClosedTabs" id="HelpTabWidget.restoreAllClosedTabs" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.restoreAllClosedTabs" /> + <keyword name="HelpTabWidget.restoreClosedTab" id="HelpTabWidget.restoreClosedTab" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.restoreClosedTab" /> <keyword name="HelpTabWidget.shallShutDown" id="HelpTabWidget.shallShutDown" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.shallShutDown" /> <keyword name="HelpTabWidget.stackedUrlBar" id="HelpTabWidget.stackedUrlBar" ref="eric5.Helpviewer.HelpTabWidget.html#HelpTabWidget.stackedUrlBar" /> <keyword name="HelpTocWidget" id="HelpTocWidget" ref="eric5.Helpviewer.HelpTocWidget.html#HelpTocWidget" /> @@ -5603,8 +5623,10 @@ <keyword name="HistoryMenu" id="HistoryMenu" ref="eric5.Helpviewer.History.HistoryMenu.html#HistoryMenu" /> <keyword name="HistoryMenu (Constructor)" id="HistoryMenu (Constructor)" ref="eric5.Helpviewer.History.HistoryMenu.html#HistoryMenu.__init__" /> <keyword name="HistoryMenu (Module)" id="HistoryMenu (Module)" ref="eric5.Helpviewer.History.HistoryMenu.html" /> + <keyword name="HistoryMenu.__aboutToShowClosedTabsMenu" id="HistoryMenu.__aboutToShowClosedTabsMenu" ref="eric5.Helpviewer.History.HistoryMenu.html#HistoryMenu.__aboutToShowClosedTabsMenu" /> <keyword name="HistoryMenu.__activated" id="HistoryMenu.__activated" ref="eric5.Helpviewer.History.HistoryMenu.html#HistoryMenu.__activated" /> <keyword name="HistoryMenu.__clearHistoryDialog" id="HistoryMenu.__clearHistoryDialog" ref="eric5.Helpviewer.History.HistoryMenu.html#HistoryMenu.__clearHistoryDialog" /> + <keyword name="HistoryMenu.__closedTabAvailable" id="HistoryMenu.__closedTabAvailable" ref="eric5.Helpviewer.History.HistoryMenu.html#HistoryMenu.__closedTabAvailable" /> <keyword name="HistoryMenu.__showHistoryDialog" id="HistoryMenu.__showHistoryDialog" ref="eric5.Helpviewer.History.HistoryMenu.html#HistoryMenu.__showHistoryDialog" /> <keyword name="HistoryMenu.postPopulated" id="HistoryMenu.postPopulated" ref="eric5.Helpviewer.History.HistoryMenu.html#HistoryMenu.postPopulated" /> <keyword name="HistoryMenu.prePopulated" id="HistoryMenu.prePopulated" ref="eric5.Helpviewer.History.HistoryMenu.html#HistoryMenu.prePopulated" /> @@ -11750,6 +11772,7 @@ <file>eric5.Helpviewer.Bookmarks.DefaultBookmarks.html</file> <file>eric5.Helpviewer.Bookmarks.XbelReader.html</file> <file>eric5.Helpviewer.Bookmarks.XbelWriter.html</file> + <file>eric5.Helpviewer.ClosedTabsManager.html</file> <file>eric5.Helpviewer.CookieJar.CookieDetailsDialog.html</file> <file>eric5.Helpviewer.CookieJar.CookieExceptionsModel.html</file> <file>eric5.Helpviewer.CookieJar.CookieJar.html</file>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.Helpviewer.ClosedTabsManager.html Sat Mar 10 15:17:52 2012 +0100 @@ -0,0 +1,218 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.Helpviewer.ClosedTabsManager</title> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.Helpviewer.ClosedTabsManager</h1> +<p> +Module implementing a class to manage closed tabs. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#ClosedTab">ClosedTab</a></td> +<td>Class implementing a structure to store data about a closed tab.</td> +</tr><tr> +<td><a href="#ClosedTabsManager">ClosedTabsManager</a></td> +<td>Class implementing a manager for closed tabs.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="ClosedTab" ID="ClosedTab"></a> +<h2>ClosedTab</h2> +<p> + Class implementing a structure to store data about a closed tab. +</p> +<h3>Derived from</h3> +object +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#ClosedTab.__init__">ClosedTab</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#ClosedTab.__eq__">__eq__</a></td> +<td>Special method implementing the equality operator.</td> +</tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<a NAME="ClosedTab.__init__" ID="ClosedTab.__init__"></a> +<h4>ClosedTab (Constructor)</h4> +<b>ClosedTab</b>(<i>url=QUrl(), title="", position=-1</i>) +<p> + Constructor +</p><dl> +<dt><i>url</i></dt> +<dd> +URL of the closed tab (QUrl) +</dd><dt><i>title</i></dt> +<dd> +title of the closed tab (string) +</dd><dt><i>position</i></dt> +<dd> +index of the closed tab (integer) +</dd> +</dl><a NAME="ClosedTab.__eq__" ID="ClosedTab.__eq__"></a> +<h4>ClosedTab.__eq__</h4> +<b>__eq__</b>(<i>other</i>) +<p> + Special method implementing the equality operator. +</p><dl> +<dt><i>other</i></dt> +<dd> +reference to the object to compare against (ClosedTab) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="ClosedTabsManager" ID="ClosedTabsManager"></a> +<h2>ClosedTabsManager</h2> +<p> + Class implementing a manager for closed tabs. +</p><h3>Signals</h3> +<dl> +<dt>closedTabAvailable(boolean)</dt> +<dd> +emitted to signal a change in availability + of closed tabs +</dd> +</dl> +<h3>Derived from</h3> +QObject +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#ClosedTabsManager.__init__">ClosedTabsManager</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#ClosedTabsManager.allClosedTabs">allClosedTabs</a></td> +<td>Public method to get a list of all closed tabs.</td> +</tr><tr> +<td><a href="#ClosedTabsManager.clearList">clearList</a></td> +<td>Public method to clear the list of closed tabs.</td> +</tr><tr> +<td><a href="#ClosedTabsManager.getClosedTabAt">getClosedTabAt</a></td> +<td>Public method to get the indexed closed tab.</td> +</tr><tr> +<td><a href="#ClosedTabsManager.isClosedTabAvailable">isClosedTabAvailable</a></td> +<td>Public method to check for closed tabs.</td> +</tr><tr> +<td><a href="#ClosedTabsManager.recordBrowser">recordBrowser</a></td> +<td>Public method to record the data of a browser about to be closed.</td> +</tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<a NAME="ClosedTabsManager.__init__" ID="ClosedTabsManager.__init__"></a> +<h4>ClosedTabsManager (Constructor)</h4> +<b>ClosedTabsManager</b>(<i>parent=None</i>) +<p> + Constructor +</p><dl> +<dt><i>parent</i></dt> +<dd> +reference to the parent object (QObject) +</dd> +</dl><a NAME="ClosedTabsManager.allClosedTabs" ID="ClosedTabsManager.allClosedTabs"></a> +<h4>ClosedTabsManager.allClosedTabs</h4> +<b>allClosedTabs</b>(<i></i>) +<p> + Public method to get a list of all closed tabs. +</p><dl> +<dt>Returns:</dt> +<dd> +list of closed tabs (list of ClosedTab) +</dd> +</dl><a NAME="ClosedTabsManager.clearList" ID="ClosedTabsManager.clearList"></a> +<h4>ClosedTabsManager.clearList</h4> +<b>clearList</b>(<i></i>) +<p> + Public method to clear the list of closed tabs. +</p><a NAME="ClosedTabsManager.getClosedTabAt" ID="ClosedTabsManager.getClosedTabAt"></a> +<h4>ClosedTabsManager.getClosedTabAt</h4> +<b>getClosedTabAt</b>(<i>index</i>) +<p> + Public method to get the indexed closed tab. +</p><dl> +<dt><i>index</i></dt> +<dd> +index of the tab to return (integer) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +requested tab (ClosedTab) +</dd> +</dl><a NAME="ClosedTabsManager.isClosedTabAvailable" ID="ClosedTabsManager.isClosedTabAvailable"></a> +<h4>ClosedTabsManager.isClosedTabAvailable</h4> +<b>isClosedTabAvailable</b>(<i></i>) +<p> + Public method to check for closed tabs. +</p><dl> +<dt>Returns:</dt> +<dd> +flag indicating the availability of closed tab data (boolean) +</dd> +</dl><a NAME="ClosedTabsManager.recordBrowser" ID="ClosedTabsManager.recordBrowser"></a> +<h4>ClosedTabsManager.recordBrowser</h4> +<b>recordBrowser</b>(<i>browser, position</i>) +<p> + Public method to record the data of a browser about to be closed. +</p><dl> +<dt><i>browser</i></dt> +<dd> +reference to the browser to be closed (HelpBrowser) +</dd><dt><i>position</i></dt> +<dd> +index of the tab to be closed (integer) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.Helpviewer.HelpTabWidget.html Sun Mar 04 18:20:13 2012 +0100 +++ b/Documentation/Source/eric5.Helpviewer.HelpTabWidget.html Sat Mar 10 15:17:52 2012 +0100 @@ -78,6 +78,12 @@ <td><a href="#HelpTabWidget.__init__">HelpTabWidget</a></td> <td>Constructor</td> </tr><tr> +<td><a href="#HelpTabWidget.__aboutToShowClosedTabsMenu">__aboutToShowClosedTabsMenu</a></td> +<td>Private slot to populate the closed tabs menu.</td> +</tr><tr> +<td><a href="#HelpTabWidget.__closedTabAvailable">__closedTabAvailable</a></td> +<td>Private slot to handle changes of the availability of closed tabs.</td> +</tr><tr> <td><a href="#HelpTabWidget.__currentChanged">__currentChanged</a></td> <td>Private slot to handle an index change.</td> </tr><tr> @@ -162,6 +168,12 @@ <td><a href="#HelpTabWidget.browsers">browsers</a></td> <td>Public method to get a list of references to all browsers.</td> </tr><tr> +<td><a href="#HelpTabWidget.canRestoreClosedTab">canRestoreClosedTab</a></td> +<td>Public method to check, if closed tabs can be restored.</td> +</tr><tr> +<td><a href="#HelpTabWidget.clearClosedTabsList">clearClosedTabsList</a></td> +<td>Public slot to clear the list of closed tabs.</td> +</tr><tr> <td><a href="#HelpTabWidget.closeAllBrowsers">closeAllBrowsers</a></td> <td>Public slot called to handle the close all action.</td> </tr><tr> @@ -171,6 +183,9 @@ <td><a href="#HelpTabWidget.closeBrowserAt">closeBrowserAt</a></td> <td>Public slot to close a browser based on it's index.</td> </tr><tr> +<td><a href="#HelpTabWidget.closedTabsManager">closedTabsManager</a></td> +<td>Public slot to get a reference to the closed tabs manager.</td> +</tr><tr> <td><a href="#HelpTabWidget.currentBrowser">currentBrowser</a></td> <td>Public method to get a reference to the current browser.</td> </tr><tr> @@ -195,6 +210,15 @@ <td><a href="#HelpTabWidget.printPreviewBrowser">printPreviewBrowser</a></td> <td>Public slot called to show a print preview of the displayed file.</td> </tr><tr> +<td><a href="#HelpTabWidget.reloadAllBrowsers">reloadAllBrowsers</a></td> +<td>Public slot to reload all browsers.</td> +</tr><tr> +<td><a href="#HelpTabWidget.restoreAllClosedTabs">restoreAllClosedTabs</a></td> +<td>Public slot to restore all closed tabs.</td> +</tr><tr> +<td><a href="#HelpTabWidget.restoreClosedTab">restoreClosedTab</a></td> +<td>Public slot to restore the most recently closed tab.</td> +</tr><tr> <td><a href="#HelpTabWidget.shallShutDown">shallShutDown</a></td> <td>Public method to check, if the application should be shut down.</td> </tr><tr> @@ -216,6 +240,21 @@ <dd> reference to the parent widget (QWidget) </dd> +</dl><a NAME="HelpTabWidget.__aboutToShowClosedTabsMenu" ID="HelpTabWidget.__aboutToShowClosedTabsMenu"></a> +<h4>HelpTabWidget.__aboutToShowClosedTabsMenu</h4> +<b>__aboutToShowClosedTabsMenu</b>(<i></i>) +<p> + Private slot to populate the closed tabs menu. +</p><a NAME="HelpTabWidget.__closedTabAvailable" ID="HelpTabWidget.__closedTabAvailable"></a> +<h4>HelpTabWidget.__closedTabAvailable</h4> +<b>__closedTabAvailable</b>(<i>avail</i>) +<p> + Private slot to handle changes of the availability of closed tabs. +</p><dl> +<dt><i>avail</i></dt> +<dd> +flag indicating the availability of closed tabs (boolean) +</dd> </dl><a NAME="HelpTabWidget.__currentChanged" ID="HelpTabWidget.__currentChanged"></a> <h4>HelpTabWidget.__currentChanged</h4> <b>__currentChanged</b>(<i>index</i>) @@ -450,7 +489,22 @@ <dd> list of references to browsers (list of HelpBrowser) </dd> -</dl><a NAME="HelpTabWidget.closeAllBrowsers" ID="HelpTabWidget.closeAllBrowsers"></a> +</dl><a NAME="HelpTabWidget.canRestoreClosedTab" ID="HelpTabWidget.canRestoreClosedTab"></a> +<h4>HelpTabWidget.canRestoreClosedTab</h4> +<b>canRestoreClosedTab</b>(<i></i>) +<p> + Public method to check, if closed tabs can be restored. +</p><dl> +<dt>Returns:</dt> +<dd> +flag indicating that closed tabs can be restored (boolean) +</dd> +</dl><a NAME="HelpTabWidget.clearClosedTabsList" ID="HelpTabWidget.clearClosedTabsList"></a> +<h4>HelpTabWidget.clearClosedTabsList</h4> +<b>clearClosedTabsList</b>(<i></i>) +<p> + Public slot to clear the list of closed tabs. +</p><a NAME="HelpTabWidget.closeAllBrowsers" ID="HelpTabWidget.closeAllBrowsers"></a> <h4>HelpTabWidget.closeAllBrowsers</h4> <b>closeAllBrowsers</b>(<i></i>) <p> @@ -470,6 +524,16 @@ <dd> index of browser to close (integer) </dd> +</dl><a NAME="HelpTabWidget.closedTabsManager" ID="HelpTabWidget.closedTabsManager"></a> +<h4>HelpTabWidget.closedTabsManager</h4> +<b>closedTabsManager</b>(<i></i>) +<p> + Public slot to get a reference to the closed tabs manager. +</p><dl> +<dt>Returns:</dt> +<dd> +reference to the closed tabs manager (ClosedTabsManager) +</dd> </dl><a NAME="HelpTabWidget.currentBrowser" ID="HelpTabWidget.currentBrowser"></a> <h4>HelpTabWidget.currentBrowser</h4> <b>currentBrowser</b>(<i></i>) @@ -502,7 +566,7 @@ </dd> </dl><a NAME="HelpTabWidget.newBrowser" ID="HelpTabWidget.newBrowser"></a> <h4>HelpTabWidget.newBrowser</h4> -<b>newBrowser</b>(<i>link=None, requestData=None</i>) +<b>newBrowser</b>(<i>link=None, requestData=None, position=-1</i>) <p> Public method to create a new web browser tab. </p><dl> @@ -513,6 +577,10 @@ <dd> tuple containing the request data (QNetworkRequest, QNetworkAccessManager.Operation, QByteArray) +</dd><dt><i>position=</i></dt> +<dd> +position to create the new tab at or -1 to add it to the end + (integer) </dd> </dl><a NAME="HelpTabWidget.preferencesChanged" ID="HelpTabWidget.preferencesChanged"></a> <h4>HelpTabWidget.preferencesChanged</h4> @@ -549,7 +617,22 @@ <dd> reference to the browser to be printed (HelpBrowserWV) </dd> -</dl><a NAME="HelpTabWidget.shallShutDown" ID="HelpTabWidget.shallShutDown"></a> +</dl><a NAME="HelpTabWidget.reloadAllBrowsers" ID="HelpTabWidget.reloadAllBrowsers"></a> +<h4>HelpTabWidget.reloadAllBrowsers</h4> +<b>reloadAllBrowsers</b>(<i></i>) +<p> + Public slot to reload all browsers. +</p><a NAME="HelpTabWidget.restoreAllClosedTabs" ID="HelpTabWidget.restoreAllClosedTabs"></a> +<h4>HelpTabWidget.restoreAllClosedTabs</h4> +<b>restoreAllClosedTabs</b>(<i></i>) +<p> + Public slot to restore all closed tabs. +</p><a NAME="HelpTabWidget.restoreClosedTab" ID="HelpTabWidget.restoreClosedTab"></a> +<h4>HelpTabWidget.restoreClosedTab</h4> +<b>restoreClosedTab</b>(<i></i>) +<p> + Public slot to restore the most recently closed tab. +</p><a NAME="HelpTabWidget.shallShutDown" ID="HelpTabWidget.shallShutDown"></a> <h4>HelpTabWidget.shallShutDown</h4> <b>shallShutDown</b>(<i></i>) <p>
--- a/Documentation/Source/eric5.Helpviewer.History.HistoryMenu.html Sun Mar 04 18:20:13 2012 +0100 +++ b/Documentation/Source/eric5.Helpviewer.History.HistoryMenu.html Sat Mar 10 15:17:52 2012 +0100 @@ -79,12 +79,18 @@ <td><a href="#HistoryMenu.__init__">HistoryMenu</a></td> <td>Constructor</td> </tr><tr> +<td><a href="#HistoryMenu.__aboutToShowClosedTabsMenu">__aboutToShowClosedTabsMenu</a></td> +<td>Private slot to populate the closed tabs menu.</td> +</tr><tr> <td><a href="#HistoryMenu.__activated">__activated</a></td> <td>Private slot handling the activated signal.</td> </tr><tr> <td><a href="#HistoryMenu.__clearHistoryDialog">__clearHistoryDialog</a></td> <td>Private slot to clear the history.</td> </tr><tr> +<td><a href="#HistoryMenu.__closedTabAvailable">__closedTabAvailable</a></td> +<td>Private slot to handle changes of the availability of closed tabs.</td> +</tr><tr> <td><a href="#HistoryMenu.__showHistoryDialog">__showHistoryDialog</a></td> <td>Private slot to show the history dialog.</td> </tr><tr> @@ -104,15 +110,24 @@ </table> <a NAME="HistoryMenu.__init__" ID="HistoryMenu.__init__"></a> <h4>HistoryMenu (Constructor)</h4> -<b>HistoryMenu</b>(<i>parent=None</i>) +<b>HistoryMenu</b>(<i>parent=None, tabWidget=None</i>) <p> Constructor </p><dl> <dt><i>parent</i></dt> <dd> reference to the parent widget (QWidget) +</dd><dt><i>tabWidget</i></dt> +<dd> +reference to the tab widget managing the browser + tabs (HelpTabWidget </dd> -</dl><a NAME="HistoryMenu.__activated" ID="HistoryMenu.__activated"></a> +</dl><a NAME="HistoryMenu.__aboutToShowClosedTabsMenu" ID="HistoryMenu.__aboutToShowClosedTabsMenu"></a> +<h4>HistoryMenu.__aboutToShowClosedTabsMenu</h4> +<b>__aboutToShowClosedTabsMenu</b>(<i></i>) +<p> + Private slot to populate the closed tabs menu. +</p><a NAME="HistoryMenu.__activated" ID="HistoryMenu.__activated"></a> <h4>HistoryMenu.__activated</h4> <b>__activated</b>(<i>idx</i>) <p> @@ -127,7 +142,17 @@ <b>__clearHistoryDialog</b>(<i></i>) <p> Private slot to clear the history. -</p><a NAME="HistoryMenu.__showHistoryDialog" ID="HistoryMenu.__showHistoryDialog"></a> +</p><a NAME="HistoryMenu.__closedTabAvailable" ID="HistoryMenu.__closedTabAvailable"></a> +<h4>HistoryMenu.__closedTabAvailable</h4> +<b>__closedTabAvailable</b>(<i>avail</i>) +<p> + Private slot to handle changes of the availability of closed tabs. +</p><dl> +<dt><i>avail</i></dt> +<dd> +flag indicating the availability of closed tabs (boolean) +</dd> +</dl><a NAME="HistoryMenu.__showHistoryDialog" ID="HistoryMenu.__showHistoryDialog"></a> <h4>HistoryMenu.__showHistoryDialog</h4> <b>__showHistoryDialog</b>(<i></i>) <p>
--- a/Documentation/Source/index-eric5.Helpviewer.html Sun Mar 04 18:20:13 2012 +0100 +++ b/Documentation/Source/index-eric5.Helpviewer.html Sat Mar 10 15:17:52 2012 +0100 @@ -89,6 +89,9 @@ <h3>Modules</h3> <table> <tr> +<td><a href="eric5.Helpviewer.ClosedTabsManager.html">ClosedTabsManager</a></td> +<td>Module implementing a class to manage closed tabs.</td> +</tr><tr> <td><a href="eric5.Helpviewer.HelpBrowserWV.html">HelpBrowserWV</a></td> <td>Module implementing the helpbrowser using QWebView.</td> </tr><tr>
--- a/E5Gui/E5TabWidget.py Sun Mar 04 18:20:13 2012 +0100 +++ b/E5Gui/E5TabWidget.py Sat Mar 10 15:17:52 2012 +0100 @@ -241,7 +241,9 @@ rect = _tabbar.tabRect(index) if rect.contains(point): self.customTabContextMenuRequested.emit(_tabbar.mapToParent(point), index) - break + return + + self.customTabContextMenuRequested.emit(_tabbar.mapToParent(point), -1) def selectTab(self, pos): """
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Helpviewer/ClosedTabsManager.py Sat Mar 10 15:17:52 2012 +0100 @@ -0,0 +1,113 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2012 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing a class to manage closed tabs. +""" + +from PyQt4.QtCore import pyqtSignal, QUrl, QObject +from PyQt4.QtWebKit import QWebSettings + + +class ClosedTab(object): + """ + Class implementing a structure to store data about a closed tab. + """ + def __init__(self, url=QUrl(), title="", position=-1): + """ + Constructor + + @param url URL of the closed tab (QUrl) + @param title title of the closed tab (string) + @param position index of the closed tab (integer) + """ + self.url = url + self.title = title + self.position = position + + def __eq__(self, other): + """ + Special method implementing the equality operator. + + @param other reference to the object to compare against (ClosedTab) + """ + return self.url == other.url and \ + self.title == other.title and \ + self.position == other.position + + +class ClosedTabsManager(QObject): + """ + Class implementing a manager for closed tabs. + + @signal closedTabAvailable(boolean) emitted to signal a change in availability + of closed tabs + """ + closedTabAvailable = pyqtSignal(bool) + + def __init__(self, parent=None): + """ + Constructor + + @param parent reference to the parent object (QObject) + """ + super().__init__() + + self.__closedTabs = [] + + def recordBrowser(self, browser, position): + """ + Public method to record the data of a browser about to be closed. + + @param browser reference to the browser to be closed (HelpBrowser) + @param position index of the tab to be closed (integer) + """ + globalSettings = QWebSettings.globalSettings() + if globalSettings.testAttribute(QWebSettings.PrivateBrowsingEnabled): + return + + if browser.url().isEmpty(): + return + + tab = ClosedTab(browser.url(), browser.title(), position) + self.__closedTabs.insert(0, tab) + self.closedTabAvailable.emit(True) + + def getClosedTabAt(self, index): + """ + Public method to get the indexed closed tab. + + @param index index of the tab to return (integer) + @return requested tab (ClosedTab) + """ + if len(self.__closedTabs) > 0 and len(self.__closedTabs) > index: + tab = self.__closedTabs.pop(index) + else: + tab = ClosedTab() + self.closedTabAvailable.emit(len(self.__closedTabs) > 0) + return tab + + def isClosedTabAvailable(self): + """ + Public method to check for closed tabs. + + @return flag indicating the availability of closed tab data (boolean) + """ + return len(self.__closedTabs) > 0 + + def clearList(self): + """ + Public method to clear the list of closed tabs. + """ + self.__closedTabs = [] + self.closedTabAvailable.emit(False) + + def allClosedTabs(self): + """ + Public method to get a list of all closed tabs. + + @return list of closed tabs (list of ClosedTab) + """ + return self.__closedTabs
--- a/Helpviewer/HelpTabWidget.py Sun Mar 04 18:20:13 2012 +0100 +++ b/Helpviewer/HelpTabWidget.py Sat Mar 10 15:17:52 2012 +0100 @@ -20,6 +20,7 @@ from .HelpTabBar import HelpTabBar from .HelpBrowserWV import HelpBrowser import Helpviewer +from .ClosedTabsManager import ClosedTabsManager from .History.HistoryCompleter import HistoryCompletionModel, HistoryCompleter @@ -66,6 +67,9 @@ self.setDocumentMode(True) self.setElideMode(Qt.ElideNone) + self.__closedTabsManager = ClosedTabsManager(self) + self.__closedTabsManager.closedTabAvailable.connect(self.__closedTabAvailable) + self.__stackedUrlBar = StackedUrlBar(self) self.__tabBar.tabMoved.connect(self.__stackedUrlBar.moveBar) @@ -91,6 +95,18 @@ self.__navigationButton.setEnabled(False) self.__rightCornerWidgetLayout.addWidget(self.__navigationButton) + self.__closedTabsMenu = QMenu(self) + self.__closedTabsMenu.aboutToShow.connect(self.__aboutToShowClosedTabsMenu) + + self.__closedTabsButton = QToolButton(self) + self.__closedTabsButton.setIcon(UI.PixmapCache.getIcon("trash.png")) + self.__closedTabsButton.setToolTip( + self.trUtf8("Show a navigation menu for closed tabs")) + self.__closedTabsButton.setPopupMode(QToolButton.InstantPopup) + self.__closedTabsButton.setMenu(self.__closedTabsMenu) + self.__closedTabsButton.setEnabled(False) + self.__rightCornerWidgetLayout.addWidget(self.__closedTabsButton) + self.__closeButton = QToolButton(self) self.__closeButton.setIcon(UI.PixmapCache.getIcon("close.png")) self.__closeButton.setToolTip(self.trUtf8("Close the current help window")) @@ -153,8 +169,26 @@ self.__tabContextMenu.addAction(UI.PixmapCache.getIcon("printPdf.png"), self.trUtf8('Print as PDF'), self.__tabContextMenuPrintPdf) self.__tabContextMenu.addSeparator() + self.__tabContextMenu.addAction(UI.PixmapCache.getIcon("reload.png"), + self.trUtf8('Reload All'), self.reloadAllBrowsers) + self.__tabContextMenu.addSeparator() self.__tabContextMenu.addAction(self.trUtf8('Bookmark All Tabs'), self.__mainWindow.bookmarkAll) + + self.__tabBackContextMenu = QMenu(self) + self.__tabBackContextMenu.addAction(self.trUtf8('Close All'), + self.closeAllBrowsers) + self.__tabBackContextMenu.addAction(UI.PixmapCache.getIcon("reload.png"), + self.trUtf8('Reload All'), self.reloadAllBrowsers) + self.__tabBackContextMenu.addAction(self.trUtf8('Bookmark All Tabs'), + self.__mainWindow.bookmarkAll) + self.__tabBackContextMenu.addSeparator() + self.__restoreClosedTabAct = self.__tabBackContextMenu.addAction( + UI.PixmapCache.getIcon("trash.png"), + self.trUtf8('Restore Closed Tab'), + self.restoreClosedTab) + self.__restoreClosedTabAct.setEnabled(False) + self.__restoreClosedTabAct.setData(0) def __showContextMenu(self, coord, index): """ @@ -163,14 +197,17 @@ @param coord the position of the mouse pointer (QPoint) @param index index of the tab the menu is requested for (integer) """ - self.__tabContextMenuIndex = index - self.leftMenuAct.setEnabled(index > 0) - self.rightMenuAct.setEnabled(index < self.count() - 1) - - self.tabContextCloseOthersAct.setEnabled(self.count() > 1) - coord = self.mapToGlobal(coord) - self.__tabContextMenu.popup(coord) + if index == -1: + self.__tabBackContextMenu.popup(coord) + else: + self.__tabContextMenuIndex = index + self.leftMenuAct.setEnabled(index > 0) + self.rightMenuAct.setEnabled(index < self.count() - 1) + + self.tabContextCloseOthersAct.setEnabled(self.count() > 1) + + self.__tabContextMenu.popup(coord) def __tabContextMenuMoveLeft(self): """ @@ -232,13 +269,15 @@ browser = self.widget(self.__tabContextMenuIndex) self.printPreviewBrowser(browser) - def newBrowser(self, link=None, requestData=None): + def newBrowser(self, link=None, requestData=None, position=-1): """ Public method to create a new web browser tab. @param link link to be shown (string or QUrl) @param requestData tuple containing the request data (QNetworkRequest, QNetworkAccessManager.Operation, QByteArray) + @keyparam position position to create the new tab at or -1 to add it to the end + (integer) """ if link is None: linkName = "" @@ -257,7 +296,10 @@ self.__historyCompleter.activated[str].connect(self.__pathSelected) urlbar.setCompleter(self.__historyCompleter) urlbar.returnPressed.connect(self.__lineEditReturnPressed) - self.__stackedUrlBar.addWidget(urlbar) + if position == -1: + self.__stackedUrlBar.addWidget(urlbar) + else: + self.__stackedUrlBar.insertWidget(position, urlbar) browser = HelpBrowser(self.__mainWindow, self) urlbar.setBrowser(browser) @@ -274,7 +316,10 @@ browser.page().windowCloseRequested.connect(self.__windowCloseRequested) browser.page().printRequested.connect(self.__printRequested) - index = self.addTab(browser, self.trUtf8("...")) + if position == -1: + index = self.addTab(browser, self.trUtf8("...")) + else: + index = self.insertTab(position, browser, self.trUtf8("...")) self.setCurrentIndex(index) self.__mainWindow.closeAct.setEnabled(True) @@ -335,6 +380,14 @@ index = self.indexOf(browser) self.closeBrowserAt(index) + def reloadAllBrowsers(self): + """ + Public slot to reload all browsers. + """ + for index in range(self.count()): + browser = self.widget(index) + browser and browser.reload() + def closeBrowser(self): """ Public slot called to handle the close action. @@ -361,6 +414,9 @@ browser = self.widget(index) if browser is None: return + + self.__closedTabsManager.recordBrowser(browser, index) + browser.home() self.removeTab(index) self.browserClosed.emit(browser) @@ -794,3 +850,77 @@ self.__stackedUrlBar.currentWidget.setFocus() elif browser.url() != "": browser.setFocus() + + def restoreClosedTab(self): + """ + Public slot to restore the most recently closed tab. + """ + if not self.canRestoreClosedTab(): + return + + act = self.sender() + tab = self.__closedTabsManager.getClosedTabAt(act.data()) + + self.newBrowser(tab.url.toString(), position = tab.position) + + def canRestoreClosedTab(self): + """ + Public method to check, if closed tabs can be restored. + + @return flag indicating that closed tabs can be restored (boolean) + """ + return self.__closedTabsManager.isClosedTabAvailable() + + def restoreAllClosedTabs(self): + """ + Public slot to restore all closed tabs. + """ + if not self.canRestoreClosedTab(): + return + + for tab in self.__closedTabsManager.allClosedTabs(): + self.newBrowser(tab.url.toString(), position = tab.position) + self.__closedTabsManager.clearList() + + def clearClosedTabsList(self): + """ + Public slot to clear the list of closed tabs. + """ + self.__closedTabsManager.clearList() + + def __aboutToShowClosedTabsMenu(self): + """ + Private slot to populate the closed tabs menu. + """ + fm = self.__closedTabsMenu.fontMetrics() + maxWidth = fm.width('m') * 40 + + self.__closedTabsMenu.clear() + index = 0 + for tab in self.__closedTabsManager.allClosedTabs(): + title = fm.elidedText(tab.title, Qt.ElideRight, maxWidth) + self.__closedTabsMenu.addAction(self.__mainWindow.icon(tab.url), title, + self.restoreClosedTab).setData(index) + index += 1 + self.__closedTabsMenu.addSeparator() + self.__closedTabsMenu.addAction(self.trUtf8("Restore All Closed Tabs"), + self.restoreAllClosedTabs) + self.__closedTabsMenu.addAction(self.trUtf8("Clear List"), + self.clearClosedTabsList) + + def closedTabsManager(self): + """ + Public slot to get a reference to the closed tabs manager. + + @return reference to the closed tabs manager (ClosedTabsManager) + """ + return self.__closedTabsManager + + def __closedTabAvailable(self, avail): + """ + Private slot to handle changes of the availability of closed tabs. + + @param avail flag indicating the availability of closed tabs (boolean) + """ + self.__closedTabsButton.setEnabled(avail) + self.__restoreClosedTabAct.setEnabled(avail)
--- a/Helpviewer/HelpWindow.py Sun Mar 04 18:20:13 2012 +0100 +++ b/Helpviewer/HelpWindow.py Sat Mar 10 15:17:52 2012 +0100 @@ -1338,7 +1338,7 @@ menu.addSeparator() menu.addAction(self.syncTocAct) - self.historyMenu = HistoryMenu(self) + self.historyMenu = HistoryMenu(self, self.tabWidget) self.historyMenu.setTearOffEnabled(True) self.historyMenu.setTitle(self.trUtf8('H&istory')) self.historyMenu.openUrl.connect(self.openUrl)
--- a/Helpviewer/History/HistoryMenu.py Sun Mar 04 18:20:13 2012 +0100 +++ b/Helpviewer/History/HistoryMenu.py Sat Mar 10 15:17:52 2012 +0100 @@ -10,7 +10,7 @@ import sys from PyQt4.QtCore import pyqtSignal, Qt, QMimeData, QUrl, QModelIndex -from PyQt4.QtGui import QAbstractProxyModel, QSortFilterProxyModel +from PyQt4.QtGui import QAbstractProxyModel, QSortFilterProxyModel, QMenu from E5Gui.E5ModelMenu import E5ModelMenu from E5Gui import E5MessageBox @@ -253,19 +253,28 @@ openUrl = pyqtSignal(QUrl, str) newUrl = pyqtSignal(QUrl, str) - def __init__(self, parent=None): + def __init__(self, parent=None, tabWidget=None): """ Constructor @param parent reference to the parent widget (QWidget) + @param tabWidget reference to the tab widget managing the browser + tabs (HelpTabWidget """ E5ModelMenu.__init__(self, parent) + self.__tabWidget = tabWidget + self.__historyManager = None self.__historyMenuModel = None self.__initialActions = [] self.__mostVisitedMenu = None + self.__closedTabsMenu = QMenu(self.trUtf8("Closed Tabs")) + self.__closedTabsMenu.aboutToShow.connect(self.__aboutToShowClosedTabsMenu) + self.__tabWidget.closedTabsManager().closedTabAvailable.connect( + self.__closedTabAvailable) + self.setMaxRows(7) self.activated.connect(self.__activated) @@ -320,6 +329,9 @@ self.__mostVisitedMenu.openUrl.connect(self.openUrl) self.__mostVisitedMenu.newUrl.connect(self.newUrl) self.addMenu(self.__mostVisitedMenu) + act = self.addMenu(self.__closedTabsMenu) + act.setIcon(UI.PixmapCache.getIcon("trash.png")) + act.setEnabled(self.__tabWidget.canRestoreClosedTab()) self.addSeparator() act = self.addAction(UI.PixmapCache.getIcon("history.png"), @@ -358,6 +370,35 @@ self.trUtf8("Clear History"), self.trUtf8("""Do you want to clear the history?""")): self.__historyManager.clear() + + def __aboutToShowClosedTabsMenu(self): + """ + Private slot to populate the closed tabs menu. + """ + fm = self.__closedTabsMenu.fontMetrics() + maxWidth = fm.width('m') * 40 + + self.__closedTabsMenu.clear() + index = 0 + for tab in self.__tabWidget.closedTabsManager().allClosedTabs(): + title = fm.elidedText(tab.title, Qt.ElideRight, maxWidth) + self.__closedTabsMenu.addAction( + Helpviewer.HelpWindow.HelpWindow.icon(tab.url), title, + self.__tabWidget.restoreClosedTab).setData(index) + index += 1 + self.__closedTabsMenu.addSeparator() + self.__closedTabsMenu.addAction(self.trUtf8("Restore All Closed Tabs"), + self.__tabWidget.restoreAllClosedTabs) + self.__closedTabsMenu.addAction(self.trUtf8("Clear List"), + self.__tabWidget.clearClosedTabsList) + + def __closedTabAvailable(self, avail): + """ + Private slot to handle changes of the availability of closed tabs. + + @param avail flag indicating the availability of closed tabs (boolean) + """ + self.__closedTabsMenu.setEnabled(avail) class HistoryMostVisitedMenu(E5ModelMenu):
--- a/changelog Sun Mar 04 18:20:13 2012 +0100 +++ b/changelog Sat Mar 10 15:17:52 2012 +0100 @@ -34,6 +34,7 @@ -- added a Speed Dial to the web browser including the capability to select the first ten pages by pressing Meta+1 to Meta+0 -- added a history sub-menu showing the most visited sites + -- added the capability to restore closed tabs Version 5.2.0: - bug fixes
--- a/eric5.e4p Sun Mar 04 18:20:13 2012 +0100 +++ b/eric5.e4p Sat Mar 10 15:17:52 2012 +0100 @@ -974,6 +974,7 @@ <Source>Helpviewer/Passwords/LoginForm.py</Source> <Source>Helpviewer/UserAgent/UserAgentWriter.py</Source> <Source>Helpviewer/UserAgent/UserAgentReader.py</Source> + <Source>Helpviewer/ClosedTabsManager.py</Source> </Sources> <Forms> <Form>PyUnit/UnittestDialog.ui</Form>
--- a/i18n/eric5_cs.ts Sun Mar 04 18:20:13 2012 +0100 +++ b/i18n/eric5_cs.ts Sat Mar 10 15:17:52 2012 +0100 @@ -14059,77 +14059,77 @@ <context> <name>HelpTabWidget</name> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="88"/> + <location filename="Helpviewer/HelpTabWidget.py" line="92"/> <source>Show a navigation menu</source> <translation type="unfinished">Zobrazit menu navigace</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="96"/> - <source>Close the current help window</source> - <translation type="unfinished">Zavřít aktuální okno nápovědy</translation> - </message> - <message> <location filename="Helpviewer/HelpTabWidget.py" line="112"/> + <source>Close the current help window</source> + <translation type="unfinished">Zavřít aktuální okno nápovědy</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="128"/> <source>Open a new help window tab</source> <translation type="unfinished">Otevřít nový tab nápovědy</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="126"/> + <location filename="Helpviewer/HelpTabWidget.py" line="142"/> <source>New Tab</source> <translation type="unfinished">Nový Tab</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="130"/> - <source>Move Left</source> - <translation type="unfinished">Posun doleva</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="133"/> - <source>Move Right</source> - <translation type="unfinished">Posun doprava</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="137"/> - <source>Duplicate Page</source> - <translation type="unfinished">Duplikovat stranu</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="141"/> - <source>Close</source> - <translation type="unfinished">Zavřít</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="144"/> - <source>Close Others</source> - <translation type="unfinished">Zavřít ostatní</translation> - </message> - <message> <location filename="Helpviewer/HelpTabWidget.py" line="146"/> - <source>Close All</source> - <translation type="unfinished">Zavřít vše</translation> + <source>Move Left</source> + <translation type="unfinished">Posun doleva</translation> </message> <message> <location filename="Helpviewer/HelpTabWidget.py" line="149"/> - <source>Print Preview</source> - <translation type="unfinished">Náhled tisku</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="151"/> - <source>Print</source> - <translation type="unfinished">Tisk</translation> + <source>Move Right</source> + <translation type="unfinished">Posun doprava</translation> </message> <message> <location filename="Helpviewer/HelpTabWidget.py" line="153"/> + <source>Duplicate Page</source> + <translation type="unfinished">Duplikovat stranu</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="157"/> + <source>Close</source> + <translation type="unfinished">Zavřít</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="160"/> + <source>Close Others</source> + <translation type="unfinished">Zavřít ostatní</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="179"/> + <source>Close All</source> + <translation type="unfinished">Zavřít vše</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="165"/> + <source>Print Preview</source> + <translation type="unfinished">Náhled tisku</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="167"/> + <source>Print</source> + <translation type="unfinished">Tisk</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="169"/> <source>Print as PDF</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="156"/> + <location filename="Helpviewer/HelpTabWidget.py" line="183"/> <source>Bookmark All Tabs</source> <translation type="unfinished">Vytvořit záložky pro všechny taby</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="277"/> + <location filename="Helpviewer/HelpTabWidget.py" line="322"/> <source>...</source> <translation type="unfinished">...</translation> </message> @@ -14139,32 +14139,32 @@ <translation type="obsolete">Eric web prohlížeč</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="532"/> + <location filename="Helpviewer/HelpTabWidget.py" line="588"/> <source><p>Printing is not available due to a bug in PyQt4.Please upgrade.</p></source> <translation type="unfinished"><p>Tisk není dostupný kvůli bugu v PyQt4.Please upgrade.</p></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="629"/> + <location filename="Helpviewer/HelpTabWidget.py" line="685"/> <source>Loading...</source> <translation type="unfinished">Načítám...</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="648"/> + <location filename="Helpviewer/HelpTabWidget.py" line="704"/> <source>Finished loading</source> <translation type="unfinished">Načteno</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="650"/> + <location filename="Helpviewer/HelpTabWidget.py" line="706"/> <source>Failed to load</source> <translation type="unfinished">Načtení selhalo</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="686"/> + <location filename="Helpviewer/HelpTabWidget.py" line="742"/> <source>Are you sure you want to close the window?</source> <translation type="unfinished"></translation> </message> <message numerus="yes"> - <location filename="Helpviewer/HelpTabWidget.py" line="686"/> + <location filename="Helpviewer/HelpTabWidget.py" line="742"/> <source>Are you sure you want to close the window? You have %n tab(s) open.</source> <translation type="unfinished"> @@ -14174,25 +14174,50 @@ </translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="693"/> + <location filename="Helpviewer/HelpTabWidget.py" line="749"/> <source>&Close</source> <translation type="unfinished">&Zavřít</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="696"/> + <location filename="Helpviewer/HelpTabWidget.py" line="752"/> <source>&Quit</source> <translation type="unfinished">&Konec</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="698"/> + <location filename="Helpviewer/HelpTabWidget.py" line="754"/> <source>C&lose Current Tab</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="532"/> + <location filename="Helpviewer/HelpTabWidget.py" line="588"/> <source>eric5 Web Browser</source> <translation type="unfinished">eric5 web prohlížeč</translation> </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="103"/> + <source>Show a navigation menu for closed tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="181"/> + <source>Reload All</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="186"/> + <source>Restore Closed Tab</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="906"/> + <source>Restore All Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="908"/> + <source>Clear List</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>HelpTocWidget</name> @@ -22336,30 +22361,45 @@ <context> <name>HistoryMenu</name> <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="325"/> + <location filename="Helpviewer/History/HistoryMenu.py" line="337"/> <source>Show All History...</source> <translation>Zobrazit celou historii...</translation> </message> <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="340"/> + <source>Clear History...</source> + <translation>Vyčistit historii...</translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="369"/> + <source>Clear History</source> + <translation>Vyčistit historii</translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="369"/> + <source>Do you want to clear the history?</source> + <translation>Chcete vyčistit historii?</translation> + </message> + <message> <location filename="Helpviewer/History/HistoryMenu.py" line="328"/> - <source>Clear History...</source> - <translation>Vyčistit historii...</translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="357"/> - <source>Clear History</source> - <translation>Vyčistit historii</translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="357"/> - <source>Do you want to clear the history?</source> - <translation>Chcete vyčistit historii?</translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="319"/> <source>Most Visited</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="273"/> + <source>Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="390"/> + <source>Restore All Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="392"/> + <source>Clear List</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>HistoryModel</name>
--- a/i18n/eric5_de.ts Sun Mar 04 18:20:13 2012 +0100 +++ b/i18n/eric5_de.ts Sat Mar 10 15:17:52 2012 +0100 @@ -13786,107 +13786,107 @@ <context> <name>HelpTabWidget</name> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="88"/> + <location filename="Helpviewer/HelpTabWidget.py" line="92"/> <source>Show a navigation menu</source> <translation>Zeige ein Navigationsmenü an</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="96"/> - <source>Close the current help window</source> - <translation>Schließt das aktuelle Fenster</translation> - </message> - <message> <location filename="Helpviewer/HelpTabWidget.py" line="112"/> + <source>Close the current help window</source> + <translation>Schließt das aktuelle Fenster</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="128"/> <source>Open a new help window tab</source> <translation>Öffne ein neues Hilferegister</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="126"/> + <location filename="Helpviewer/HelpTabWidget.py" line="142"/> <source>New Tab</source> <translation>Neues Register</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="130"/> - <source>Move Left</source> - <translation>nach links verschieben</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="133"/> - <source>Move Right</source> - <translation>nach rechts verschieben</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="137"/> - <source>Duplicate Page</source> - <translation>Seite duplizieren</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="141"/> - <source>Close</source> - <translation>Schließen</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="144"/> - <source>Close Others</source> - <translation>Andere schließen</translation> - </message> - <message> <location filename="Helpviewer/HelpTabWidget.py" line="146"/> - <source>Close All</source> - <translation>Alle schließen</translation> + <source>Move Left</source> + <translation>nach links verschieben</translation> </message> <message> <location filename="Helpviewer/HelpTabWidget.py" line="149"/> - <source>Print Preview</source> - <translation>Seitenansicht</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="151"/> - <source>Print</source> - <translation>Drucken</translation> + <source>Move Right</source> + <translation>nach rechts verschieben</translation> </message> <message> <location filename="Helpviewer/HelpTabWidget.py" line="153"/> + <source>Duplicate Page</source> + <translation>Seite duplizieren</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="157"/> + <source>Close</source> + <translation>Schließen</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="160"/> + <source>Close Others</source> + <translation>Andere schließen</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="179"/> + <source>Close All</source> + <translation>Alle schließen</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="165"/> + <source>Print Preview</source> + <translation>Seitenansicht</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="167"/> + <source>Print</source> + <translation>Drucken</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="169"/> <source>Print as PDF</source> <translation>Als PDF drucken</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="156"/> + <location filename="Helpviewer/HelpTabWidget.py" line="183"/> <source>Bookmark All Tabs</source> <translation>Lesezeichen für alle Tabs</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="277"/> + <location filename="Helpviewer/HelpTabWidget.py" line="322"/> <source>...</source> <translation>...</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="532"/> + <location filename="Helpviewer/HelpTabWidget.py" line="588"/> <source><p>Printing is not available due to a bug in PyQt4.Please upgrade.</p></source> <translation><p>Drucken ist wegen eine Fehlers in PyQt4 nicht verfügbar. Bitte aktualisieren.</p></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="629"/> + <location filename="Helpviewer/HelpTabWidget.py" line="685"/> <source>Loading...</source> <translation>Lade...</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="648"/> + <location filename="Helpviewer/HelpTabWidget.py" line="704"/> <source>Finished loading</source> <translation>Seite geladen</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="650"/> + <location filename="Helpviewer/HelpTabWidget.py" line="706"/> <source>Failed to load</source> <translation>Fehler beim Laden</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="686"/> + <location filename="Helpviewer/HelpTabWidget.py" line="742"/> <source>Are you sure you want to close the window?</source> <translation>Möchten sie das Fenster wirklich schließen?</translation> </message> <message numerus="yes"> - <location filename="Helpviewer/HelpTabWidget.py" line="686"/> + <location filename="Helpviewer/HelpTabWidget.py" line="742"/> <source>Are you sure you want to close the window? You have %n tab(s) open.</source> <translation> @@ -13897,25 +13897,50 @@ </translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="693"/> + <location filename="Helpviewer/HelpTabWidget.py" line="749"/> <source>&Close</source> <translation>Schl&ießen</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="696"/> + <location filename="Helpviewer/HelpTabWidget.py" line="752"/> <source>&Quit</source> <translation>B&eenden</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="698"/> + <location filename="Helpviewer/HelpTabWidget.py" line="754"/> <source>C&lose Current Tab</source> <translation>A&ktuelles Unterfenster schließen</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="532"/> + <location filename="Helpviewer/HelpTabWidget.py" line="588"/> <source>eric5 Web Browser</source> <translation>eric5 Web-Browser</translation> </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="103"/> + <source>Show a navigation menu for closed tabs</source> + <translation>Zeige ein Navigationsmenü für geschlossene Tabs an</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="181"/> + <source>Reload All</source> + <translation>Alle neu laden</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="186"/> + <source>Restore Closed Tab</source> + <translation>Geschlossenen Tabs wiederherstellen</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="906"/> + <source>Restore All Closed Tabs</source> + <translation>Alle geschlossenen Tabs wiederherstellen</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="908"/> + <source>Clear List</source> + <translation>Liste löschen</translation> + </message> </context> <context> <name>HelpTocWidget</name> @@ -21838,30 +21863,45 @@ <context> <name>HistoryMenu</name> <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="325"/> + <location filename="Helpviewer/History/HistoryMenu.py" line="337"/> <source>Show All History...</source> <translation>Chronik anzeigen...</translation> </message> <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="340"/> + <source>Clear History...</source> + <translation>Chronik löschen...</translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="369"/> + <source>Clear History</source> + <translation>Chronik löschen</translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="369"/> + <source>Do you want to clear the history?</source> + <translation>Soll die Chronik wirklich gelöscht werden?</translation> + </message> + <message> <location filename="Helpviewer/History/HistoryMenu.py" line="328"/> - <source>Clear History...</source> - <translation>Chronik löschen...</translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="357"/> - <source>Clear History</source> - <translation>Chronik löschen</translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="357"/> - <source>Do you want to clear the history?</source> - <translation>Soll die Chronik wirklich gelöscht werden?</translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="319"/> <source>Most Visited</source> <translation>Meistbesuchte</translation> </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="273"/> + <source>Closed Tabs</source> + <translation>Geschlossene Tabs</translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="390"/> + <source>Restore All Closed Tabs</source> + <translation>Alle geschlossenen Tabs wiederherstellen</translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="392"/> + <source>Clear List</source> + <translation>Liste löschen</translation> + </message> </context> <context> <name>HistoryModel</name>
--- a/i18n/eric5_en.ts Sun Mar 04 18:20:13 2012 +0100 +++ b/i18n/eric5_en.ts Sat Mar 10 15:17:52 2012 +0100 @@ -13702,107 +13702,107 @@ <context> <name>HelpTabWidget</name> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="88"/> + <location filename="Helpviewer/HelpTabWidget.py" line="92"/> <source>Show a navigation menu</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="96"/> - <source>Close the current help window</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="Helpviewer/HelpTabWidget.py" line="112"/> + <source>Close the current help window</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="128"/> <source>Open a new help window tab</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="126"/> + <location filename="Helpviewer/HelpTabWidget.py" line="142"/> <source>New Tab</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="130"/> - <source>Move Left</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="133"/> - <source>Move Right</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="137"/> - <source>Duplicate Page</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="141"/> - <source>Close</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="144"/> - <source>Close Others</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="Helpviewer/HelpTabWidget.py" line="146"/> - <source>Close All</source> + <source>Move Left</source> <translation type="unfinished"></translation> </message> <message> <location filename="Helpviewer/HelpTabWidget.py" line="149"/> - <source>Print Preview</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="151"/> - <source>Print</source> + <source>Move Right</source> <translation type="unfinished"></translation> </message> <message> <location filename="Helpviewer/HelpTabWidget.py" line="153"/> + <source>Duplicate Page</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="157"/> + <source>Close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="160"/> + <source>Close Others</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="179"/> + <source>Close All</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="165"/> + <source>Print Preview</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="167"/> + <source>Print</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="169"/> <source>Print as PDF</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="156"/> + <location filename="Helpviewer/HelpTabWidget.py" line="183"/> <source>Bookmark All Tabs</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="277"/> + <location filename="Helpviewer/HelpTabWidget.py" line="322"/> <source>...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="532"/> + <location filename="Helpviewer/HelpTabWidget.py" line="588"/> <source><p>Printing is not available due to a bug in PyQt4.Please upgrade.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="629"/> + <location filename="Helpviewer/HelpTabWidget.py" line="685"/> <source>Loading...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="648"/> + <location filename="Helpviewer/HelpTabWidget.py" line="704"/> <source>Finished loading</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="650"/> + <location filename="Helpviewer/HelpTabWidget.py" line="706"/> <source>Failed to load</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="686"/> + <location filename="Helpviewer/HelpTabWidget.py" line="742"/> <source>Are you sure you want to close the window?</source> <translation type="unfinished"></translation> </message> <message numerus="yes"> - <location filename="Helpviewer/HelpTabWidget.py" line="686"/> + <location filename="Helpviewer/HelpTabWidget.py" line="742"/> <source>Are you sure you want to close the window? You have %n tab(s) open.</source> <translation> @@ -13813,25 +13813,50 @@ </translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="693"/> + <location filename="Helpviewer/HelpTabWidget.py" line="749"/> <source>&Close</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="696"/> + <location filename="Helpviewer/HelpTabWidget.py" line="752"/> <source>&Quit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="698"/> + <location filename="Helpviewer/HelpTabWidget.py" line="754"/> <source>C&lose Current Tab</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="532"/> + <location filename="Helpviewer/HelpTabWidget.py" line="588"/> <source>eric5 Web Browser</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="103"/> + <source>Show a navigation menu for closed tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="181"/> + <source>Reload All</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="186"/> + <source>Restore Closed Tab</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="906"/> + <source>Restore All Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="908"/> + <source>Clear List</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>HelpTocWidget</name> @@ -21700,30 +21725,45 @@ <context> <name>HistoryMenu</name> <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="325"/> + <location filename="Helpviewer/History/HistoryMenu.py" line="337"/> <source>Show All History...</source> <translation type="unfinished"></translation> </message> <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="340"/> + <source>Clear History...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="369"/> + <source>Clear History</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="369"/> + <source>Do you want to clear the history?</source> + <translation type="unfinished"></translation> + </message> + <message> <location filename="Helpviewer/History/HistoryMenu.py" line="328"/> - <source>Clear History...</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="357"/> - <source>Clear History</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="357"/> - <source>Do you want to clear the history?</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="319"/> <source>Most Visited</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="273"/> + <source>Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="390"/> + <source>Restore All Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="392"/> + <source>Clear List</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>HistoryModel</name>
--- a/i18n/eric5_es.ts Sun Mar 04 18:20:13 2012 +0100 +++ b/i18n/eric5_es.ts Sat Mar 10 15:17:52 2012 +0100 @@ -13930,77 +13930,77 @@ <context> <name>HelpTabWidget</name> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="88"/> + <location filename="Helpviewer/HelpTabWidget.py" line="92"/> <source>Show a navigation menu</source> <translation>Mostrar un menú de navegación</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="96"/> - <source>Close the current help window</source> - <translation>Cierra la ventana actual</translation> - </message> - <message> <location filename="Helpviewer/HelpTabWidget.py" line="112"/> + <source>Close the current help window</source> + <translation>Cierra la ventana actual</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="128"/> <source>Open a new help window tab</source> <translation>Abre una nueva pestaña con la ventana de ayuda</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="126"/> + <location filename="Helpviewer/HelpTabWidget.py" line="142"/> <source>New Tab</source> <translation>Nueva pestaña</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="130"/> - <source>Move Left</source> - <translation>Mover a la Izquierda</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="133"/> - <source>Move Right</source> - <translation>Mover a la Derecha</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="137"/> - <source>Duplicate Page</source> - <translation>Duplicar Página</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="141"/> - <source>Close</source> - <translation>Cerrar</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="144"/> - <source>Close Others</source> - <translation>Cerrar Otras</translation> - </message> - <message> <location filename="Helpviewer/HelpTabWidget.py" line="146"/> - <source>Close All</source> - <translation>Cerrar todo</translation> + <source>Move Left</source> + <translation>Mover a la Izquierda</translation> </message> <message> <location filename="Helpviewer/HelpTabWidget.py" line="149"/> - <source>Print Preview</source> - <translation>Presentación Preliminar</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="151"/> - <source>Print</source> - <translation>Imprimir</translation> + <source>Move Right</source> + <translation>Mover a la Derecha</translation> </message> <message> <location filename="Helpviewer/HelpTabWidget.py" line="153"/> + <source>Duplicate Page</source> + <translation>Duplicar Página</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="157"/> + <source>Close</source> + <translation>Cerrar</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="160"/> + <source>Close Others</source> + <translation>Cerrar Otras</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="179"/> + <source>Close All</source> + <translation>Cerrar todo</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="165"/> + <source>Print Preview</source> + <translation>Presentación Preliminar</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="167"/> + <source>Print</source> + <translation>Imprimir</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="169"/> <source>Print as PDF</source> <translation>Imprimir como PDF</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="156"/> + <location filename="Helpviewer/HelpTabWidget.py" line="183"/> <source>Bookmark All Tabs</source> <translation>Todas las Pestañas a Marcadores</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="277"/> + <location filename="Helpviewer/HelpTabWidget.py" line="322"/> <source>...</source> <translation>...</translation> </message> @@ -14010,32 +14010,32 @@ <translation type="obsolete">Navegador Web de Eric</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="532"/> + <location filename="Helpviewer/HelpTabWidget.py" line="588"/> <source><p>Printing is not available due to a bug in PyQt4.Please upgrade.</p></source> <translation><p>Imprimir no esta disponible debido a un bug en PyQt4. Por favor, actualice su versión.</p></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="629"/> + <location filename="Helpviewer/HelpTabWidget.py" line="685"/> <source>Loading...</source> <translation>Cargando...</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="648"/> + <location filename="Helpviewer/HelpTabWidget.py" line="704"/> <source>Finished loading</source> <translation>Carga terminada</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="650"/> + <location filename="Helpviewer/HelpTabWidget.py" line="706"/> <source>Failed to load</source> <translation>Ha fallado la carga</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="686"/> + <location filename="Helpviewer/HelpTabWidget.py" line="742"/> <source>Are you sure you want to close the window?</source> <translation>¿Realmente desea cerrar la ventana?</translation> </message> <message numerus="yes"> - <location filename="Helpviewer/HelpTabWidget.py" line="686"/> + <location filename="Helpviewer/HelpTabWidget.py" line="742"/> <source>Are you sure you want to close the window? You have %n tab(s) open.</source> <translation> @@ -14046,25 +14046,50 @@ </translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="693"/> + <location filename="Helpviewer/HelpTabWidget.py" line="749"/> <source>&Close</source> <translation>&Cerrar</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="696"/> + <location filename="Helpviewer/HelpTabWidget.py" line="752"/> <source>&Quit</source> <translation>&Salir</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="698"/> + <location filename="Helpviewer/HelpTabWidget.py" line="754"/> <source>C&lose Current Tab</source> <translation>Cerrar Pestaña Actua&l</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="532"/> + <location filename="Helpviewer/HelpTabWidget.py" line="588"/> <source>eric5 Web Browser</source> <translation>Navegador Web de eric5</translation> </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="103"/> + <source>Show a navigation menu for closed tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="181"/> + <source>Reload All</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="186"/> + <source>Restore Closed Tab</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="906"/> + <source>Restore All Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="908"/> + <source>Clear List</source> + <translation type="unfinished">Borrar Lista</translation> + </message> </context> <context> <name>HelpTocWidget</name> @@ -22202,30 +22227,45 @@ <context> <name>HistoryMenu</name> <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="325"/> + <location filename="Helpviewer/History/HistoryMenu.py" line="337"/> <source>Show All History...</source> <translation>Mostrar Todo el Historial...</translation> </message> <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="340"/> + <source>Clear History...</source> + <translation>Borrar Historial...</translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="369"/> + <source>Clear History</source> + <translation>Borrar Historial</translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="369"/> + <source>Do you want to clear the history?</source> + <translation>¿Desea eliminar el historial?</translation> + </message> + <message> <location filename="Helpviewer/History/HistoryMenu.py" line="328"/> - <source>Clear History...</source> - <translation>Borrar Historial...</translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="357"/> - <source>Clear History</source> - <translation>Borrar Historial</translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="357"/> - <source>Do you want to clear the history?</source> - <translation>¿Desea eliminar el historial?</translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="319"/> <source>Most Visited</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="273"/> + <source>Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="390"/> + <source>Restore All Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="392"/> + <source>Clear List</source> + <translation type="unfinished">Borrar Lista</translation> + </message> </context> <context> <name>HistoryModel</name>
--- a/i18n/eric5_fr.ts Sun Mar 04 18:20:13 2012 +0100 +++ b/i18n/eric5_fr.ts Sat Mar 10 15:17:52 2012 +0100 @@ -15064,107 +15064,107 @@ <context> <name>HelpTabWidget</name> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="88"/> + <location filename="Helpviewer/HelpTabWidget.py" line="92"/> <source>Show a navigation menu</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="96"/> - <source>Close the current help window</source> - <translation type="unfinished">Ferme la fenêtre d'aide en cours</translation> - </message> - <message> <location filename="Helpviewer/HelpTabWidget.py" line="112"/> + <source>Close the current help window</source> + <translation type="unfinished">Ferme la fenêtre d'aide en cours</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="128"/> <source>Open a new help window tab</source> <translation type="unfinished">Ouvrir un nouvel onglet d'aide</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="126"/> + <location filename="Helpviewer/HelpTabWidget.py" line="142"/> <source>New Tab</source> <translation type="unfinished">Nouvel onglet</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="130"/> - <source>Move Left</source> - <translation type="unfinished">Déplacer vers la gauche</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="133"/> - <source>Move Right</source> - <translation type="unfinished">Déplacer vers la droite</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="137"/> - <source>Duplicate Page</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="141"/> - <source>Close</source> - <translation type="unfinished">Fermer</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="144"/> - <source>Close Others</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="Helpviewer/HelpTabWidget.py" line="146"/> - <source>Close All</source> - <translation type="unfinished">Tout fermer</translation> + <source>Move Left</source> + <translation type="unfinished">Déplacer vers la gauche</translation> </message> <message> <location filename="Helpviewer/HelpTabWidget.py" line="149"/> - <source>Print Preview</source> - <translation type="unfinished">Aperçu avant impression</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="151"/> - <source>Print</source> - <translation type="unfinished">Imprimer</translation> + <source>Move Right</source> + <translation type="unfinished">Déplacer vers la droite</translation> </message> <message> <location filename="Helpviewer/HelpTabWidget.py" line="153"/> + <source>Duplicate Page</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="157"/> + <source>Close</source> + <translation type="unfinished">Fermer</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="160"/> + <source>Close Others</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="179"/> + <source>Close All</source> + <translation type="unfinished">Tout fermer</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="165"/> + <source>Print Preview</source> + <translation type="unfinished">Aperçu avant impression</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="167"/> + <source>Print</source> + <translation type="unfinished">Imprimer</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="169"/> <source>Print as PDF</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="156"/> + <location filename="Helpviewer/HelpTabWidget.py" line="183"/> <source>Bookmark All Tabs</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="277"/> + <location filename="Helpviewer/HelpTabWidget.py" line="322"/> <source>...</source> <translation type="unfinished">...</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="532"/> + <location filename="Helpviewer/HelpTabWidget.py" line="588"/> <source><p>Printing is not available due to a bug in PyQt4.Please upgrade.</p></source> <translation type="unfinished"><p>L'impression n'est pas disponible à cause d'un bug de PyQt4. Merci de mettre à jour PyQt.</p></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="629"/> + <location filename="Helpviewer/HelpTabWidget.py" line="685"/> <source>Loading...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="648"/> + <location filename="Helpviewer/HelpTabWidget.py" line="704"/> <source>Finished loading</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="650"/> + <location filename="Helpviewer/HelpTabWidget.py" line="706"/> <source>Failed to load</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="686"/> + <location filename="Helpviewer/HelpTabWidget.py" line="742"/> <source>Are you sure you want to close the window?</source> <translation type="unfinished"></translation> </message> <message numerus="yes"> - <location filename="Helpviewer/HelpTabWidget.py" line="686"/> + <location filename="Helpviewer/HelpTabWidget.py" line="742"/> <source>Are you sure you want to close the window? You have %n tab(s) open.</source> <translation type="unfinished"> @@ -15173,25 +15173,50 @@ </translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="693"/> + <location filename="Helpviewer/HelpTabWidget.py" line="749"/> <source>&Close</source> <translation type="unfinished">&Fermer</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="696"/> + <location filename="Helpviewer/HelpTabWidget.py" line="752"/> <source>&Quit</source> <translation type="unfinished">&Quitter</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="698"/> + <location filename="Helpviewer/HelpTabWidget.py" line="754"/> <source>C&lose Current Tab</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="532"/> + <location filename="Helpviewer/HelpTabWidget.py" line="588"/> <source>eric5 Web Browser</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="103"/> + <source>Show a navigation menu for closed tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="181"/> + <source>Reload All</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="186"/> + <source>Restore Closed Tab</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="906"/> + <source>Restore All Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="908"/> + <source>Clear List</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>HelpTocWidget</name> @@ -23397,30 +23422,45 @@ <context> <name>HistoryMenu</name> <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="325"/> + <location filename="Helpviewer/History/HistoryMenu.py" line="337"/> <source>Show All History...</source> <translation type="unfinished"></translation> </message> <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="340"/> + <source>Clear History...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="369"/> + <source>Clear History</source> + <translation type="unfinished">Effacer l'historique</translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="369"/> + <source>Do you want to clear the history?</source> + <translation type="unfinished"></translation> + </message> + <message> <location filename="Helpviewer/History/HistoryMenu.py" line="328"/> - <source>Clear History...</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="357"/> - <source>Clear History</source> - <translation type="unfinished">Effacer l'historique</translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="357"/> - <source>Do you want to clear the history?</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="319"/> <source>Most Visited</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="273"/> + <source>Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="390"/> + <source>Restore All Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="392"/> + <source>Clear List</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>HistoryModel</name>
--- a/i18n/eric5_it.ts Sun Mar 04 18:20:13 2012 +0100 +++ b/i18n/eric5_it.ts Sat Mar 10 15:17:52 2012 +0100 @@ -13869,77 +13869,77 @@ <context> <name>HelpTabWidget</name> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="88"/> + <location filename="Helpviewer/HelpTabWidget.py" line="92"/> <source>Show a navigation menu</source> <translation>Mostra un menù di navigazione</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="96"/> - <source>Close the current help window</source> - <translation>Chiudi l'attuale finestra di help</translation> - </message> - <message> <location filename="Helpviewer/HelpTabWidget.py" line="112"/> + <source>Close the current help window</source> + <translation>Chiudi l'attuale finestra di help</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="128"/> <source>Open a new help window tab</source> <translation>Apri una nuova scheda di help</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="126"/> + <location filename="Helpviewer/HelpTabWidget.py" line="142"/> <source>New Tab</source> <translation>Nuova scheda</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="130"/> - <source>Move Left</source> - <translation>Muovi a sinistra</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="133"/> - <source>Move Right</source> - <translation>Muovi a destra</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="137"/> - <source>Duplicate Page</source> - <translation>Duplica pagina</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="141"/> - <source>Close</source> - <translation>Chiudi</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="144"/> - <source>Close Others</source> - <translation>Chiudi altri</translation> - </message> - <message> <location filename="Helpviewer/HelpTabWidget.py" line="146"/> - <source>Close All</source> - <translation>Chiudi tutti</translation> + <source>Move Left</source> + <translation>Muovi a sinistra</translation> </message> <message> <location filename="Helpviewer/HelpTabWidget.py" line="149"/> - <source>Print Preview</source> - <translation>Anteprima Stampa</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="151"/> - <source>Print</source> - <translation>Stampa</translation> + <source>Move Right</source> + <translation>Muovi a destra</translation> </message> <message> <location filename="Helpviewer/HelpTabWidget.py" line="153"/> + <source>Duplicate Page</source> + <translation>Duplica pagina</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="157"/> + <source>Close</source> + <translation>Chiudi</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="160"/> + <source>Close Others</source> + <translation>Chiudi altri</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="179"/> + <source>Close All</source> + <translation>Chiudi tutti</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="165"/> + <source>Print Preview</source> + <translation>Anteprima Stampa</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="167"/> + <source>Print</source> + <translation>Stampa</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="169"/> <source>Print as PDF</source> <translation>Stampa come PDF</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="156"/> + <location filename="Helpviewer/HelpTabWidget.py" line="183"/> <source>Bookmark All Tabs</source> <translation>Aggiungi ai segnalibri tutte le linguette</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="277"/> + <location filename="Helpviewer/HelpTabWidget.py" line="322"/> <source>...</source> <translation>...</translation> </message> @@ -13949,32 +13949,32 @@ <translation type="obsolete">Eric Web Browser</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="532"/> + <location filename="Helpviewer/HelpTabWidget.py" line="588"/> <source><p>Printing is not available due to a bug in PyQt4.Please upgrade.</p></source> <translation><p>La stampa non è disponibile a causa di un bug in PyQt4. Si consiglia di aggiornare la versione installata.</p></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="629"/> + <location filename="Helpviewer/HelpTabWidget.py" line="685"/> <source>Loading...</source> <translation>Caricamento...</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="648"/> + <location filename="Helpviewer/HelpTabWidget.py" line="704"/> <source>Finished loading</source> <translation>Caricamento terminato</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="650"/> + <location filename="Helpviewer/HelpTabWidget.py" line="706"/> <source>Failed to load</source> <translation>Caricamento fallito</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="686"/> + <location filename="Helpviewer/HelpTabWidget.py" line="742"/> <source>Are you sure you want to close the window?</source> <translation>Sei sicuro di voler chiudere la finestra ?</translation> </message> <message numerus="yes"> - <location filename="Helpviewer/HelpTabWidget.py" line="686"/> + <location filename="Helpviewer/HelpTabWidget.py" line="742"/> <source>Are you sure you want to close the window? You have %n tab(s) open.</source> <translation> @@ -13985,25 +13985,50 @@ </translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="693"/> + <location filename="Helpviewer/HelpTabWidget.py" line="749"/> <source>&Close</source> <translation>&Chiudi</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="696"/> + <location filename="Helpviewer/HelpTabWidget.py" line="752"/> <source>&Quit</source> <translation>&Esci</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="698"/> + <location filename="Helpviewer/HelpTabWidget.py" line="754"/> <source>C&lose Current Tab</source> <translation>C&hiudi scheda corrente</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="532"/> + <location filename="Helpviewer/HelpTabWidget.py" line="588"/> <source>eric5 Web Browser</source> <translation type="unfinished">Web Browser di eric5</translation> </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="103"/> + <source>Show a navigation menu for closed tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="181"/> + <source>Reload All</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="186"/> + <source>Restore Closed Tab</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="906"/> + <source>Restore All Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="908"/> + <source>Clear List</source> + <translation type="unfinished">Pulisci lista</translation> + </message> </context> <context> <name>HelpTocWidget</name> @@ -22102,30 +22127,45 @@ <context> <name>HistoryMenu</name> <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="325"/> + <location filename="Helpviewer/History/HistoryMenu.py" line="337"/> <source>Show All History...</source> <translation>Mostra tutta la cronologia...</translation> </message> <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="340"/> + <source>Clear History...</source> + <translation>Pulisci Cronologia...</translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="369"/> + <source>Clear History</source> + <translation>Pulisci la history</translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="369"/> + <source>Do you want to clear the history?</source> + <translation>Vuoi pulire la cronologia ?</translation> + </message> + <message> <location filename="Helpviewer/History/HistoryMenu.py" line="328"/> - <source>Clear History...</source> - <translation>Pulisci Cronologia...</translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="357"/> - <source>Clear History</source> - <translation>Pulisci la history</translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="357"/> - <source>Do you want to clear the history?</source> - <translation>Vuoi pulire la cronologia ?</translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="319"/> <source>Most Visited</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="273"/> + <source>Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="390"/> + <source>Restore All Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="392"/> + <source>Clear List</source> + <translation type="unfinished">Pulisci lista</translation> + </message> </context> <context> <name>HistoryModel</name>
--- a/i18n/eric5_ru.ts Sun Mar 04 18:20:13 2012 +0100 +++ b/i18n/eric5_ru.ts Sat Mar 10 15:17:52 2012 +0100 @@ -13967,77 +13967,77 @@ <context> <name>HelpTabWidget</name> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="88"/> + <location filename="Helpviewer/HelpTabWidget.py" line="92"/> <source>Show a navigation menu</source> <translation>Показать меню</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="96"/> - <source>Close the current help window</source> - <translation>Закрыть это окно помощи</translation> - </message> - <message> <location filename="Helpviewer/HelpTabWidget.py" line="112"/> + <source>Close the current help window</source> + <translation>Закрыть это окно помощи</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="128"/> <source>Open a new help window tab</source> <translation>Открыть новую закладку</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="126"/> + <location filename="Helpviewer/HelpTabWidget.py" line="142"/> <source>New Tab</source> <translation>Новая закладка</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="130"/> - <source>Move Left</source> - <translation>Сдвинуть влево</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="133"/> - <source>Move Right</source> - <translation>Сдвинуть вправо</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="137"/> - <source>Duplicate Page</source> - <translation>Продублировать страницу</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="141"/> - <source>Close</source> - <translation>Закрыть</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="144"/> - <source>Close Others</source> - <translation>Закрыть остальные</translation> - </message> - <message> <location filename="Helpviewer/HelpTabWidget.py" line="146"/> - <source>Close All</source> - <translation>Закрыть всё</translation> + <source>Move Left</source> + <translation>Сдвинуть влево</translation> </message> <message> <location filename="Helpviewer/HelpTabWidget.py" line="149"/> - <source>Print Preview</source> - <translation>Предварительный просмотр печати</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="151"/> - <source>Print</source> - <translation>Печать</translation> + <source>Move Right</source> + <translation>Сдвинуть вправо</translation> </message> <message> <location filename="Helpviewer/HelpTabWidget.py" line="153"/> + <source>Duplicate Page</source> + <translation>Продублировать страницу</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="157"/> + <source>Close</source> + <translation>Закрыть</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="160"/> + <source>Close Others</source> + <translation>Закрыть остальные</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="179"/> + <source>Close All</source> + <translation>Закрыть всё</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="165"/> + <source>Print Preview</source> + <translation>Предварительный просмотр печати</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="167"/> + <source>Print</source> + <translation>Печать</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="169"/> <source>Print as PDF</source> <translation>Печать как PDF</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="156"/> + <location filename="Helpviewer/HelpTabWidget.py" line="183"/> <source>Bookmark All Tabs</source> <translation>Создать закладки для всех открытых страниц</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="277"/> + <location filename="Helpviewer/HelpTabWidget.py" line="322"/> <source>...</source> <translation>...</translation> </message> @@ -14047,32 +14047,32 @@ <translation type="obsolete">Встроенный просмотрщик Web</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="532"/> + <location filename="Helpviewer/HelpTabWidget.py" line="588"/> <source><p>Printing is not available due to a bug in PyQt4.Please upgrade.</p></source> <translation><p>Печать невозможна из-за ошибки в PyQt4. Пожалуйста установите обновление.</p></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="629"/> + <location filename="Helpviewer/HelpTabWidget.py" line="685"/> <source>Loading...</source> <translation>Загружаю...</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="648"/> + <location filename="Helpviewer/HelpTabWidget.py" line="704"/> <source>Finished loading</source> <translation>Загрузка завершена</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="650"/> + <location filename="Helpviewer/HelpTabWidget.py" line="706"/> <source>Failed to load</source> <translation>Загрука не удалась</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="686"/> + <location filename="Helpviewer/HelpTabWidget.py" line="742"/> <source>Are you sure you want to close the window?</source> <translation>Вы действительно хотите закрыть это окно?</translation> </message> <message numerus="yes"> - <location filename="Helpviewer/HelpTabWidget.py" line="686"/> + <location filename="Helpviewer/HelpTabWidget.py" line="742"/> <source>Are you sure you want to close the window? You have %n tab(s) open.</source> <translation> @@ -14085,25 +14085,50 @@ </translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="693"/> + <location filename="Helpviewer/HelpTabWidget.py" line="749"/> <source>&Close</source> <translation>&Закрыть</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="696"/> + <location filename="Helpviewer/HelpTabWidget.py" line="752"/> <source>&Quit</source> <translation>&Выход</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="698"/> + <location filename="Helpviewer/HelpTabWidget.py" line="754"/> <source>C&lose Current Tab</source> <translation>&Закрыть текущую закладку</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="532"/> + <location filename="Helpviewer/HelpTabWidget.py" line="588"/> <source>eric5 Web Browser</source> <translation type="unfinished">WEB просмотрщик встроенный в Eric5</translation> </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="103"/> + <source>Show a navigation menu for closed tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="181"/> + <source>Reload All</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="186"/> + <source>Restore Closed Tab</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="906"/> + <source>Restore All Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="908"/> + <source>Clear List</source> + <translation type="unfinished">Очистить список</translation> + </message> </context> <context> <name>HelpTocWidget</name> @@ -22214,30 +22239,45 @@ <context> <name>HistoryMenu</name> <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="325"/> + <location filename="Helpviewer/History/HistoryMenu.py" line="337"/> <source>Show All History...</source> <translation>Показать всю историю...</translation> </message> <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="340"/> + <source>Clear History...</source> + <translation>Очистить историю...</translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="369"/> + <source>Clear History</source> + <translation>Очистить историю</translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="369"/> + <source>Do you want to clear the history?</source> + <translation>Очистить историю просмотров?</translation> + </message> + <message> <location filename="Helpviewer/History/HistoryMenu.py" line="328"/> - <source>Clear History...</source> - <translation>Очистить историю...</translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="357"/> - <source>Clear History</source> - <translation>Очистить историю</translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="357"/> - <source>Do you want to clear the history?</source> - <translation>Очистить историю просмотров?</translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="319"/> <source>Most Visited</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="273"/> + <source>Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="390"/> + <source>Restore All Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="392"/> + <source>Clear List</source> + <translation type="unfinished">Очистить список</translation> + </message> </context> <context> <name>HistoryModel</name>
--- a/i18n/eric5_tr.ts Sun Mar 04 18:20:13 2012 +0100 +++ b/i18n/eric5_tr.ts Sat Mar 10 15:17:52 2012 +0100 @@ -14066,77 +14066,77 @@ <context> <name>HelpTabWidget</name> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="88"/> + <location filename="Helpviewer/HelpTabWidget.py" line="92"/> <source>Show a navigation menu</source> <translation>Yönlendirme Menüsünü Göster</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="96"/> - <source>Close the current help window</source> - <translation>Geçerli yardım penceresini kapat</translation> - </message> - <message> <location filename="Helpviewer/HelpTabWidget.py" line="112"/> + <source>Close the current help window</source> + <translation>Geçerli yardım penceresini kapat</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="128"/> <source>Open a new help window tab</source> <translation>Yeni bir yardım penceresi sekmesi aç</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="126"/> + <location filename="Helpviewer/HelpTabWidget.py" line="142"/> <source>New Tab</source> <translation>Yeni Sekme</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="130"/> - <source>Move Left</source> - <translation>Sola Götür</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="133"/> - <source>Move Right</source> - <translation>Sağa Götür</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="137"/> - <source>Duplicate Page</source> - <translation>Sayfayı Çoğalt</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="141"/> - <source>Close</source> - <translation>Kapat</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="144"/> - <source>Close Others</source> - <translation>Diğerlerini Kapat</translation> - </message> - <message> <location filename="Helpviewer/HelpTabWidget.py" line="146"/> - <source>Close All</source> - <translation>Hepsini Kapat</translation> + <source>Move Left</source> + <translation>Sola Götür</translation> </message> <message> <location filename="Helpviewer/HelpTabWidget.py" line="149"/> - <source>Print Preview</source> - <translation>Baskı Öngörünümü</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="151"/> - <source>Print</source> - <translation>Yazdır</translation> + <source>Move Right</source> + <translation>Sağa Götür</translation> </message> <message> <location filename="Helpviewer/HelpTabWidget.py" line="153"/> + <source>Duplicate Page</source> + <translation>Sayfayı Çoğalt</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="157"/> + <source>Close</source> + <translation>Kapat</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="160"/> + <source>Close Others</source> + <translation>Diğerlerini Kapat</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="179"/> + <source>Close All</source> + <translation>Hepsini Kapat</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="165"/> + <source>Print Preview</source> + <translation>Baskı Öngörünümü</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="167"/> + <source>Print</source> + <translation>Yazdır</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="169"/> <source>Print as PDF</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="156"/> + <location filename="Helpviewer/HelpTabWidget.py" line="183"/> <source>Bookmark All Tabs</source> <translation>Tüm Sekmeleri Yerimi yap</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="277"/> + <location filename="Helpviewer/HelpTabWidget.py" line="322"/> <source>...</source> <translation>...</translation> </message> @@ -14146,32 +14146,32 @@ <translation type="obsolete">Eric Web Gözatıcısı</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="532"/> + <location filename="Helpviewer/HelpTabWidget.py" line="588"/> <source><p>Printing is not available due to a bug in PyQt4.Please upgrade.</p></source> <translation><p>PyQt4 te hatyı yazdırmak tam olarak mümkün değil. Lütfen güncelleyiniz.</p></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="629"/> + <location filename="Helpviewer/HelpTabWidget.py" line="685"/> <source>Loading...</source> <translation>Yükleniyor...</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="648"/> + <location filename="Helpviewer/HelpTabWidget.py" line="704"/> <source>Finished loading</source> <translation>Yükleme bitirildi</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="650"/> + <location filename="Helpviewer/HelpTabWidget.py" line="706"/> <source>Failed to load</source> <translation>Yüklerken başarısız olundu</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="686"/> + <location filename="Helpviewer/HelpTabWidget.py" line="742"/> <source>Are you sure you want to close the window?</source> <translation type="unfinished"></translation> </message> <message numerus="yes"> - <location filename="Helpviewer/HelpTabWidget.py" line="686"/> + <location filename="Helpviewer/HelpTabWidget.py" line="742"/> <source>Are you sure you want to close the window? You have %n tab(s) open.</source> <translation type="unfinished"> @@ -14180,25 +14180,50 @@ </translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="693"/> + <location filename="Helpviewer/HelpTabWidget.py" line="749"/> <source>&Close</source> <translation>&Kapat</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="696"/> + <location filename="Helpviewer/HelpTabWidget.py" line="752"/> <source>&Quit</source> <translation>&Çıkış</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="698"/> + <location filename="Helpviewer/HelpTabWidget.py" line="754"/> <source>C&lose Current Tab</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="532"/> + <location filename="Helpviewer/HelpTabWidget.py" line="588"/> <source>eric5 Web Browser</source> <translation type="unfinished">Eric5 Web Gözatıcısı</translation> </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="103"/> + <source>Show a navigation menu for closed tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="181"/> + <source>Reload All</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="186"/> + <source>Restore Closed Tab</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="906"/> + <source>Restore All Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="908"/> + <source>Clear List</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>HelpTocWidget</name> @@ -22268,30 +22293,45 @@ <context> <name>HistoryMenu</name> <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="325"/> + <location filename="Helpviewer/History/HistoryMenu.py" line="337"/> <source>Show All History...</source> <translation>Tüm Geçmişi Göster...</translation> </message> <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="340"/> + <source>Clear History...</source> + <translation>Geçmişi Temizle...</translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="369"/> + <source>Clear History</source> + <translation>Geçmişi Sil</translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="369"/> + <source>Do you want to clear the history?</source> + <translation>Geçmeşe temizlemeyi istiyor musunuz?</translation> + </message> + <message> <location filename="Helpviewer/History/HistoryMenu.py" line="328"/> - <source>Clear History...</source> - <translation>Geçmişi Temizle...</translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="357"/> - <source>Clear History</source> - <translation>Geçmişi Sil</translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="357"/> - <source>Do you want to clear the history?</source> - <translation>Geçmeşe temizlemeyi istiyor musunuz?</translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="319"/> <source>Most Visited</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="273"/> + <source>Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="390"/> + <source>Restore All Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="392"/> + <source>Clear List</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>HistoryModel</name>
--- a/i18n/eric5_zh_CN.GB2312.ts Sun Mar 04 18:20:13 2012 +0100 +++ b/i18n/eric5_zh_CN.GB2312.ts Sat Mar 10 15:17:52 2012 +0100 @@ -15026,107 +15026,107 @@ <context> <name>HelpTabWidget</name> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="88"/> + <location filename="Helpviewer/HelpTabWidget.py" line="92"/> <source>Show a navigation menu</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="96"/> - <source>Close the current help window</source> - <translation type="unfinished">关闭当前帮助浏览器</translation> - </message> - <message> <location filename="Helpviewer/HelpTabWidget.py" line="112"/> + <source>Close the current help window</source> + <translation type="unfinished">关闭当前帮助浏览器</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="128"/> <source>Open a new help window tab</source> <translation type="unfinished">打开新帮助窗口选项卡</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="126"/> + <location filename="Helpviewer/HelpTabWidget.py" line="142"/> <source>New Tab</source> <translation type="unfinished">新建选项卡</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="130"/> - <source>Move Left</source> - <translation type="unfinished">左移</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="133"/> - <source>Move Right</source> - <translation type="unfinished">右移</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="137"/> - <source>Duplicate Page</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="141"/> - <source>Close</source> - <translation type="unfinished">关闭</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="144"/> - <source>Close Others</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="Helpviewer/HelpTabWidget.py" line="146"/> - <source>Close All</source> - <translation type="unfinished">全部关闭</translation> + <source>Move Left</source> + <translation type="unfinished">左移</translation> </message> <message> <location filename="Helpviewer/HelpTabWidget.py" line="149"/> - <source>Print Preview</source> - <translation type="unfinished">打印预览</translation> - </message> - <message> - <location filename="Helpviewer/HelpTabWidget.py" line="151"/> - <source>Print</source> - <translation type="unfinished">打印</translation> + <source>Move Right</source> + <translation type="unfinished">右移</translation> </message> <message> <location filename="Helpviewer/HelpTabWidget.py" line="153"/> + <source>Duplicate Page</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="157"/> + <source>Close</source> + <translation type="unfinished">关闭</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="160"/> + <source>Close Others</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="179"/> + <source>Close All</source> + <translation type="unfinished">全部关闭</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="165"/> + <source>Print Preview</source> + <translation type="unfinished">打印预览</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="167"/> + <source>Print</source> + <translation type="unfinished">打印</translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="169"/> <source>Print as PDF</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="156"/> + <location filename="Helpviewer/HelpTabWidget.py" line="183"/> <source>Bookmark All Tabs</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="277"/> + <location filename="Helpviewer/HelpTabWidget.py" line="322"/> <source>...</source> <translation type="unfinished">……</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="532"/> + <location filename="Helpviewer/HelpTabWidget.py" line="588"/> <source><p>Printing is not available due to a bug in PyQt4.Please upgrade.</p></source> <translation type="unfinished"><p>由于 PyQt4 中存在一个错误,导致无法打印。请升级。</p></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="629"/> + <location filename="Helpviewer/HelpTabWidget.py" line="685"/> <source>Loading...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="648"/> + <location filename="Helpviewer/HelpTabWidget.py" line="704"/> <source>Finished loading</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="650"/> + <location filename="Helpviewer/HelpTabWidget.py" line="706"/> <source>Failed to load</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="686"/> + <location filename="Helpviewer/HelpTabWidget.py" line="742"/> <source>Are you sure you want to close the window?</source> <translation type="unfinished"></translation> </message> <message numerus="yes"> - <location filename="Helpviewer/HelpTabWidget.py" line="686"/> + <location filename="Helpviewer/HelpTabWidget.py" line="742"/> <source>Are you sure you want to close the window? You have %n tab(s) open.</source> <translation type="unfinished"> @@ -15134,25 +15134,50 @@ </translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="693"/> + <location filename="Helpviewer/HelpTabWidget.py" line="749"/> <source>&Close</source> <translation type="unfinished">关闭(&C)</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="696"/> + <location filename="Helpviewer/HelpTabWidget.py" line="752"/> <source>&Quit</source> <translation type="unfinished">退出(&Q)</translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="698"/> + <location filename="Helpviewer/HelpTabWidget.py" line="754"/> <source>C&lose Current Tab</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Helpviewer/HelpTabWidget.py" line="532"/> + <location filename="Helpviewer/HelpTabWidget.py" line="588"/> <source>eric5 Web Browser</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="103"/> + <source>Show a navigation menu for closed tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="181"/> + <source>Reload All</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="186"/> + <source>Restore Closed Tab</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="906"/> + <source>Restore All Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/HelpTabWidget.py" line="908"/> + <source>Clear List</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>HelpTocWidget</name> @@ -23358,30 +23383,45 @@ <context> <name>HistoryMenu</name> <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="325"/> + <location filename="Helpviewer/History/HistoryMenu.py" line="337"/> <source>Show All History...</source> <translation type="unfinished"></translation> </message> <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="340"/> + <source>Clear History...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="369"/> + <source>Clear History</source> + <translation type="unfinished">清除历史</translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="369"/> + <source>Do you want to clear the history?</source> + <translation type="unfinished"></translation> + </message> + <message> <location filename="Helpviewer/History/HistoryMenu.py" line="328"/> - <source>Clear History...</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="357"/> - <source>Clear History</source> - <translation type="unfinished">清除历史</translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="357"/> - <source>Do you want to clear the history?</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="Helpviewer/History/HistoryMenu.py" line="319"/> <source>Most Visited</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="273"/> + <source>Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="390"/> + <source>Restore All Closed Tabs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Helpviewer/History/HistoryMenu.py" line="392"/> + <source>Clear List</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>HistoryModel</name>