eric7/Plugins/WizardPlugins/FontDialogWizard/FontDialogWizardDialog.py

branch
eric7
changeset 8413
65ed18753c40
parent 8410
f8d97f05f883
child 8415
c6236bed1b50
diff -r 16e8c2896469 -r 65ed18753c40 eric7/Plugins/WizardPlugins/FontDialogWizard/FontDialogWizardDialog.py
--- a/eric7/Plugins/WizardPlugins/FontDialogWizard/FontDialogWizardDialog.py	Tue Jun 08 19:33:51 2021 +0200
+++ b/eric7/Plugins/WizardPlugins/FontDialogWizard/FontDialogWizardDialog.py	Tue Jun 08 19:41:08 2021 +0200
@@ -75,12 +75,25 @@
         if self.font is None:
             QFontDialog.getFont()
         else:
+            options = QFontDialog.FontDialogOption(0)
+            if any(self.fontOptions.values()):
+                if self.fontOptions["noNativeDialog"]:
+                    options |= QFontDialog.FontDialogOption.DontUseNativeDialog
+                if self.fontOptions["scalableFonts"]:
+                    options |= QFontDialog.FontDialogOption.ScalableFonts
+                if self.fontOptions["nonScalableFonts"]:
+                    options |= QFontDialog.FontDialogOption.NonScalableFonts
+                if self.fontOptions["monospacedFonts"]:
+                    options |= QFontDialog.FontDialogOption.MonospacedFonts
+                if self.fontOptions["proportionalFonts"]:
+                    options |= QFontDialog.FontDialogOption.ProportionalFonts
             QFontDialog.getFont(
                 self.font,
                 self,
-                self.eCaption.text()
+                self.eCaption.text(),
+                options
             )
-        
+    
     def on_eVariable_textChanged(self, text):
         """
         Private slot to handle the textChanged signal of eVariable.
@@ -106,7 +119,17 @@
             self.font = font
         else:
             self.font = None
-        
+    
+    @pyqtSlot()
+    def on_optionsButton_clicked(self):
+        """
+        Private slot to handle the selection of font dialog options.
+        """
+        from .FontDialogOptionsDialog import FontDialogOptionsDialog
+        dlg = FontDialogOptionsDialog(self.fontOptions, self)
+        if dlg.exec() == QDialog.DialogCode.Accepted:
+            self.fontOptions = dlg.getOptions()
+    
     def getCode(self, indLevel, indString):
         """
         Public method to get the source code.
@@ -159,1642 +182,28 @@
             elif parent != "None":
                 code += ',{0}{1}{2}'.format(
                     os.linesep, istring, parent)
-            # NOTE: add support for font dialog options (enhancement)
-        code += '){0}'.format(estring)
+            if any(self.fontOptions.values()):
+                options = []
+                if self.fontOptions["noNativeDialog"]:
+                    options.append(
+                        "QFontDialog.FontDialogOption.DontUseNativeDialog")
+                if self.fontOptions["scalableFonts"]:
+                    options.append(
+                        "QFontDialog.FontDialogOption.ScalableFonts")
+                if self.fontOptions["nonScalableFonts"]:
+                    options.append(
+                        "QFontDialog.FontDialogOption.NonScalableFonts")
+                if self.fontOptions["monospacedFonts"]:
+                    options.append(
+                        "QFontDialog.FontDialogOption.MonospacedFonts")
+                if self.fontOptions["proportionalFonts"]:
+                    options.append(
+                        "QFontDialog.FontDialogOption.ProportionalFonts")
+                fontOptionsString = (
+                    ' |{0}{1}'.format(os.linesep, istring).join(options)
+                )
+                code += ',{0}{1}{2}'.format(
+                    os.linesep, istring, fontOptionsString)
+        code += '{0}){1}'.format(estring, estring)
         
         return code
