Fixed a new style signals related issue related to redefining some signals. 5_1_x

Sat, 19 Mar 2011 14:29:38 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 19 Mar 2011 14:29:38 +0100
branch
5_1_x
changeset 950
1138e347c653
parent 947
d3ba26384cf8
child 951
08ecc72adb94

Fixed a new style signals related issue related to redefining some signals.

APIs/Python3/eric5.api file | annotate | diff | comparison | revisions
Documentation/Help/source.qch file | annotate | diff | comparison | revisions
Documentation/Source/eric5.UI.Browser.html file | annotate | diff | comparison | revisions
Project/ProjectFormsBrowser.py file | annotate | diff | comparison | revisions
Project/ProjectInterfacesBrowser.py file | annotate | diff | comparison | revisions
Project/ProjectOthersBrowser.py file | annotate | diff | comparison | revisions
Project/ProjectResourcesBrowser.py file | annotate | diff | comparison | revisions
Project/ProjectSourcesBrowser.py file | annotate | diff | comparison | revisions
Project/ProjectTranslationsBrowser.py file | annotate | diff | comparison | revisions
UI/Browser.py file | annotate | diff | comparison | revisions
ViewManager/ViewManager.py file | annotate | diff | comparison | revisions
i18n/eric5_cs.qm file | annotate | diff | comparison | revisions
i18n/eric5_cs.ts file | annotate | diff | comparison | revisions
--- a/APIs/Python3/eric5.api	Sat Mar 12 13:47:59 2011 +0100
+++ b/APIs/Python3/eric5.api	Sat Mar 19 14:29:38 2011 +0100
@@ -4826,13 +4826,10 @@
 eric5.Project.ProjectFormsBrowser.ProjectFormsBrowser._initHookMethods?5()
 eric5.Project.ProjectFormsBrowser.ProjectFormsBrowser._openItem?5()
 eric5.Project.ProjectFormsBrowser.ProjectFormsBrowser.appendStderr?7
-eric5.Project.ProjectFormsBrowser.ProjectFormsBrowser.closeSourceWindow?7
 eric5.Project.ProjectFormsBrowser.ProjectFormsBrowser.compileChangedForms?4()
 eric5.Project.ProjectFormsBrowser.ProjectFormsBrowser.handlePreferencesChanged?4()
 eric5.Project.ProjectFormsBrowser.ProjectFormsBrowser.menusAboutToBeCreated?7
 eric5.Project.ProjectFormsBrowser.ProjectFormsBrowser.showMenu?7
-eric5.Project.ProjectFormsBrowser.ProjectFormsBrowser.sourceFile?7
-eric5.Project.ProjectFormsBrowser.ProjectFormsBrowser.trpreview?7
 eric5.Project.ProjectFormsBrowser.ProjectFormsBrowser.uipreview?7
 eric5.Project.ProjectFormsBrowser.ProjectFormsBrowser?1(project, parent = None)
 eric5.Project.ProjectInterfacesBrowser.ProjectInterfacesBrowser._contextMenuRequested?5(coord)
@@ -4840,21 +4837,14 @@
 eric5.Project.ProjectInterfacesBrowser.ProjectInterfacesBrowser._openItem?5()
 eric5.Project.ProjectInterfacesBrowser.ProjectInterfacesBrowser.appendStderr?7
 eric5.Project.ProjectInterfacesBrowser.ProjectInterfacesBrowser.appendStdout?7
-eric5.Project.ProjectInterfacesBrowser.ProjectInterfacesBrowser.closeSourceWindow?7
 eric5.Project.ProjectInterfacesBrowser.ProjectInterfacesBrowser.showMenu?7
-eric5.Project.ProjectInterfacesBrowser.ProjectInterfacesBrowser.sourceFile?7
 eric5.Project.ProjectInterfacesBrowser.ProjectInterfacesBrowser?1(project, parent = None)
 eric5.Project.ProjectOthersBrowser.ProjectOthersBrowser._contextMenuRequested?5(coord)
 eric5.Project.ProjectOthersBrowser.ProjectOthersBrowser._createPopupMenus?5()
 eric5.Project.ProjectOthersBrowser.ProjectOthersBrowser._editPixmap?5()
 eric5.Project.ProjectOthersBrowser.ProjectOthersBrowser._openItem?5()
 eric5.Project.ProjectOthersBrowser.ProjectOthersBrowser._showContextMenu?5(menu)
