4093 Private slot to show a pixmap in a dialog. |
4093 Private slot to show a pixmap in a dialog. |
4094 |
4094 |
4095 @param fn filename of the file to show (string) |
4095 @param fn filename of the file to show (string) |
4096 """ |
4096 """ |
4097 from IconEditor.IconEditorWindow import IconEditorWindow |
4097 from IconEditor.IconEditorWindow import IconEditorWindow |
4098 dlg = IconEditorWindow(fn, self, fromEric=True) |
4098 dlg = IconEditorWindow(fn, self, fromEric=True, project=self.project) |
4099 dlg.show() |
4099 dlg.show() |
4100 |
4100 |
4101 def __showPixmap(self, fn): |
4101 def __showPixmap(self, fn): |
4102 """ |
4102 """ |
4103 Private slot to show a pixmap in a dialog. |
4103 Private slot to show a pixmap in a dialog. |