Enhanced the code coverage dialog functionality.

Sun, 28 Oct 2012 17:41:29 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 28 Oct 2012 17:41:29 +0100
changeset 2163
2b02339f52bf
parent 2162
4627e6ea7b6b
child 2164
d67b14a3f884

Enhanced the code coverage dialog functionality.

APIs/Python3/eric5.api file | annotate | diff | comparison | revisions
DataViews/PyCoverageDialog.py file | annotate | diff | comparison | revisions
Documentation/Help/source.qch file | annotate | diff | comparison | revisions
Documentation/Help/source.qhp file | annotate | diff | comparison | revisions
Documentation/Source/eric5.DataViews.PyCoverageDialog.html file | annotate | diff | comparison | revisions
Documentation/Source/eric5.QScintilla.Editor.html file | annotate | diff | comparison | revisions
QScintilla/Editor.py file | annotate | diff | comparison | revisions
changelog file | annotate | diff | comparison | revisions
i18n/eric5_cs.ts file | annotate | diff | comparison | revisions
i18n/eric5_de.qm file | annotate | diff | comparison | revisions
i18n/eric5_de.ts file | annotate | diff | comparison | revisions
i18n/eric5_en.ts file | annotate | diff | comparison | revisions
i18n/eric5_es.ts file | annotate | diff | comparison | revisions
i18n/eric5_fr.ts file | annotate | diff | comparison | revisions
i18n/eric5_it.ts file | annotate | diff | comparison | revisions
i18n/eric5_ru.ts file | annotate | diff | comparison | revisions
i18n/eric5_tr.ts file | annotate | diff | comparison | revisions
i18n/eric5_zh_CN.GB2312.ts file | annotate | diff | comparison | revisions
--- a/APIs/Python3/eric5.api	Sat Oct 27 20:10:59 2012 +0200
+++ b/APIs/Python3/eric5.api	Sun Oct 28 17:41:29 2012 +0100
@@ -112,6 +112,7 @@
 eric5.DataViews.CodeMetricsDialog.CodeMetricsDialog?1(parent=None)
 eric5.DataViews.PyCoverageDialog.PyCoverageDialog.on_buttonBox_clicked?4(button)
 eric5.DataViews.PyCoverageDialog.PyCoverageDialog.on_reloadButton_clicked?4()
+eric5.DataViews.PyCoverageDialog.PyCoverageDialog.on_resultList_itemActivated?4(item, column)
 eric5.DataViews.PyCoverageDialog.PyCoverageDialog.start?4(cfn, fn)
 eric5.DataViews.PyCoverageDialog.PyCoverageDialog.stringify?4()
 eric5.DataViews.PyCoverageDialog.PyCoverageDialog?1(parent=None)
@@ -6180,6 +6181,7 @@
 eric5.QScintilla.Editor.Editor.clearSyntaxError?4()
 eric5.QScintilla.Editor.Editor.close?4(alsoDelete=False)
 eric5.QScintilla.Editor.Editor.closeIt?4()
+eric5.QScintilla.Editor.Editor.codeCoverageShowAnnotations?4()
 eric5.QScintilla.Editor.Editor.commentLine?4()
 eric5.QScintilla.Editor.Editor.commentLineOrSelection?4()
 eric5.QScintilla.Editor.Editor.commentSelection?4()
--- a/DataViews/PyCoverageDialog.py	Sat Oct 27 20:10:59 2012 +0200
+++ b/DataViews/PyCoverageDialog.py	Sun Oct 28 17:41:29 2012 +0100
@@ -13,6 +13,8 @@
 from PyQt4.QtGui import QDialog, QDialogButtonBox, QMenu, QHeaderView, QTreeWidgetItem, \
     QApplication, QProgressDialog
 
+from E5Gui.E5Application import e5App
+
 from .Ui_PyCoverageDialog import Ui_PyCoverageDialog
 
 import Utilities
@@ -45,6 +47,10 @@
         self.excludeList = ['# *pragma[: ]*[nN][oO] *[cC][oO][vV][eE][rR]']
         
         self.__menu = QMenu(self)
