- Timestamp:
- May 16, 2018 7:03:21 AM (7 years ago)
- Branches:
- ESS_GUI, 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
- Children:
- 976978b
- Parents:
- b12404e
- git-author:
- Piotr Rozyczko <rozyczko@…> (05/16/18 05:50:24)
- git-committer:
- Piotr Rozyczko <rozyczko@…> (05/16/18 07:03:21)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/convertUI.py
- Property mode changed from 100755 to 100644
r4992ff2 r2e27cdb6 1 1 # Convert all .ui files in all subdirectories of the current script 2 2 import os 3 import sys 3 4 4 5 def pyrrc(in_file, out_file): … … 21 22 22 23 # RC file in UI directory 23 ui_root = 'UI' 24 execute_root = os.path.split(sys.modules[__name__].__file__)[0] 25 ui_root = os.path.join(execute_root, 'UI') 24 26 rc_file = 'main_resources.qrc' 25 27 out_file = 'main_resources_rc.py' 28 26 29 pyrrc(os.path.join(ui_root, rc_file), os.path.join(ui_root, out_file)) 27 30 28 31 # Images 29 images_root = 'images'32 images_root = os.path.join(execute_root, 'images') 30 33 rc_file = 'images.qrc' 31 34 out_file = 'images_rc.py' 32 pyrrc(os.path.join(images_root, rc_file), os.path.join( ui_root, out_file))35 pyrrc(os.path.join(images_root, rc_file), os.path.join(images_root, out_file))
Note: See TracChangeset
for help on using the changeset viewer.