-eric5.Project.ProjectOthersBrowser.ProjectOthersBrowser.closeSourceWindow?7
-eric5.Project.ProjectOthersBrowser.ProjectOthersBrowser.pixmapEditFile?7
-eric5.Project.ProjectOthersBrowser.ProjectOthersBrowser.pixmapFile?7
 eric5.Project.ProjectOthersBrowser.ProjectOthersBrowser.showMenu?7
-eric5.Project.ProjectOthersBrowser.ProjectOthersBrowser.sourceFile?7
-eric5.Project.ProjectOthersBrowser.ProjectOthersBrowser.svgFile?7
 eric5.Project.ProjectOthersBrowser.ProjectOthersBrowser?1(project, parent=None)
 eric5.Project.ProjectResourcesBrowser.ProjectResourcesBrowser.RCFilenameFormatPython?7
 eric5.Project.ProjectResourcesBrowser.ProjectResourcesBrowser.RCFilenameFormatRuby?7
@@ -4863,19 +4853,15 @@
 eric5.Project.ProjectResourcesBrowser.ProjectResourcesBrowser._initHookMethods?5()
 eric5.Project.ProjectResourcesBrowser.ProjectResourcesBrowser._openItem?5()
 eric5.Project.ProjectResourcesBrowser.ProjectResourcesBrowser.appendStderr?7
-eric5.Project.ProjectResourcesBrowser.ProjectResourcesBrowser.closeSourceWindow?7
 eric5.Project.ProjectResourcesBrowser.ProjectResourcesBrowser.compileChangedResources?4()
 eric5.Project.ProjectResourcesBrowser.ProjectResourcesBrowser.handlePreferencesChanged?4()
 eric5.Project.ProjectResourcesBrowser.ProjectResourcesBrowser.showMenu?7
-eric5.Project.ProjectResourcesBrowser.ProjectResourcesBrowser.sourceFile?7
 eric5.Project.ProjectResourcesBrowser.ProjectResourcesBrowser?1(project, parent = None)
 eric5.Project.ProjectSourcesBrowser.ProjectSourcesBrowser._contextMenuRequested?5(coord)
 eric5.Project.ProjectSourcesBrowser.ProjectSourcesBrowser._createPopupMenus?5()
 eric5.Project.ProjectSourcesBrowser.ProjectSourcesBrowser._openItem?5()
 eric5.Project.ProjectSourcesBrowser.ProjectSourcesBrowser._projectClosed?5()
-eric5.Project.ProjectSourcesBrowser.ProjectSourcesBrowser.closeSourceWindow?7
 eric5.Project.ProjectSourcesBrowser.ProjectSourcesBrowser.showMenu?7
-eric5.Project.ProjectSourcesBrowser.ProjectSourcesBrowser.sourceFile?7
 eric5.Project.ProjectSourcesBrowser.ProjectSourcesBrowser?1(project, parent = None)
 eric5.Project.ProjectTranslationsBrowser.ProjectTranslationsBrowser._contextMenuRequested?5(coord)
 eric5.Project.ProjectTranslationsBrowser.ProjectTranslationsBrowser._createPopupMenus?5()
@@ -4883,11 +4869,7 @@
 eric5.Project.ProjectTranslationsBrowser.ProjectTranslationsBrowser._openItem?5()
 eric5.Project.ProjectTranslationsBrowser.ProjectTranslationsBrowser.appendStderr?7
 eric5.Project.ProjectTranslationsBrowser.ProjectTranslationsBrowser.appendStdout?7
-eric5.Project.ProjectTranslationsBrowser.ProjectTranslationsBrowser.closeSourceWindow?7
-eric5.Project.ProjectTranslationsBrowser.ProjectTranslationsBrowser.linguistFile?7
 eric5.Project.ProjectTranslationsBrowser.ProjectTranslationsBrowser.showMenu?7
-eric5.Project.ProjectTranslationsBrowser.ProjectTranslationsBrowser.sourceFile?7
-eric5.Project.ProjectTranslationsBrowser.ProjectTranslationsBrowser.trpreview?7
 eric5.Project.ProjectTranslationsBrowser.ProjectTranslationsBrowser?1(project, parent=None)
 eric5.Project.PropertiesDialog.PropertiesDialog.getPPath?4()
 eric5.Project.PropertiesDialog.PropertiesDialog.getProjectType?4()
@@ -6689,7 +6671,6 @@
 eric5.ViewManager.ViewManager.QuickSearchLineEdit.focusInEvent?4(evt)
 eric5.ViewManager.ViewManager.QuickSearchLineEdit.gotFocus?7
 eric5.ViewManager.ViewManager.QuickSearchLineEdit.keyPressEvent?4(evt)