+        self.__menu.addSeparator()
+        self.openAct = self.__menu.addAction(self.trUtf8("Open"),
+            self.__openFile)
+        self.__menu.addSeparator()
         self.annotate = self.__menu.addAction(self.trUtf8('Annotate'),
             self.__annotate)
         self.__menu.addAction(self.trUtf8('Annotate all'), self.__annotateAll)
@@ -119,6 +125,11 @@
         ])
         for col in range(1, 4):
             itm.setTextAlignment(col, Qt.AlignRight)
+        if statements != executed:
+            font = itm.font(0)
+            font.setBold(True)
+            for col in range(itm.columnCount()):
+                itm.setFont(col, font)
         
     def start(self, cfn, fn):
         """
@@ -245,10 +256,27 @@
         itm = self.resultList.itemAt(coord)
         if itm:
             self.annotate.setEnabled(True)
+            self.openAct.setEnabled(True)
         else:
             self.annotate.setEnabled(False)
+            self.openAct.setEnabled(False)
         self.__menu.popup(self.mapToGlobal(coord))
         
+    def __openFile(self, itm=None):
+        """
+        Private slot to open the selected file.
+        
+        @param itm reference to the item to be opened (QTreeWidgetItem)
+        """
+        if itm is None:
+            itm = self.resultList.currentItem()
+        fn = itm.text(0)
+        
+        vm = e5App().getObject("ViewManager")
+        vm.openSourceFile(fn)
+        editor = vm.getOpenEditor(fn)
+        editor.codeCoverageShowAnnotations()
+        
     def __annotate(self):
         """
         Private slot to handle the annotate context menu action.
@@ -349,3 +377,13 @@
         self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(True)
         self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True)
         self.start(self.__cfn, self.__fn)
+    
+    @pyqtSlot(QTreeWidgetItem, int)
+    def on_resultList_itemActivated(self, item, column):
+        """
+        Private slot to handle the activation of an item.
+        
+        @param item reference to the activated item (QTreeWidgetItem)
+        @param column column the item was activated in (integer)
+        """
+        self.__openFile(item)
Binary file Documentation/Help/source.qch has changed
--- a/Documentation/Help/source.qhp	Sat Oct 27 20:10:59 2012 +0200
+++ b/Documentation/Help/source.qhp	Sun Oct 28 17:41:29 2012 +0100
@@ -3794,7 +3794,6 @@
       <keyword name="Editor.__checkSpellingWord" id="Editor.__checkSpellingWord" ref="eric5.QScintilla.Editor.html#Editor.__checkSpellingWord" />
       <keyword name="Editor.__clearBreakpoints" id="Editor.__clearBreakpoints" ref="eric5.QScintilla.Editor.html#Editor.__clearBreakpoints" />
       <keyword name="Editor.__codeCoverageHideAnnotations" id="Editor.__codeCoverageHideAnnotations" ref="eric5.QScintilla.Editor.html#Editor.__codeCoverageHideAnnotations" />
-      <keyword name="Editor.__codeCoverageShowAnnotations" id="Editor.__codeCoverageShowAnnotations" ref="eric5.QScintilla.Editor.html#Editor.__codeCoverageShowAnnotations" />
       <keyword name="Editor.__completionListSelected" id="Editor.__completionListSelected" ref="eric5.QScintilla.Editor.html#Editor.__completionListSelected" />
       <keyword name="Editor.__contextClose" id="Editor.__contextClose" ref="eric5.QScintilla.Editor.html#Editor.__contextClose" />
       <keyword name="Editor.__contextMenuSpellingTriggered" id="Editor.__contextMenuSpellingTriggered" ref="eric5.QScintilla.Editor.html#Editor.__contextMenuSpellingTriggered" />
@@ -3931,6 +3930,7 @@
       <keyword name="Editor.clearSyntaxError" id="Editor.clearSyntaxError" ref="eric5.QScintilla.Editor.html#Editor.clearSyntaxError" />
       <keyword name="Editor.close" id="Editor.close" ref="eric5.QScintilla.Editor.html#Editor.close" />
       <keyword name="Editor.closeIt" id="Editor.closeIt" ref="eric5.QScintilla.Editor.html#Editor.closeIt" />
