- Timestamp:
- Mar 25, 2011 10:38:35 AM (14 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:
- 68c53a4
- Parents:
- 957723f
- Location:
- prview
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
prview/PrView.py
r9590db6 r3e943e8 2 2 #import gui_manager 3 3 from sans.guiframe import gui_manager 4 from sans.guiframe.gui_style import GUIFRAME 4 5 5 # For py2exe, import config here 6 6 import local_config … … 8 8 9 9 10 # Application dimensions11 APP_HEIGHT = 78012 APP_WIDTH = 85013 PROG_SPLASH_SCREEN = "images/ball.png"14 10 15 11 class PrApp(gui_manager.ViewApp): 16 12 """ 17 13 """ 18 SIZE = (APP_WIDTH, APP_HEIGHT) 19 TITLE = local_config.__appname__ 20 PROG_SPLASH_PATH = PROG_SPLASH_SCREEN 21 STYLE = GUIFRAME.DEFAULT_STYLE 22 14 23 15 class PrView(): 24 16 """ -
prview/local_config.py
r7116b6e0 r3e943e8 3 3 """ 4 4 import time 5 from sans.guiframe.gui_style import GUIFRAME 5 6 6 7 # Version of the application … … 47 48 _corner_image = "images/prview.jpg" 48 49 _copyright = "(c) 2008, University of Tennessee" 50 #edit the list of file state your plugin can read 51 PLUGIN_STATE_EXTENSIONS = ['.prv'] 52 APPLICATION_STATE_EXTENSION = '.prv' 53 # 54 WLIST = ['P(r) files (*.prv)|*.prv'] 55 SPLASH_SCREEN_PATH = "images/danse_logo.png" 56 DEFAULT_STYLE = GUIFRAME.DEFAULT_STYLE 57 SPLASH_SCREEN_WIDTH = 500 58 SPLASH_SCREEN_HEIGHT = 300 59 SS_MAX_DISPLAY_TIME = 3000 #3 sec 60 PLOPANEL_WIDTH = 400 61 PLOPANEL_HEIGTH = 400 62 GUIFRAME_WIDTH = 850 63 GUIFRAME_HEIGHT = 780 49 64 50 65 import wx.lib.newevent
Note: See TracChangeset
for help on using the changeset viewer.