Removed all code setting the Qt.WA_DeleteOnClose widget attribute.

Sun, 12 Jan 2014 18:31:15 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 12 Jan 2014 18:31:15 +0100
changeset 3201
0f115f6db6cb
parent 3200
83bde5e6f146
child 3202
d21df6f384fc

Removed all code setting the Qt.WA_DeleteOnClose widget attribute.

E5Network/E5NetworkMonitor.py file | annotate | diff | comparison | revisions
E5Network/E5SslInfoWidget.py file | annotate | diff | comparison | revisions
Helpviewer/HelpWindow.py file | annotate | diff | comparison | revisions
Helpviewer/History/HistoryMenu.py file | annotate | diff | comparison | revisions
IconEditor/IconEditorWindow.py file | annotate | diff | comparison | revisions
Plugins/ViewManagerPlugins/Listspace/Listspace.py file | annotate | diff | comparison | revisions
Plugins/ViewManagerPlugins/Tabview/Tabview.py file | annotate | diff | comparison | revisions
QScintilla/Editor.py file | annotate | diff | comparison | revisions
QScintilla/MiniEditor.py file | annotate | diff | comparison | revisions
Tools/TRPreviewer.py file | annotate | diff | comparison | revisions
Tools/UIPreviewer.py file | annotate | diff | comparison | revisions
UI/UserInterface.py file | annotate | diff | comparison | revisions
--- a/E5Network/E5NetworkMonitor.py	Sun Jan 12 18:02:33 2014 +0100
+++ b/E5Network/E5NetworkMonitor.py	Sun Jan 12 18:31:15 2014 +0100
@@ -50,7 +50,6 @@
         """
         if cls._monitor is None:
             cls._monitor = E5NetworkMonitor(networkAccessManager)
-            cls._monitor.setAttribute(Qt.WA_DeleteOnClose, True)
         
         return cls._monitor
     
--- a/E5Network/E5SslInfoWidget.py	Sun Jan 12 18:02:33 2014 +0100
+++ b/E5Network/E5SslInfoWidget.py	Sun Jan 12 18:31:15 2014 +0100
@@ -32,7 +32,6 @@
         self.__url = QUrl(url)
         self.__configuration = QSslConfiguration(configuration)
         
-        self.setAttribute(Qt.WA_DeleteOnClose)
         self.setMinimumWidth(400)
         
         certList = self.__configuration.peerCertificateChain()
--- a/Helpviewer/HelpWindow.py	Sun Jan 12 18:02:33 2014 +0100
+++ b/Helpviewer/HelpWindow.py	Sun Jan 12 18:31:15 2014 +0100
@@ -2131,7 +2131,6 @@
         """
         from .Bookmarks.BookmarksDialog import BookmarksDialog
         self.__bookmarksDialog = BookmarksDialog(self)
-        self.__bookmarksDialog.setAttribute(Qt.WA_DeleteOnClose)
         self.__bookmarksDialog.openUrl.connect(self.openUrl)
         self.__bookmarksDialog.newUrl.connect(self.openUrlNewTab)
         self.__bookmarksDialog.show()
@@ -3459,7 +3458,6 @@
         """
         from .SiteInfo.SiteInfoDialog import SiteInfoDialog
         self.__siteinfoDialog = SiteInfoDialog(self.currentBrowser(), self)
-        self.__siteinfoDialog.setAttribute(Qt.WA_DeleteOnClose)
         self.__siteinfoDialog.show()
 
     @classmethod
--- a/Helpviewer/History/HistoryMenu.py	Sun Jan 12 18:02:33 2014 +0100
+++ b/Helpviewer/History/HistoryMenu.py	Sun Jan 12 18:31:15 2014 +0100
@@ -365,7 +365,6 @@
         """
         from .HistoryDialog import HistoryDialog
         dlg = HistoryDialog(self)
-        dlg.setAttribute(Qt.WA_DeleteOnClose)
         dlg.newUrl.connect(self.newUrl)
         dlg.openUrl.connect(self.openUrl)
         dlg.show()