-    
-    @pyqtSlot(QObject)
-    def on_label_destroyed(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type QObject
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_label_destroyed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_label_objectNameChanged(self, objectName):
-        """
-        Slot documentation goes here.
-        
-        @param objectName DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_label_windowTitleChanged(self, title):
-        """
-        Slot documentation goes here.
-        
-        @param title DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QIcon)
-    def on_label_windowIconChanged(self, icon):
-        """
-        Slot documentation goes here.
-        
-        @param icon DESCRIPTION
-        @type QIcon
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_label_windowIconTextChanged(self, iconText):
-        """
-        Slot documentation goes here.
-        
-        @param iconText DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QPoint)
-    def on_label_customContextMenuRequested(self, pos):
-        """
-        Slot documentation goes here.
-        
-        @param pos DESCRIPTION
-        @type QPoint
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_label_linkActivated(self, link):
-        """
-        Slot documentation goes here.
-        
-        @param link DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_label_linkHovered(self, link):
-        """
-        Slot documentation goes here.
-        
-        @param link DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QObject)
-    def on_eResultVar_destroyed(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type QObject
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_eResultVar_destroyed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_eResultVar_objectNameChanged(self, objectName):
-        """
-        Slot documentation goes here.
-        
-        @param objectName DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_eResultVar_windowTitleChanged(self, title):
-        """
-        Slot documentation goes here.
-        
-        @param title DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QIcon)
-    def on_eResultVar_windowIconChanged(self, icon):
-        """
-        Slot documentation goes here.
-        
-        @param icon DESCRIPTION
-        @type QIcon
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_eResultVar_windowIconTextChanged(self, iconText):
-        """
-        Slot documentation goes here.
-        
-        @param iconText DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QPoint)
-    def on_eResultVar_customContextMenuRequested(self, pos):
-        """
-        Slot documentation goes here.
-        
-        @param pos DESCRIPTION
-        @type QPoint
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_eResultVar_textChanged(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_eResultVar_textEdited(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(int, int)
-    def on_eResultVar_cursorPositionChanged(self, p0, p1):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type int
-        @param p1 DESCRIPTION
-        @type int
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_eResultVar_returnPressed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_eResultVar_editingFinished(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_eResultVar_selectionChanged(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_eResultVar_inputRejected(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QObject)
-    def on_textLabel1_destroyed(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type QObject
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_textLabel1_destroyed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_textLabel1_objectNameChanged(self, objectName):
-        """
-        Slot documentation goes here.
-        
-        @param objectName DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_textLabel1_windowTitleChanged(self, title):
-        """
-        Slot documentation goes here.
-        
-        @param title DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QIcon)
-    def on_textLabel1_windowIconChanged(self, icon):
-        """
-        Slot documentation goes here.
-        
-        @param icon DESCRIPTION
-        @type QIcon
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_textLabel1_windowIconTextChanged(self, iconText):
-        """
-        Slot documentation goes here.
-        
-        @param iconText DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QPoint)
-    def on_textLabel1_customContextMenuRequested(self, pos):
-        """
-        Slot documentation goes here.
-        
-        @param pos DESCRIPTION
-        @type QPoint
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_textLabel1_linkActivated(self, link):
-        """
-        Slot documentation goes here.
-        
-        @param link DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_textLabel1_linkHovered(self, link):
-        """
-        Slot documentation goes here.
-        
-        @param link DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QObject)
-    def on_eCaption_destroyed(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type QObject
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_eCaption_destroyed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_eCaption_objectNameChanged(self, objectName):
-        """
-        Slot documentation goes here.
-        
-        @param objectName DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_eCaption_windowTitleChanged(self, title):
-        """
-        Slot documentation goes here.
-        
-        @param title DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QIcon)
-    def on_eCaption_windowIconChanged(self, icon):
-        """
-        Slot documentation goes here.
-        
-        @param icon DESCRIPTION
-        @type QIcon
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_eCaption_windowIconTextChanged(self, iconText):
-        """
-        Slot documentation goes here.
-        
-        @param iconText DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QPoint)
-    def on_eCaption_customContextMenuRequested(self, pos):
-        """
-        Slot documentation goes here.
-        
-        @param pos DESCRIPTION
-        @type QPoint
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_eCaption_textChanged(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_eCaption_textEdited(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(int, int)
-    def on_eCaption_cursorPositionChanged(self, p0, p1):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type int
-        @param p1 DESCRIPTION
-        @type int
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_eCaption_returnPressed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_eCaption_editingFinished(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_eCaption_selectionChanged(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_eCaption_inputRejected(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QObject)
-    def on_parentGroup_destroyed(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type QObject
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_parentGroup_destroyed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_parentGroup_objectNameChanged(self, objectName):
-        """
-        Slot documentation goes here.
-        
-        @param objectName DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_parentGroup_windowTitleChanged(self, title):
-        """
-        Slot documentation goes here.
-        
-        @param title DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QIcon)
-    def on_parentGroup_windowIconChanged(self, icon):
-        """
-        Slot documentation goes here.
-        
-        @param icon DESCRIPTION
-        @type QIcon
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_parentGroup_windowIconTextChanged(self, iconText):
-        """
-        Slot documentation goes here.
-        
-        @param iconText DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QPoint)
-    def on_parentGroup_customContextMenuRequested(self, pos):
-        """
-        Slot documentation goes here.
-        
-        @param pos DESCRIPTION
-        @type QPoint
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(bool)
-    def on_parentGroup_clicked(self, checked):
-        """
-        Slot documentation goes here.
-        
-        @param checked DESCRIPTION
-        @type bool
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_parentGroup_clicked(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(bool)
-    def on_parentGroup_toggled(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type bool
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QObject)
-    def on_parentSelf_destroyed(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type QObject
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_parentSelf_destroyed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_parentSelf_objectNameChanged(self, objectName):
-        """
-        Slot documentation goes here.
-        
-        @param objectName DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_parentSelf_windowTitleChanged(self, title):
-        """
-        Slot documentation goes here.
-        
-        @param title DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QIcon)
-    def on_parentSelf_windowIconChanged(self, icon):
-        """
-        Slot documentation goes here.
-        
-        @param icon DESCRIPTION
-        @type QIcon
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_parentSelf_windowIconTextChanged(self, iconText):
-        """
-        Slot documentation goes here.
-        
-        @param iconText DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QPoint)
-    def on_parentSelf_customContextMenuRequested(self, pos):
-        """
-        Slot documentation goes here.
-        
-        @param pos DESCRIPTION
-        @type QPoint
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_parentSelf_pressed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_parentSelf_released(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(bool)
-    def on_parentSelf_clicked(self, checked):
-        """
-        Slot documentation goes here.
-        
-        @param checked DESCRIPTION
-        @type bool
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_parentSelf_clicked(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(bool)
-    def on_parentSelf_toggled(self, checked):
-        """
-        Slot documentation goes here.
-        
-        @param checked DESCRIPTION
-        @type bool
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QObject)
-    def on_parentNone_destroyed(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type QObject
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_parentNone_destroyed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_parentNone_objectNameChanged(self, objectName):
-        """
-        Slot documentation goes here.
-        
-        @param objectName DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_parentNone_windowTitleChanged(self, title):
-        """
-        Slot documentation goes here.
-        
-        @param title DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QIcon)
-    def on_parentNone_windowIconChanged(self, icon):
-        """
-        Slot documentation goes here.
-        
-        @param icon DESCRIPTION
-        @type QIcon
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_parentNone_windowIconTextChanged(self, iconText):
-        """
-        Slot documentation goes here.
-        
-        @param iconText DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QPoint)
-    def on_parentNone_customContextMenuRequested(self, pos):
-        """
-        Slot documentation goes here.
-        
-        @param pos DESCRIPTION
-        @type QPoint
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_parentNone_pressed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_parentNone_released(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(bool)
-    def on_parentNone_clicked(self, checked):
-        """
-        Slot documentation goes here.
-        
-        @param checked DESCRIPTION
-        @type bool
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_parentNone_clicked(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(bool)
-    def on_parentNone_toggled(self, checked):
-        """
-        Slot documentation goes here.
-        
-        @param checked DESCRIPTION
-        @type bool
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QObject)
-    def on_parentOther_destroyed(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type QObject
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_parentOther_destroyed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_parentOther_objectNameChanged(self, objectName):
-        """
-        Slot documentation goes here.
-        
-        @param objectName DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_parentOther_windowTitleChanged(self, title):
-        """
-        Slot documentation goes here.
-        
-        @param title DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QIcon)
-    def on_parentOther_windowIconChanged(self, icon):
-        """
-        Slot documentation goes here.
-        
-        @param icon DESCRIPTION
-        @type QIcon
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_parentOther_windowIconTextChanged(self, iconText):
-        """
-        Slot documentation goes here.
-        
-        @param iconText DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QPoint)
-    def on_parentOther_customContextMenuRequested(self, pos):
-        """
-        Slot documentation goes here.
-        
-        @param pos DESCRIPTION
-        @type QPoint
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_parentOther_pressed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_parentOther_released(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(bool)
-    def on_parentOther_clicked(self, checked):
-        """
-        Slot documentation goes here.
-        
-        @param checked DESCRIPTION
-        @type bool
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_parentOther_clicked(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(bool)
-    def on_parentOther_toggled(self, checked):
-        """
-        Slot documentation goes here.
-        
-        @param checked DESCRIPTION
-        @type bool
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QObject)
-    def on_parentEdit_destroyed(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type QObject
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_parentEdit_destroyed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_parentEdit_objectNameChanged(self, objectName):
-        """
-        Slot documentation goes here.
-        
-        @param objectName DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_parentEdit_windowTitleChanged(self, title):
-        """
-        Slot documentation goes here.
-        
-        @param title DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QIcon)
-    def on_parentEdit_windowIconChanged(self, icon):
-        """
-        Slot documentation goes here.
-        
-        @param icon DESCRIPTION
-        @type QIcon
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_parentEdit_windowIconTextChanged(self, iconText):
-        """
-        Slot documentation goes here.
-        
-        @param iconText DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QPoint)
-    def on_parentEdit_customContextMenuRequested(self, pos):
-        """
-        Slot documentation goes here.
-        
-        @param pos DESCRIPTION
-        @type QPoint
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_parentEdit_textChanged(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_parentEdit_textEdited(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(int, int)
-    def on_parentEdit_cursorPositionChanged(self, p0, p1):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type int
-        @param p1 DESCRIPTION
-        @type int
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_parentEdit_returnPressed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_parentEdit_editingFinished(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_parentEdit_selectionChanged(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_parentEdit_inputRejected(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QObject)
-    def on_fontButton_destroyed(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type QObject
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_fontButton_destroyed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_fontButton_objectNameChanged(self, objectName):
-        """
-        Slot documentation goes here.
-        
-        @param objectName DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_fontButton_windowTitleChanged(self, title):
-        """
-        Slot documentation goes here.
-        
-        @param title DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QIcon)
-    def on_fontButton_windowIconChanged(self, icon):
-        """
-        Slot documentation goes here.
-        
-        @param icon DESCRIPTION
-        @type QIcon
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_fontButton_windowIconTextChanged(self, iconText):
-        """
-        Slot documentation goes here.
-        
-        @param iconText DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QPoint)
-    def on_fontButton_customContextMenuRequested(self, pos):
-        """
-        Slot documentation goes here.
-        
-        @param pos DESCRIPTION
-        @type QPoint
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_fontButton_pressed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_fontButton_released(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(bool)
-    def on_fontButton_clicked(self, checked):
-        """
-        Slot documentation goes here.
-        
-        @param checked DESCRIPTION
-        @type bool
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(bool)
-    def on_fontButton_toggled(self, checked):
-        """
-        Slot documentation goes here.
-        
-        @param checked DESCRIPTION
-        @type bool
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QObject)
-    def on_optionsButton_destroyed(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type QObject
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_optionsButton_destroyed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_optionsButton_objectNameChanged(self, objectName):
-        """
-        Slot documentation goes here.
-        
-        @param objectName DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_optionsButton_windowTitleChanged(self, title):
-        """
-        Slot documentation goes here.
-        
-        @param title DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QIcon)
-    def on_optionsButton_windowIconChanged(self, icon):
-        """
-        Slot documentation goes here.
-        
-        @param icon DESCRIPTION
-        @type QIcon
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_optionsButton_windowIconTextChanged(self, iconText):
-        """
-        Slot documentation goes here.
-        
-        @param iconText DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QPoint)
-    def on_optionsButton_customContextMenuRequested(self, pos):
-        """
-        Slot documentation goes here.
-        
-        @param pos DESCRIPTION
-        @type QPoint
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_optionsButton_pressed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_optionsButton_released(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(bool)
-    def on_optionsButton_clicked(self, checked):
-        """
-        Slot documentation goes here.
-        
-        @param checked DESCRIPTION
-        @type bool
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_optionsButton_clicked(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(bool)
-    def on_optionsButton_toggled(self, checked):
-        """
-        Slot documentation goes here.
-        
-        @param checked DESCRIPTION
-        @type bool
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QObject)
-    def on_TextLabel1_destroyed(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type QObject
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_TextLabel1_destroyed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_TextLabel1_objectNameChanged(self, objectName):
-        """
-        Slot documentation goes here.
-        
-        @param objectName DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_TextLabel1_windowTitleChanged(self, title):
-        """
-        Slot documentation goes here.
-        
-        @param title DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QIcon)
-    def on_TextLabel1_windowIconChanged(self, icon):
-        """
-        Slot documentation goes here.
-        
-        @param icon DESCRIPTION
-        @type QIcon
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_TextLabel1_windowIconTextChanged(self, iconText):
-        """
-        Slot documentation goes here.
-        
-        @param iconText DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QPoint)
-    def on_TextLabel1_customContextMenuRequested(self, pos):
-        """
-        Slot documentation goes here.
-        
-        @param pos DESCRIPTION
-        @type QPoint
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_TextLabel1_linkActivated(self, link):
-        """
-        Slot documentation goes here.
-        
-        @param link DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_TextLabel1_linkHovered(self, link):
-        """
-        Slot documentation goes here.
-        
-        @param link DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QObject)
-    def on_eVariable_destroyed(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type QObject
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_eVariable_destroyed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_eVariable_objectNameChanged(self, objectName):
-        """
-        Slot documentation goes here.
-        
-        @param objectName DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_eVariable_windowTitleChanged(self, title):
-        """
-        Slot documentation goes here.
-        
-        @param title DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QIcon)
-    def on_eVariable_windowIconChanged(self, icon):
-        """
-        Slot documentation goes here.
-        
-        @param icon DESCRIPTION
-        @type QIcon
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_eVariable_windowIconTextChanged(self, iconText):
-        """
-        Slot documentation goes here.
-        
-        @param iconText DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QPoint)
-    def on_eVariable_customContextMenuRequested(self, pos):
-        """
-        Slot documentation goes here.
-        
-        @param pos DESCRIPTION
-        @type QPoint
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_eVariable_textEdited(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(int, int)
-    def on_eVariable_cursorPositionChanged(self, p0, p1):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type int
-        @param p1 DESCRIPTION
-        @type int
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_eVariable_returnPressed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_eVariable_editingFinished(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_eVariable_selectionChanged(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_eVariable_inputRejected(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QObject)
-    def on_buttonBox_destroyed(self, p0):
-        """
-        Slot documentation goes here.
-        
-        @param p0 DESCRIPTION
-        @type QObject
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_buttonBox_destroyed(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_buttonBox_objectNameChanged(self, objectName):
-        """
-        Slot documentation goes here.
-        
-        @param objectName DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_buttonBox_windowTitleChanged(self, title):
-        """
-        Slot documentation goes here.
-        
-        @param title DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QIcon)
-    def on_buttonBox_windowIconChanged(self, icon):
-        """
-        Slot documentation goes here.
-        
-        @param icon DESCRIPTION
-        @type QIcon
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(str)
-    def on_buttonBox_windowIconTextChanged(self, iconText):
-        """
-        Slot documentation goes here.
-        
-        @param iconText DESCRIPTION
-        @type str
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot(QPoint)
-    def on_buttonBox_customContextMenuRequested(self, pos):
-        """
-        Slot documentation goes here.
-        
-        @param pos DESCRIPTION
-        @type QPoint
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_buttonBox_accepted(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_buttonBox_helpRequested(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError
-    
-    @pyqtSlot()
-    def on_buttonBox_rejected(self):
-        """
-        Slot documentation goes here.
-        """
-        # TODO: not implemented yet
-        raise NotImplementedError

eric ide

mercurial