-eric5.ViewManager.ViewManager.QuickSearchLineEdit.returnPressed?7
 eric5.ViewManager.ViewManager.ViewManager._addView?5(win, fn=None, noName="")
 eric5.ViewManager.ViewManager.ViewManager._checkActions?5(editor, setSb = True)
 eric5.ViewManager.ViewManager.ViewManager._getOpenFileFilter?5()
Binary file Documentation/Help/source.qch has changed
--- a/Documentation/Source/eric5.UI.Browser.html	Sat Mar 12 13:47:59 2011 +0100
+++ b/Documentation/Source/eric5.UI.Browser.html	Sat Mar 19 14:29:38 2011 +0100
@@ -74,9 +74,10 @@
 </dd><dt>svgFile(str)</dt>
 <dd>
 emitted to open a SVG file
-</dd><dt>trpreview(list of str)</dt>
+</dd><dt>trpreview(list of str, bool = False)</dt>
 <dd>
-emitted to preview a Qt-Linguist (*.qm) file
+emitted to preview a Qt-Linguist
+            (*.qm) file
 </dd><dt>unittestOpen(str)</dt>
 <dd>
 emitted to open a Python file for a unittest
--- a/Project/ProjectFormsBrowser.py	Sat Mar 12 13:47:59 2011 +0100
+++ b/Project/ProjectFormsBrowser.py	Sat Mar 19 14:29:38 2011 +0100
@@ -47,10 +47,7 @@
             be created. This is the right moment to add or remove hook methods.
     """
     appendStderr = pyqtSignal(str)
-    sourceFile = pyqtSignal(str)
     uipreview = pyqtSignal(str)
-    trpreview = pyqtSignal(list)
-    closeSourceWindow = pyqtSignal(str)
     showMenu = pyqtSignal(str, QMenu)
     menusAboutToBeCreated = pyqtSignal()
     
--- a/Project/ProjectInterfacesBrowser.py	Sat Mar 12 13:47:59 2011 +0100
+++ b/Project/ProjectInterfacesBrowser.py	Sat Mar 19 14:29:38 2011 +0100
@@ -42,11 +42,9 @@
     @signal showMenu(str, QMenu) emitted when a menu is about to be shown. The name
             of the menu and a reference to the menu are given.
     """
-    closeSourceWindow = pyqtSignal(str)
     appendStdout = pyqtSignal(str)
     appendStderr = pyqtSignal(str)
     showMenu = pyqtSignal(str, QMenu)
-    sourceFile = pyqtSignal((str, ), (str, int))
     
     def __init__(self, project, parent = None):
         """
@@ -577,4 +575,4 @@
         """
         Private method to open the configuration dialog.
         """
-        e5App().getObject("UserInterface").showPreferences("corbaPage")
\ No newline at end of file
+        e5App().getObject("UserInterface").showPreferences("corbaPage")
--- a/Project/ProjectOthersBrowser.py	Sat Mar 12 13:47:59 2011 +0100
+++ b/Project/ProjectOthersBrowser.py	Sat Mar 19 14:29:38 2011 +0100
@@ -33,11 +33,6 @@
     @signal showMenu(str, QMenu) emitted when a menu is about to be shown. The name
             of the menu and a reference to the menu are given.
     """
-    sourceFile = pyqtSignal(str)
-    pixmapFile = pyqtSignal(str)
-    pixmapEditFile = pyqtSignal(str)
-    svgFile = pyqtSignal(str)
-    closeSourceWindow = pyqtSignal(str)
     showMenu = pyqtSignal(str, QMenu)
     
     def __init__(self, project, parent=None):
--- a/Project/ProjectResourcesBrowser.py	Sat Mar 12 13:47:59 2011 +0100
+++ b/Project/ProjectResourcesBrowser.py	Sat Mar 19 14:29:38 2011 +0100
@@ -38,8 +38,6 @@
             of the menu and a reference to the menu are given.
     """
     appendStderr = pyqtSignal(str)
-    sourceFile = pyqtSignal(str)
-    closeSourceWindow = pyqtSignal(str)
     showMenu = pyqtSignal(str, QMenu)
     
     RCFilenameFormatPython = "{0}_rc.py"
--- a/Project/ProjectSourcesBrowser.py	Sat Mar 12 13:47:59 2011 +0100
+++ b/Project/ProjectSourcesBrowser.py	Sat Mar 19 14:29:38 2011 +0100
@@ -48,9 +48,7 @@
     @signal sourceFile(str, int, str) emitted to open the given file as the given type
             at the given line.
     """