--- a/IconEditor/IconEditorWindow.py	Sun Jan 12 18:02:33 2014 +0100
+++ b/IconEditor/IconEditorWindow.py	Sun Jan 12 18:31:15 2014 +0100
@@ -52,7 +52,6 @@
         """
         super().__init__(parent)
         self.setObjectName("eric5_icon_editor")
-        self.setAttribute(Qt.WA_DeleteOnClose)
         
         self.fromEric = fromEric
         self.initShortcutsOnly = initShortcutsOnly
--- a/Plugins/ViewManagerPlugins/Listspace/Listspace.py	Sun Jan 12 18:02:33 2014 +0100
+++ b/Plugins/ViewManagerPlugins/Listspace/Listspace.py	Sun Jan 12 18:31:15 2014 +0100
@@ -32,7 +32,6 @@
         @param parent parent widget (QWidget)
         """
         super().__init__(parent)
-        self.setAttribute(Qt.WA_DeleteOnClose, True)
         
         self.editors = []
         
--- a/Plugins/ViewManagerPlugins/Tabview/Tabview.py	Sun Jan 12 18:02:33 2014 +0100
+++ b/Plugins/ViewManagerPlugins/Tabview/Tabview.py	Sun Jan 12 18:31:15 2014 +0100
@@ -156,7 +156,6 @@
         @param vm view manager widget (Tabview)
         """
         super().__init__()
-        self.setAttribute(Qt.WA_DeleteOnClose, True)
         
         self.__tabBar = TabBar(self)
         self.setTabBar(self.__tabBar)
--- a/QScintilla/Editor.py	Sun Jan 12 18:02:33 2014 +0100
+++ b/QScintilla/Editor.py	Sun Jan 12 18:31:15 2014 +0100
@@ -142,7 +142,6 @@
         @exception IOError raised to indicate an issue accessing the file
         """
         super().__init__()
-##        self.setAttribute(Qt.WA_DeleteOnClose)
         self.setAttribute(Qt.WA_KeyCompression)
         self.setUtf8(True)
         
--- a/QScintilla/MiniEditor.py	Sun Jan 12 18:02:33 2014 +0100
+++ b/QScintilla/MiniEditor.py	Sun Jan 12 18:31:15 2014 +0100
@@ -108,7 +108,6 @@
         super().__init__(parent)
         if name is not None:
             self.setObjectName(name)
-        self.setAttribute(Qt.WA_DeleteOnClose)
         self.setWindowIcon(UI.PixmapCache.getIcon("editor.png"))
         
         self.setStyle(Preferences.getUI("Style"),
--- a/Tools/TRPreviewer.py	Sun Jan 12 18:02:33 2014 +0100
+++ b/Tools/TRPreviewer.py	Sun Jan 12 18:31:15 2014 +0100
@@ -53,7 +53,6 @@
                       Preferences.getUI("StyleSheet"))
         
         self.resize(QSize(800, 600).expandedTo(self.minimumSizeHint()))
-        self.setAttribute(Qt.WA_DeleteOnClose)
         self.statusBar()
         
         self.setWindowIcon(UI.PixmapCache.getIcon("eric.png"))
@@ -680,7 +679,6 @@
         if name:
             self.setObjectName(name)
             self.setWindowTitle(name)
-        self.setAttribute(Qt.WA_DeleteOnClose)
         
         self.__widget = None
         self.__uiFileName = uiFileName
--- a/Tools/UIPreviewer.py	Sun Jan 12 18:02:33 2014 +0100
+++ b/Tools/UIPreviewer.py	Sun Jan 12 18:31:15 2014 +0100
@@ -48,7 +48,6 @@
                       Preferences.getUI("StyleSheet"))
         
         self.resize(QSize(600, 480).expandedTo(self.minimumSizeHint()))
-        self.setAttribute(Qt.WA_DeleteOnClose)
         self.statusBar()
         
         self.setWindowIcon(UI.PixmapCache.getIcon("eric.png"))
--- a/UI/UserInterface.py	Sun Jan 12 18:02:33 2014 +0100
+++ b/UI/UserInterface.py	Sun Jan 12 18:31:15 2014 +0100
@@ -154,7 +154,6 @@
             a restart (list of strings)
         """
         super().__init__()
-        self.setAttribute(Qt.WA_DeleteOnClose)
         
         self.__restartArgs = restartArguments[:]
         

eric ide

mercurial