fix(all): rename attributes

- `frameRate` to `fps`
- `startFrame` to `frameStart`
- `endFrame` to `frameEnd`
- `fstart` to `frameStart`
- `fend` to `frameEnd`
- `handle_start` to `handleStart`
- `handle_end` to `handleEnd`
- `resolution_width` to `resolutionWidth`
- `resolution_height` to `resolutionHeight`
- `pixel_aspect` to `pixelAspect`
This commit is contained in:
Jakub Jezek 2019-07-31 12:38:14 +02:00
parent 74ede172ef
commit b40e1f5511
80 changed files with 316 additions and 1299 deletions

View file

@ -274,10 +274,10 @@ class Project_name_getUI(QtWidgets.QWidget):
# update all values in resolution
if self.resolution_w.text():
self.projects[self.new_index]['custom_attributes'][
'resolution_width'] = int(self.resolution_w.text())
"resolutionWidth"] = int(self.resolution_w.text())
if self.resolution_h.text():
self.projects[self.new_index]['custom_attributes'][
'resolution_height'] = int(self.resolution_h.text())
"resolutionHeight"] = int(self.resolution_h.text())
def _update_attributes_by_list_selection(self):
# generate actual selection index
@ -451,8 +451,8 @@ class Project_name_get(Project_name_getUI):
# int(self.projects[self.new_index]['custom_attributes']['fps']))
# project.projectRoot()
# print 'handles: {}'.format(self.projects[self.new_index]['custom_attributes']['handles'])
# print 'resolution_width: {}'.format(self.projects[self.new_index]['custom_attributes']['resolution_width'])
# print 'resolution_width: {}'.format(self.projects[self.new_index]['custom_attributes']['resolution_height'])
# print 'resolution_width: {}'.format(self.projects[self.new_index]['custom_attributes']["resolutionWidth"])
# print 'resolution_width: {}'.format(self.projects[self.new_index]['custom_attributes']["resolutionHeight"])
# print "<< {}".format(self.projects[self.new_index])
# get path for the hrox file