44 @keyparam fromEric flag indicating whether it was called from within |
44 @keyparam fromEric flag indicating whether it was called from within |
45 eric5 (boolean) |
45 eric5 (boolean) |
46 @keyparam initShortcutsOnly flag indicating to just initialize the keyboard |
46 @keyparam initShortcutsOnly flag indicating to just initialize the keyboard |
47 shortcuts (boolean) |
47 shortcuts (boolean) |
48 """ |
48 """ |
49 QMainWindow.__init__(self, parent) |
49 super().__init__(parent) |
50 self.setObjectName("eric5_icon_editor") |
50 self.setObjectName("eric5_icon_editor") |
51 self.setAttribute(Qt.WA_DeleteOnClose) |
51 self.setAttribute(Qt.WA_DeleteOnClose) |
52 |
52 |
53 self.fromEric = fromEric |
53 self.fromEric = fromEric |
54 self.initShortcutsOnly = initShortcutsOnly |
54 self.initShortcutsOnly = initShortcutsOnly |