diff -r 3b46c662a004 -r 9960d19d66b5 src/eric7/IconEditor/IconEditorWindow.py --- a/src/eric7/IconEditor/IconEditorWindow.py Tue Dec 06 16:00:06 2022 +0100 +++ b/src/eric7/IconEditor/IconEditorWindow.py Tue Dec 06 16:04:58 2022 +0100 @@ -199,7 +199,7 @@ ) self.newAct.setStatusTip(self.tr("Create a new icon")) self.newAct.setWhatsThis( - self.tr("""<b>New</b>""" """<p>This creates a new icon.</p>""") + self.tr("""<b>New</b><p>This creates a new icon.</p>""") ) self.newAct.triggered.connect(self.__newIcon) self.__actions.append(self.newAct) @@ -293,7 +293,7 @@ self.closeAct.setStatusTip(self.tr("Close the current icon editor window")) self.closeAct.setWhatsThis( self.tr( - """<b>Close</b>""" """<p>Closes the current icon editor window.</p>""" + """<b>Close</b><p>Closes the current icon editor window.</p>""" ) ) self.closeAct.triggered.connect(self.close) @@ -346,7 +346,7 @@ ) self.exitAct.setStatusTip(self.tr("Quit the icon editor")) self.exitAct.setWhatsThis( - self.tr("""<b>Quit</b>""" """<p>Quit the icon editor.</p>""") + self.tr("""<b>Quit</b><p>Quit the icon editor.</p>""") ) if not self.fromEric: self.exitAct.triggered.connect(self.__closeAll) @@ -367,7 +367,7 @@ ) self.undoAct.setStatusTip(self.tr("Undo the last change")) self.undoAct.setWhatsThis( - self.tr("""<b>Undo</b>""" """<p>Undo the last change done.</p>""") + self.tr("""<b>Undo</b><p>Undo the last change done.</p>""") ) self.undoAct.triggered.connect(self.__editor.editUndo) self.__actions.append(self.undoAct) @@ -383,7 +383,7 @@ ) self.redoAct.setStatusTip(self.tr("Redo the last change")) self.redoAct.setWhatsThis( - self.tr("""<b>Redo</b>""" """<p>Redo the last change done.</p>""") + self.tr("""<b>Redo</b><p>Redo the last change done.</p>""") ) self.redoAct.triggered.connect(self.__editor.editRedo) self.__actions.append(self.redoAct) @@ -437,7 +437,7 @@ ) self.pasteAct.setStatusTip(self.tr("Paste the clipboard image")) self.pasteAct.setWhatsThis( - self.tr("""<b>Paste</b>""" """<p>Paste the clipboard image.</p>""") + self.tr("""<b>Paste</b><p>Paste the clipboard image.</p>""") ) self.pasteAct.triggered.connect(self.__editor.editPaste) self.__actions.append(self.pasteAct) @@ -493,7 +493,7 @@ self.selectAllAct.setStatusTip(self.tr("Select the complete icon image")) self.selectAllAct.setWhatsThis( self.tr( - """<b>Select All</b>""" """<p>Selects the complete icon image.</p>""" + """<b>Select All</b><p>Selects the complete icon image.</p>""" ) ) self.selectAllAct.triggered.connect(self.__editor.editSelectAll) @@ -510,7 +510,7 @@ ) self.resizeAct.setStatusTip(self.tr("Change the icon size")) self.resizeAct.setWhatsThis( - self.tr("""<b>Change Size...</b>""" """<p>Changes the icon size.</p>""") + self.tr("""<b>Change Size...</b><p>Changes the icon size.</p>""") ) self.resizeAct.triggered.connect(self.__editor.editResize) self.__actions.append(self.resizeAct) @@ -526,7 +526,7 @@ ) self.grayscaleAct.setStatusTip(self.tr("Change the icon to grayscale")) self.grayscaleAct.setWhatsThis( - self.tr("""<b>Grayscale</b>""" """<p>Changes the icon to grayscale.</p>""") + self.tr("""<b>Grayscale</b><p>Changes the icon to grayscale.</p>""") ) self.grayscaleAct.triggered.connect(self.__editor.grayScale) self.__actions.append(self.grayscaleAct) @@ -620,7 +620,7 @@ ) self.showGridAct.setStatusTip(self.tr("Toggle the display of the grid")) self.showGridAct.setWhatsThis( - self.tr("""<b>Show Grid</b>""" """<p>Toggle the display of the grid.</p>""") + self.tr("""<b>Show Grid</b><p>Toggle the display of the grid.</p>""") ) self.showGridAct.triggered[bool].connect(self.__editor.setGridEnabled) self.__actions.append(self.showGridAct) @@ -647,7 +647,7 @@ "iconEditor_tools_pencil", ) self.drawPencilAct.setWhatsThis( - self.tr("""<b>Free hand</b>""" """<p>Draws non linear lines.</p>""") + self.tr("""<b>Free hand</b><p>Draws non linear lines.</p>""") ) self.drawPencilAct.setCheckable(True) self.esm.setMapping(self.drawPencilAct, IconEditorTool.PENCIL) @@ -685,7 +685,7 @@ "iconEditor_tools_rectangle", ) self.drawRectangleAct.setWhatsThis( - self.tr("""<b>Rectangle</b>""" """<p>Draw a rectangle.</p>""") + self.tr("""<b>Rectangle</b><p>Draw a rectangle.</p>""") ) self.drawRectangleAct.setCheckable(True) self.esm.setMapping(self.drawRectangleAct, IconEditorTool.RECTANGLE) @@ -702,7 +702,7 @@ "iconEditor_tools_filled_rectangle", ) self.drawFilledRectangleAct.setWhatsThis( - self.tr("""<b>Filled Rectangle</b>""" """<p>Draw a filled rectangle.</p>""") + self.tr("""<b>Filled Rectangle</b><p>Draw a filled rectangle.</p>""") ) self.drawFilledRectangleAct.setCheckable(True) self.esm.setMapping( @@ -721,7 +721,7 @@ "iconEditor_tools_circle", ) self.drawCircleAct.setWhatsThis( - self.tr("""<b>Circle</b>""" """<p>Draw a circle.</p>""") + self.tr("""<b>Circle</b><p>Draw a circle.</p>""") ) self.drawCircleAct.setCheckable(True) self.esm.setMapping(self.drawCircleAct, IconEditorTool.CIRCLE) @@ -738,7 +738,7 @@ "iconEditor_tools_filled_circle", ) self.drawFilledCircleAct.setWhatsThis( - self.tr("""<b>Filled Circle</b>""" """<p>Draw a filled circle.</p>""") + self.tr("""<b>Filled Circle</b><p>Draw a filled circle.</p>""") ) self.drawFilledCircleAct.setCheckable(True) self.esm.setMapping(self.drawFilledCircleAct, IconEditorTool.FILLED_CIRCLE) @@ -755,7 +755,7 @@ "iconEditor_tools_ellipse", ) self.drawEllipseAct.setWhatsThis( - self.tr("""<b>Ellipse</b>""" """<p>Draw an ellipse.</p>""") + self.tr("""<b>Ellipse</b><p>Draw an ellipse.</p>""") ) self.drawEllipseAct.setCheckable(True) self.esm.setMapping(self.drawEllipseAct, IconEditorTool.ELLIPSE) @@ -772,7 +772,7 @@ "iconEditor_tools_filled_ellipse", ) self.drawFilledEllipseAct.setWhatsThis( - self.tr("""<b>Filled Ellipse</b>""" """<p>Draw a filled ellipse.</p>""") + self.tr("""<b>Filled Ellipse</b><p>Draw a filled ellipse.</p>""") ) self.drawFilledEllipseAct.setCheckable(True) self.esm.setMapping(self.drawFilledEllipseAct, IconEditorTool.FILLED_ELLIPSE) @@ -810,7 +810,7 @@ "iconEditor_tools_line", ) self.drawLineAct.setWhatsThis( - self.tr("""<b>Line</b>""" """<p>Draw a line.</p>""") + self.tr("""<b>Line</b><p>Draw a line.</p>""") ) self.drawLineAct.setCheckable(True) self.esm.setMapping(self.drawLineAct, IconEditorTool.LINE)