+      <keyword name="Editor.codeCoverageShowAnnotations" id="Editor.codeCoverageShowAnnotations" ref="eric5.QScintilla.Editor.html#Editor.codeCoverageShowAnnotations" />
       <keyword name="Editor.commentLine" id="Editor.commentLine" ref="eric5.QScintilla.Editor.html#Editor.commentLine" />
       <keyword name="Editor.commentLineOrSelection" id="Editor.commentLineOrSelection" ref="eric5.QScintilla.Editor.html#Editor.commentLineOrSelection" />
       <keyword name="Editor.commentSelection" id="Editor.commentSelection" ref="eric5.QScintilla.Editor.html#Editor.commentSelection" />
@@ -8240,9 +8240,11 @@
       <keyword name="PyCoverageDialog.__erase" id="PyCoverageDialog.__erase" ref="eric5.DataViews.PyCoverageDialog.html#PyCoverageDialog.__erase" />
       <keyword name="PyCoverageDialog.__finish" id="PyCoverageDialog.__finish" ref="eric5.DataViews.PyCoverageDialog.html#PyCoverageDialog.__finish" />
       <keyword name="PyCoverageDialog.__format_lines" id="PyCoverageDialog.__format_lines" ref="eric5.DataViews.PyCoverageDialog.html#PyCoverageDialog.__format_lines" />
+      <keyword name="PyCoverageDialog.__openFile" id="PyCoverageDialog.__openFile" ref="eric5.DataViews.PyCoverageDialog.html#PyCoverageDialog.__openFile" />
       <keyword name="PyCoverageDialog.__showContextMenu" id="PyCoverageDialog.__showContextMenu" ref="eric5.DataViews.PyCoverageDialog.html#PyCoverageDialog.__showContextMenu" />
       <keyword name="PyCoverageDialog.on_buttonBox_clicked" id="PyCoverageDialog.on_buttonBox_clicked" ref="eric5.DataViews.PyCoverageDialog.html#PyCoverageDialog.on_buttonBox_clicked" />
       <keyword name="PyCoverageDialog.on_reloadButton_clicked" id="PyCoverageDialog.on_reloadButton_clicked" ref="eric5.DataViews.PyCoverageDialog.html#PyCoverageDialog.on_reloadButton_clicked" />
+      <keyword name="PyCoverageDialog.on_resultList_itemActivated" id="PyCoverageDialog.on_resultList_itemActivated" ref="eric5.DataViews.PyCoverageDialog.html#PyCoverageDialog.on_resultList_itemActivated" />
       <keyword name="PyCoverageDialog.start" id="PyCoverageDialog.start" ref="eric5.DataViews.PyCoverageDialog.html#PyCoverageDialog.start" />
       <keyword name="PyCoverageDialog.stringify" id="PyCoverageDialog.stringify" ref="eric5.DataViews.PyCoverageDialog.html#PyCoverageDialog.stringify" />
       <keyword name="PyProfile" id="PyProfile" ref="eric5.DebugClients.Python.PyProfile.html#PyProfile" />
--- a/Documentation/Source/eric5.DataViews.PyCoverageDialog.html	Sat Oct 27 20:10:59 2012 +0200
+++ b/Documentation/Source/eric5.DataViews.PyCoverageDialog.html	Sun Oct 28 17:41:29 2012 +0100
@@ -82,6 +82,9 @@
 <td><a href="#PyCoverageDialog.__format_lines">__format_lines</a></td>
 <td>Private method to format a list of integers into string by coalescing groups.</td>
 </tr><tr>
+<td><a href="#PyCoverageDialog.__openFile">__openFile</a></td>
+<td>Private slot to open the selected file.</td>
+</tr><tr>
 <td><a href="#PyCoverageDialog.__showContextMenu">__showContextMenu</a></td>
 <td>Private slot to show the context menu of the listview.</td>
 </tr><tr>
@@ -91,6 +94,9 @@
 <td><a href="#PyCoverageDialog.on_reloadButton_clicked">on_reloadButton_clicked</a></td>
 <td>Private slot to reload the coverage info.</td>
 </tr><tr>
+<td><a href="#PyCoverageDialog.on_resultList_itemActivated">on_resultList_itemActivated</a></td>
+<td>Private slot to handle the activation of an item.</td>
+</tr><tr>
 <td><a href="#PyCoverageDialog.start">start</a></td>
 <td>Public slot to start the coverage data evaluation.</td>
 </tr><tr>