-    closeSourceWindow = pyqtSignal(str)
     showMenu = pyqtSignal(str, QMenu)
-    sourceFile = pyqtSignal((str, ), (str, int), (str, int, str))
     
     def __init__(self, project, parent = None):
         """
--- a/Project/ProjectTranslationsBrowser.py	Sat Mar 12 13:47:59 2011 +0100
+++ b/Project/ProjectTranslationsBrowser.py	Sat Mar 19 14:29:38 2011 +0100
@@ -44,12 +44,8 @@
     @signal showMenu(str, QMenu) emitted when a menu is about to be shown. The name
             of the menu and a reference to the menu are given.
     """
-    sourceFile = pyqtSignal(str)
-    linguistFile = pyqtSignal(str)
     appendStdout = pyqtSignal(str)
     appendStderr = pyqtSignal(str)
-    closeSourceWindow = pyqtSignal(str)
-    trpreview = pyqtSignal((list, ), (list, bool))
     showMenu = pyqtSignal(str, QMenu)
     
     def __init__(self, project, parent=None):
--- a/UI/Browser.py	Sat Mar 12 13:47:59 2011 +0100
+++ b/UI/Browser.py	Sat Mar 19 14:29:38 2011 +0100
@@ -36,7 +36,8 @@
     @signal sourceFile(str, int = 0, str = "") emitted to open a Python file at a line 
     @signal designerFile(str) emitted to open a Qt-Designer file
     @signal linguistFile(str) emitted to open a Qt-Linguist (*.ts) file
-    @signal trpreview(list of str) emitted to preview a Qt-Linguist (*.qm) file
+    @signal trpreview(list of str, bool = False) emitted to preview a Qt-Linguist
+            (*.qm) file
     @signal projectFile(str) emitted to open an eric4/5 project file
     @signal multiProjectFile(str) emitted to open an eric4/5 multi project file
     @signal pixmapFile(str) emitted to open a pixmap file
@@ -47,7 +48,7 @@
     sourceFile = pyqtSignal((str, ), (str, int), (str, int, str))
     designerFile = pyqtSignal(str)
     linguistFile = pyqtSignal(str)
-    trpreview = pyqtSignal(list)
+    trpreview = pyqtSignal((list, ), (list, bool))
     projectFile = pyqtSignal(str)
     multiProjectFile = pyqtSignal(str)
     pixmapFile = pyqtSignal(str)
