Changeset 5cfa884 in sasview for calculatorview
- Timestamp:
- Apr 21, 2013 3:00:41 PM (12 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 18e1f28
- Parents:
- 31ac4a1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/src/sans/perspectives/calculator/image_viewer.py
rae84427 r5cfa884 17 17 from sans.dataloader.manipulations import reader2D_converter 18 18 _BOX_WIDTH = 60 19 IS_WIN = True 19 20 if sys.platform.count("win32") > 0: 20 21 _DIALOG_WIDTH = 400 21 22 else: 22 23 _DIALOG_WIDTH = 480 24 IS_WIN = False 23 25 24 26 class ImageView: … … 91 93 elist = ["All images (*.png, *.bmp, *.gif, *.jpg, *.tif, *.tiff) | \ 92 94 *.png; *.bmp; *.gif; *.jpg; *.tif; *.tiff", 93 "PNG files (*.png) | *.png", 94 "BMP files (*.bmp) | *.bmp", 95 "GIF files (*.gif) | *.gif", 96 "JPG files (*.jpg) | *.jpg", 97 "TIF files (*.tif) | *.tif", 98 "TIFF files (*.tiff) | *.tiff"] 95 "PNG files (*.PNG, *.png) | *.png", 96 "BMP files (*.BMP, *.bmp) | *.bmp", 97 "GIF files (*.GIF, *.gif) | *.gif", 98 "JPG files (*.JPG, *.jpg) | *.jpg", 99 "TIF files (*.TIF, *.tif) | *.tif", 100 "TIFF files (*.TIFF, *.tiff) | *.tiff"] 101 if not IS_WIN: 102 del elist[0] 103 elist.append("All files (*.*) | *.*") 99 104 wlist = '|'.join(elist) 100 105 style = wx.OPEN|wx.FD_MULTIPLE
Note: See TracChangeset
for help on using the changeset viewer.