@@ -189,6 +195,16 @@
 <dd>
 string representing the list
 </dd>
+</dl><a NAME="PyCoverageDialog.__openFile" ID="PyCoverageDialog.__openFile"></a>
+<h4>PyCoverageDialog.__openFile</h4>
+<b>__openFile</b>(<i>itm=None</i>)
+<p>
+        Private slot to open the selected file.
+</p><dl>
+<dt><i>itm</i></dt>
+<dd>
+reference to the item to be opened (QTreeWidgetItem)
+</dd>
 </dl><a NAME="PyCoverageDialog.__showContextMenu" ID="PyCoverageDialog.__showContextMenu"></a>
 <h4>PyCoverageDialog.__showContextMenu</h4>
 <b>__showContextMenu</b>(<i>coord</i>)
@@ -214,7 +230,20 @@
 <b>on_reloadButton_clicked</b>(<i></i>)
 <p>
         Private slot to reload the coverage info.
-</p><a NAME="PyCoverageDialog.start" ID="PyCoverageDialog.start"></a>
+</p><a NAME="PyCoverageDialog.on_resultList_itemActivated" ID="PyCoverageDialog.on_resultList_itemActivated"></a>
+<h4>PyCoverageDialog.on_resultList_itemActivated</h4>
+<b>on_resultList_itemActivated</b>(<i>item, column</i>)
+<p>
+        Private slot to handle the activation of an item.
+</p><dl>
+<dt><i>item</i></dt>
+<dd>
+reference to the activated item (QTreeWidgetItem)
+</dd><dt><i>column</i></dt>
+<dd>
+column the item was activated in (integer)
+</dd>
+</dl><a NAME="PyCoverageDialog.start" ID="PyCoverageDialog.start"></a>
 <h4>PyCoverageDialog.start</h4>
 <b>start</b>(<i>cfn, fn</i>)
 <p>
--- a/Documentation/Source/eric5.QScintilla.Editor.html	Sat Oct 27 20:10:59 2012 +0200
+++ b/Documentation/Source/eric5.QScintilla.Editor.html	Sun Oct 28 17:41:29 2012 +0100
@@ -222,9 +222,6 @@
 <td><a href="#Editor.__codeCoverageHideAnnotations">__codeCoverageHideAnnotations</a></td>
 <td>Private method to handle the hide code coverage annotations context menu action.</td>
 </tr><tr>
-<td><a href="#Editor.__codeCoverageShowAnnotations">__codeCoverageShowAnnotations</a></td>
-<td>Private method to handle the show code coverage annotations context menu action.</td>
-</tr><tr>
 <td><a href="#Editor.__completionListSelected">__completionListSelected</a></td>
 <td>Private slot to handle the selection from the completion list.</td>
 </tr><tr>
@@ -633,6 +630,9 @@
 <td><a href="#Editor.closeIt">closeIt</a></td>
 <td>Public method called by the viewmanager to finally get rid of us.</td>
 </tr><tr>
+<td><a href="#Editor.codeCoverageShowAnnotations">codeCoverageShowAnnotations</a></td>
+<td>Public method to handle the show code coverage annotations context menu action.</td>
+</tr><tr>
 <td><a href="#Editor.commentLine">commentLine</a></td>
 <td>Public slot to comment the current line.</td>
 </tr><tr>
@@ -1299,11 +1299,6 @@
 <b>__codeCoverageHideAnnotations</b>(<i></i>)
 <p>
         Private method to handle the hide code coverage annotations context menu action.
-</p><a NAME="Editor.__codeCoverageShowAnnotations" ID="Editor.__codeCoverageShowAnnotations"></a>
-<h4>Editor.__codeCoverageShowAnnotations</h4>
-<b>__codeCoverageShowAnnotations</b>(<i></i>)
-<p>
-        Private method to handle the show code coverage annotations context menu action.
 </p><a NAME="Editor.__completionListSelected" ID="Editor.__completionListSelected"></a>
 <h4>Editor.__completionListSelected</h4>
 <b>__completionListSelected</b>(<i>id, txt</i>)
@@ -2349,6 +2344,11 @@
 <b>closeIt</b>(<i></i>)
 <p>
         Public method called by the viewmanager to finally get rid of us.