--- a/ViewManager/ViewManager.py	Sat Mar 12 13:47:59 2011 +0100
+++ b/ViewManager/ViewManager.py	Sat Mar 19 14:29:38 2011 +0100
@@ -49,7 +49,6 @@
     @signal gotFocus() emitted when the focus is changed to this widget
     """
     escPressed = pyqtSignal()
-    returnPressed = pyqtSignal()
     gotFocus = pyqtSignal()
     
     def editorCommand(self, cmd):
Binary file i18n/eric5_cs.qm has changed
--- a/i18n/eric5_cs.ts	Sat Mar 12 13:47:59 2011 +0100
+++ b/i18n/eric5_cs.ts	Sat Mar 19 14:29:38 2011 +0100
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS><TS version="1.1" language="cs_CZ">
+<!DOCTYPE TS>
+<TS version="2.0" language="cs_CZ">
 <context>
     <name>AboutDialog</name>
     <message>
@@ -20,7 +21,7 @@
     <message>
         <location filename="Plugins/AboutPlugin/AboutDialog.ui" line="89"/>
         <source>&amp;Thanks To</source>
-        <translation>Poděkování &amp;au&amp;torům</translation>
+        <translation type="unfinished">&amp;Poděkování autorům</translation>
     </message>
     <message>
         <location filename="Plugins/AboutPlugin/AboutDialog.ui" line="106"/>
@@ -1570,8 +1571,8 @@
     </message>
     <message>
         <location filename="Helpviewer/Bookmarks/BookmarksMenu.py" line="139"/>
-        <source>Open in New &amp;Tab<byte value="x9"/>Ctrl+LMB</source>
-        <translation>Otevřít nový &amp;Tab<byte value="x9"/></translation>
+        <source>Open in New &amp;Tab	Ctrl+LMB</source>
+        <translation>Otevřít nový &amp;Tab	</translation>
     </message>
     <message>
         <location filename="Helpviewer/Bookmarks/BookmarksMenu.py" line="145"/>
@@ -1621,8 +1622,8 @@
     </message>
     <message>
         <location filename="Helpviewer/Bookmarks/BookmarksToolBar.py" line="72"/>
-        <source>Open in New &amp;Tab<byte value="x9"/>Ctrl+LMB</source>
-        <translation>Otevřít nový &amp;Tab<byte value="x9"/><byte value="x9"/></translation>
+        <source>Open in New &amp;Tab	Ctrl+LMB</source>
+        <translation>Otevřít nový &amp;Tab		</translation>
     </message>
 </context>
 <context>
@@ -5473,8 +5474,6 @@
         <source>%n Download(s)</source>
         <translation type="unfinished">
             <numerusform></numerusform>
-            <numerusform></numerusform>
-            <numerusform></numerusform>
         </translation>
     </message>
     <message numerus="yes">
@@ -5483,8 +5482,6 @@
 Do you want to quit anyway?</source>
         <translation type="unfinished">
             <numerusform></numerusform>
-            <numerusform></numerusform>
-            <numerusform></numerusform>
         </translation>
     </message>
     <message>
@@ -5537,8 +5534,6 @@
         <source>Downloading %n file(s)</source>
         <translation type="unfinished">
             <numerusform></numerusform>
-            <numerusform></numerusform>
-            <numerusform></numerusform>
         </translation>
     </message>
 </context>
@@ -5549,8 +5544,6 @@
         <source>%n seconds remaining</source>
         <translation type="unfinished">
             <numerusform></numerusform>
-            <numerusform></numerusform>
-            <numerusform></numerusform>
         </translation>
     </message>
     <message>
@@ -5578,8 +5571,6 @@
         <source>%n:{0:02} minutes remaining</source>
         <translation type="unfinished">
             <numerusform></numerusform>
-            <numerusform></numerusform>
-            <numerusform></numerusform>
         </translation>
     </message>
 </context>
@@ -11851,8 +11842,8 @@
     <name>HelpBrowser</name>
     <message>
         <location filename="Helpviewer/HelpBrowserWV.py" line="782"/>
-        <source>Open Link in New Tab<byte value="x9"/>Ctrl+LMB</source>
-        <translation>Otevřít odkaz v novém tab okně<byte value="x9"/>Ctrl+LMB</translation>
+        <source>Open Link in New Tab	Ctrl+LMB</source>
+        <translation>Otevřít odkaz v novém tab okně	Ctrl+LMB</translation>
     </message>
     <message>
         <location filename="Helpviewer/HelpBrowserWV.py" line="394"/>
@@ -12456,8 +12447,6 @@
 You have %n tab(s) open.</source>
         <translation type="unfinished">
             <numerusform></numerusform>
-            <numerusform></numerusform>
-            <numerusform></numerusform>
         </translation>
     </message>
     <message>
@@ -23158,8 +23147,6 @@
         <source>%n blank line(s) inserted.</source>
         <translation type="unfinished">
             <numerusform></numerusform>
-            <numerusform></numerusform>
-            <numerusform></numerusform>
         </translation>
     </message>
     <message numerus="yes">
@@ -23167,8 +23154,6 @@
         <source>%n superfluous lines removed</source>
         <translation type="unfinished">
             <numerusform></numerusform>
-            <numerusform></numerusform>
-            <numerusform></numerusform>
         </translation>
     </message>
     <message>
@@ -23232,8 +23217,6 @@
         <source>%n issue(s) found</source>
         <translation type="unfinished">
             <numerusform></numerusform>
-            <numerusform></numerusform>
-            <numerusform></numerusform>
         </translation>
     </message>
     <message numerus="yes">
@@ -23241,8 +23224,6 @@
         <source>%n file(s) checked</source>
         <translation type="unfinished">
             <numerusform></numerusform>
-            <numerusform></numerusform>
-            <numerusform></numerusform>
         </translation>
     </message>
     <message numerus="yes">
@@ -23250,8 +23231,6 @@
         <source>%n file(s) with issues found</source>
         <translation type="unfinished">
             <numerusform></numerusform>
-            <numerusform></numerusform>
-            <numerusform></numerusform>
         </translation>
     </message>
     <message numerus="yes">
@@ -23259,8 +23238,6 @@
         <source>%n issue(s) fixed</source>
         <translation type="unfinished">
             <numerusform></numerusform>
-            <numerusform></numerusform>
-            <numerusform></numerusform>
         </translation>
     </message>
 </context>

eric ide

mercurial