IconEditor/IconEditorWindow.py

changeset 5406
8d09a23a8fdd
parent 5389
9b1c800daff3
child 5631
d0beabfaad42
equal deleted inserted replaced
5405:2129035cd437 5406:8d09a23a8fdd
121 """ 121 """
122 Private method to define the supported image file filters. 122 Private method to define the supported image file filters.
123 """ 123 """
124 filters = { 124 filters = {
125 'bmp': self.tr("Windows Bitmap File (*.bmp)"), 125 'bmp': self.tr("Windows Bitmap File (*.bmp)"),
126 'cur': self.tr("Windows Cursor File (*.cur)"),
127 'dds': self.tr("DirectDraw-Surface File (*.dds)"),
126 'gif': self.tr("Graphic Interchange Format File (*.gif)"), 128 'gif': self.tr("Graphic Interchange Format File (*.gif)"),
129 'icns': self.tr("Apple Icon File (*.icns)"),
127 'ico': self.tr("Windows Icon File (*.ico)"), 130 'ico': self.tr("Windows Icon File (*.ico)"),
131 'jp2': self.tr("JPEG2000 File (*.jp2)"),
128 'jpg': self.tr("JPEG File (*.jpg)"), 132 'jpg': self.tr("JPEG File (*.jpg)"),
129 'jpeg': self.tr("JPEG File (*.jpeg)"), 133 'jpeg': self.tr("JPEG File (*.jpeg)"),
130 'mng': self.tr("Multiple-Image Network Graphics File (*.mng)"), 134 'mng': self.tr("Multiple-Image Network Graphics File (*.mng)"),
131 'pbm': self.tr("Portable Bitmap File (*.pbm)"), 135 'pbm': self.tr("Portable Bitmap File (*.pbm)"),
132 'pcx': self.tr("Paintbrush Bitmap File (*.pcx)"), 136 'pcx': self.tr("Paintbrush Bitmap File (*.pcx)"),
139 " (*.svgz)"), 143 " (*.svgz)"),
140 'tga': self.tr("Targa Graphic File (*.tga)"), 144 'tga': self.tr("Targa Graphic File (*.tga)"),
141 'tif': self.tr("TIFF File (*.tif)"), 145 'tif': self.tr("TIFF File (*.tif)"),
142 'tiff': self.tr("TIFF File (*.tiff)"), 146 'tiff': self.tr("TIFF File (*.tiff)"),
143 'wbmp': self.tr("WAP Bitmap File (*.wbmp)"), 147 'wbmp': self.tr("WAP Bitmap File (*.wbmp)"),
148 'webp': self.tr("WebP Image File (*.webp)"),
144 'xbm': self.tr("X11 Bitmap File (*.xbm)"), 149 'xbm': self.tr("X11 Bitmap File (*.xbm)"),
145 'xpm': self.tr("X11 Pixmap File (*.xpm)"), 150 'xpm': self.tr("X11 Pixmap File (*.xpm)"),
146 } 151 }
147 152
148 inputFormats = [] 153 inputFormats = []

eric ide

mercurial