+</p><a NAME="Editor.codeCoverageShowAnnotations" ID="Editor.codeCoverageShowAnnotations"></a>
+<h4>Editor.codeCoverageShowAnnotations</h4>
+<b>codeCoverageShowAnnotations</b>(<i></i>)
+<p>
+        Public method to handle the show code coverage annotations context menu action.
 </p><a NAME="Editor.commentLine" ID="Editor.commentLine"></a>
 <h4>Editor.commentLine</h4>
 <b>commentLine</b>(<i></i>)
--- a/QScintilla/Editor.py	Sat Oct 27 20:10:59 2012 +0200
+++ b/QScintilla/Editor.py	Sun Oct 28 17:41:29 2012 +0100
@@ -772,7 +772,7 @@
             menu.addAction(self.trUtf8('Code coverage...'), self.__showCodeCoverage)
         self.coverageShowAnnotationMenuAct = \
             menu.addAction(self.trUtf8('Show code coverage annotations'),
-                self.__codeCoverageShowAnnotations)
+                self.codeCoverageShowAnnotations)
         self.coverageHideAnnotationMenuAct = \
             menu.addAction(self.trUtf8('Hide code coverage annotations'),
                 self.__codeCoverageHideAnnotations)
@@ -4818,9 +4818,9 @@
             self.codecoverage.show()
             self.codecoverage.start(fn, self.fileName)
         
-    def __codeCoverageShowAnnotations(self):
-        """
-        Private method to handle the show code coverage annotations context menu action.
+    def codeCoverageShowAnnotations(self):
+        """
+        Public method to handle the show code coverage annotations context menu action.
         """
         fn = self.__getCodeCoverageFile()
         if fn:
--- a/changelog	Sat Oct 27 20:10:59 2012 +0200
+++ b/changelog	Sun Oct 28 17:41:29 2012 +0100
@@ -5,6 +5,8 @@
 - General
   -- introduced a "workspace" directory that is used as the default for opening
      or saving new files or projects (configurable on Multiproject config page)
+- Code Coverage
+  -- enhanced the code coverage dialog functionality
 - Configuration Dialog
   -- added a filter edit to filter the configuration tree
 - Debug Viewer
--- a/i18n/eric5_cs.ts	Sat Oct 27 20:10:59 2012 +0200
+++ b/i18n/eric5_cs.ts	Sun Oct 28 17:41:29 2012 +0100
@@ -34196,34 +34196,39 @@
         <translation>Zobrazuje průběh procesu analýzy pokrytí kódu</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="48"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="54"/>
         <source>Annotate</source>
         <translation>Komentovat</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="50"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="56"/>
         <source>Annotate all</source>
         <translation>Komentovat vše</translation>
     </message>
     <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="57"/>
+        <source>Delete annotated files</source>
+        <translation>Smazat komentované soubory</translation>
+    </message>
+    <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="60"/>
+        <source>Erase Coverage Info</source>
+        <translation>Vymazat info pokrytí</translation>
+    </message>
+    <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="319"/>
+        <source>Annotating files...</source>
+        <translation>Komentované soubory...</translation>
+    </message>
+    <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="319"/>
+        <source>Abort</source>
+        <translation>Přerušit</translation>
+    </message>
+    <message>
         <location filename="DataViews/PyCoverageDialog.py" line="51"/>
-        <source>Delete annotated files</source>
-        <translation>Smazat komentované soubory</translation>
-    </message>
-    <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="54"/>
-        <source>Erase Coverage Info</source>
-        <translation>Vymazat info pokrytí</translation>
-    </message>
-    <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="291"/>
-        <source>Annotating files...</source>
-        <translation>Komentované soubory...</translation>
-    </message>
-    <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="291"/>
-        <source>Abort</source>
-        <translation>Přerušit</translation>
+        <source>Open</source>
+        <translation type="unfinished">Otevřít</translation>
     </message>
 </context>
 <context>
Binary file i18n/eric5_de.qm has changed
--- a/i18n/eric5_de.ts	Sat Oct 27 20:10:59 2012 +0200
+++ b/i18n/eric5_de.ts	Sun Oct 28 17:41:29 2012 +0100
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS><TS version="2.0" language="de" sourcelanguage="">
+<!DOCTYPE TS>
+<TS version="2.0" language="de">
 <context>
     <name>AboutDialog</name>
     <message>
@@ -1948,7 +1949,7 @@
     </message>
     <message>
         <location filename="Helpviewer/Bookmarks/BookmarksMenu.py" line="142"/>
-        <source>Open in New &amp;Tab<byte value="x9"/>Ctrl+LMB</source>
+        <source>Open in New &amp;Tab	Ctrl+LMB</source>
         <translation>In neuem &amp;Register öffnen\tStrg+LMK</translation>
     </message>
 </context>
@@ -2185,7 +2186,7 @@
     </message>
     <message>
         <location filename="Helpviewer/Bookmarks/BookmarksToolBar.py" line="90"/>
-        <source>Open in New &amp;Tab<byte value="x9"/>Ctrl+LMB</source>
+        <source>Open in New &amp;Tab	Ctrl+LMB</source>
         <translation>In neuem &amp;Register öffnen\tStrg+LMK</translation>
     </message>
 </context>
@@ -14103,7 +14104,7 @@
     </message>
     <message>
         <location filename="Helpviewer/HelpBrowserWV.py" line="982"/>
-        <source>Open Link in New Tab<byte value="x9"/>Ctrl+LMB</source>
+        <source>Open Link in New Tab	Ctrl+LMB</source>
         <translation>Link in neuem Fenster öffnen\tStrg+LMK</translation>
     </message>
     <message>
@@ -32874,32 +32875,32 @@
 <context>
     <name>PyCoverageDialog</name>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="48"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="54"/>
         <source>Annotate</source>
         <translation>Kommentieren</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="50"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="56"/>
         <source>Annotate all</source>
         <translation>Alle kommentieren</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="51"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="57"/>
         <source>Delete annotated files</source>
         <translation>Lösche kommentierte Dateien</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="54"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="60"/>
         <source>Erase Coverage Info</source>
         <translation>Lösche Abdeckungsinfo</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="291"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="319"/>
         <source>Annotating files...</source>
         <translation>Dateien kommentieren...</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="291"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="319"/>
         <source>Abort</source>
         <translation>Abbrechen</translation>
     </message>
@@ -32996,6 +32997,11 @@
         <source>Shows the progress of the code coverage action</source>
         <translation>Zeigt den Fortschritt der Quelltextabdeckungsermittlung an</translation>
     </message>
+    <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="51"/>
+        <source>Open</source>
+        <translation>Öffnen</translation>
+    </message>
 </context>
 <context>
     <name>PyProfileDialog</name>
--- a/i18n/eric5_en.ts	Sat Oct 27 20:10:59 2012 +0200
+++ b/i18n/eric5_en.ts	Sun Oct 28 17:41:29 2012 +0100
@@ -32786,33 +32786,38 @@
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="48"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="54"/>
         <source>Annotate</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="50"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="56"/>
         <source>Annotate all</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="57"/>
+        <source>Delete annotated files</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="60"/>
+        <source>Erase Coverage Info</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="319"/>
+        <source>Annotating files...</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="319"/>
+        <source>Abort</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
         <location filename="DataViews/PyCoverageDialog.py" line="51"/>
-        <source>Delete annotated files</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="54"/>
-        <source>Erase Coverage Info</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="291"/>
-        <source>Annotating files...</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="291"/>
-        <source>Abort</source>
+        <source>Open</source>
         <translation type="unfinished"></translation>
     </message>
 </context>
--- a/i18n/eric5_es.ts	Sat Oct 27 20:10:59 2012 +0200
+++ b/i18n/eric5_es.ts	Sun Oct 28 17:41:29 2012 +0100
@@ -33240,34 +33240,39 @@
         <translation>Muestra el progreso de la acción de cobertura de codigo</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="48"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="54"/>
         <source>Annotate</source>
         <translation>Anotar</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="50"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="56"/>
         <source>Annotate all</source>
         <translation>Anotar todo</translation>
     </message>
     <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="57"/>
+        <source>Delete annotated files</source>
+        <translation>Borrar archivos anotados</translation>
+    </message>
+    <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="60"/>
+        <source>Erase Coverage Info</source>
+        <translation>Borrar Información de Cobertura</translation>
+    </message>
+    <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="319"/>
+        <source>Annotating files...</source>
+        <translation>Anotando archivos...</translation>
+    </message>
+    <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="319"/>
+        <source>Abort</source>
+        <translation>Abortar</translation>
+    </message>
+    <message>
         <location filename="DataViews/PyCoverageDialog.py" line="51"/>
-        <source>Delete annotated files</source>
-        <translation>Borrar archivos anotados</translation>
-    </message>
-    <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="54"/>
-        <source>Erase Coverage Info</source>
-        <translation>Borrar Información de Cobertura</translation>
-    </message>
-    <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="291"/>
-        <source>Annotating files...</source>
-        <translation>Anotando archivos...</translation>
-    </message>
-    <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="291"/>
-        <source>Abort</source>
-        <translation>Abortar</translation>
+        <source>Open</source>
+        <translation type="unfinished">Abrir</translation>
     </message>
 </context>
 <context>
--- a/i18n/eric5_fr.ts	Sat Oct 27 20:10:59 2012 +0200
+++ b/i18n/eric5_fr.ts	Sun Oct 28 17:41:29 2012 +0100
@@ -35987,32 +35987,32 @@
 <context>
     <name>PyCoverageDialog</name>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="48"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="54"/>
         <source>Annotate</source>
         <translation>Annoter</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="50"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="56"/>
         <source>Annotate all</source>
         <translation>Annoter tous</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="51"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="57"/>
         <source>Delete annotated files</source>
         <translation>Supprimer les fichiers annotés</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="54"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="60"/>
         <source>Erase Coverage Info</source>
         <translation>Supprimer les infos de Coverage</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="291"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="319"/>
         <source>Annotating files...</source>
         <translation>Annotation des fichiers....</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="291"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="319"/>
         <source>Abort</source>
         <translation>Annuler</translation>
     </message>
@@ -36109,6 +36109,11 @@
         <source>Shows the progress of the code coverage action</source>
         <translation>Affiche l&apos;état de progression du coverage de code</translation>
     </message>
+    <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="51"/>
+        <source>Open</source>
+        <translation type="unfinished">Ouvrir</translation>
+    </message>
 </context>
 <context>
     <name>PyProfileDialog</name>
--- a/i18n/eric5_it.ts	Sat Oct 27 20:10:59 2012 +0200
+++ b/i18n/eric5_it.ts	Sun Oct 28 17:41:29 2012 +0100
@@ -33624,32 +33624,32 @@
 <context>
     <name>PyCoverageDialog</name>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="48"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="54"/>
         <source>Annotate</source>
         <translation>Annota</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="50"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="56"/>
         <source>Annotate all</source>
         <translation>Annota tutti</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="51"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="57"/>
         <source>Delete annotated files</source>
         <translation>Cancella file annotati</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="54"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="60"/>
         <source>Erase Coverage Info</source>
         <translation>Cancella informazioni Coverage</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="291"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="319"/>
         <source>Annotating files...</source>
         <translation>Annotazione file...</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="291"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="319"/>
         <source>Abort</source>
         <translation>Termina</translation>
     </message>
@@ -33746,6 +33746,11 @@
         <source>Shows the progress of the code coverage action</source>
         <translation>Mostra l&apos;avanzamento dell&apos;azione di coverage sul codice</translation>
     </message>
+    <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="51"/>
+        <source>Open</source>
+        <translation type="unfinished">Apri</translation>
+    </message>
 </context>
 <context>
     <name>PyProfileDialog</name>
--- a/i18n/eric5_ru.ts	Sat Oct 27 20:10:59 2012 +0200
+++ b/i18n/eric5_ru.ts	Sun Oct 28 17:41:29 2012 +0100
@@ -33787,32 +33787,32 @@
 <context>
     <name>PyCoverageDialog</name>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="48"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="54"/>
         <source>Annotate</source>
         <translation>Снабдить примечанием</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="50"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="56"/>
         <source>Annotate all</source>
         <translation>Все примечания</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="51"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="57"/>
         <source>Delete annotated files</source>
         <translation>Удалить аннотированные файлы</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="54"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="60"/>
         <source>Erase Coverage Info</source>
         <translation>Удалить информацию охвата</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="291"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="319"/>
         <source>Annotating files...</source>
         <translation>Аннотирование файлов...</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="291"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="319"/>
         <source>Abort</source>
         <translation>Отмена</translation>
     </message>
@@ -33910,6 +33910,11 @@
         <source>Shows the progress of the code coverage action</source>
         <translation>Отображает прогресс сбора информации охвата кода</translation>
     </message>
+    <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="51"/>
+        <source>Open</source>
+        <translation type="unfinished">Открыть</translation>
+    </message>
 </context>
 <context>
     <name>PyProfileDialog</name>
--- a/i18n/eric5_tr.ts	Sat Oct 27 20:10:59 2012 +0200
+++ b/i18n/eric5_tr.ts	Sun Oct 28 17:41:29 2012 +0100
@@ -34009,34 +34009,39 @@
         <translation>Bu süreç kod koruma işlemini gösterir</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="48"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="54"/>
         <source>Annotate</source>
         <translation>Açıklama</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="50"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="56"/>
         <source>Annotate all</source>
         <translation>Tüm Açıklamalar</translation>
     </message>
     <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="57"/>
+        <source>Delete annotated files</source>
+        <translation>Açıklama dosyalarını sil</translation>
+    </message>
+    <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="60"/>
+        <source>Erase Coverage Info</source>
+        <translation>Koruyucu Bilgisini Sil</translation>
+    </message>
+    <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="319"/>
+        <source>Annotating files...</source>
+        <translation>Ek açıklama dosyaları...</translation>
+    </message>
+    <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="319"/>
+        <source>Abort</source>
+        <translation>Vazgeç</translation>
+    </message>
+    <message>
         <location filename="DataViews/PyCoverageDialog.py" line="51"/>
-        <source>Delete annotated files</source>
-        <translation>Açıklama dosyalarını sil</translation>
-    </message>
-    <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="54"/>
-        <source>Erase Coverage Info</source>
-        <translation>Koruyucu Bilgisini Sil</translation>
-    </message>
-    <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="291"/>
-        <source>Annotating files...</source>
-        <translation>Ek açıklama dosyaları...</translation>
-    </message>
-    <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="291"/>
-        <source>Abort</source>
-        <translation>Vazgeç</translation>
+        <source>Open</source>
+        <translation type="unfinished">Aç</translation>
     </message>
 </context>
 <context>
--- a/i18n/eric5_zh_CN.GB2312.ts	Sat Oct 27 20:10:59 2012 +0200
+++ b/i18n/eric5_zh_CN.GB2312.ts	Sun Oct 28 17:41:29 2012 +0100
@@ -36043,34 +36043,39 @@
         <translation>显示代码覆盖率行为的进程</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="48"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="54"/>
         <source>Annotate</source>
         <translation>注解</translation>
     </message>
     <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="50"/>
+        <location filename="DataViews/PyCoverageDialog.py" line="56"/>
         <source>Annotate all</source>
         <translation>注解全部</translation>
     </message>
     <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="57"/>
+        <source>Delete annotated files</source>
+        <translation>删除已注解的文件</translation>
+    </message>
+    <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="60"/>
+        <source>Erase Coverage Info</source>
+        <translation>擦除覆盖率信息</translation>
+    </message>
+    <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="319"/>
+        <source>Annotating files...</source>
+        <translation>正在注解文件……</translation>
+    </message>
+    <message>
+        <location filename="DataViews/PyCoverageDialog.py" line="319"/>
+        <source>Abort</source>
+        <translation>终止</translation>
+    </message>
+    <message>
         <location filename="DataViews/PyCoverageDialog.py" line="51"/>
-        <source>Delete annotated files</source>
-        <translation>删除已注解的文件</translation>
-    </message>
-    <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="54"/>
-        <source>Erase Coverage Info</source>
-        <translation>擦除覆盖率信息</translation>
-    </message>
-    <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="291"/>
-        <source>Annotating files...</source>
-        <translation>正在注解文件……</translation>
-    </message>
-    <message>
-        <location filename="DataViews/PyCoverageDialog.py" line="291"/>
-        <source>Abort</source>
-        <translation>终止</translation>
+        <source>Open</source>
+        <translation type="unfinished">打开</translation>
     </message>
 </context>
 <context>

eric ide

mercurial