Exemple #1
0
    def createNextCell(self, cellID=None):
        if cellID is None:
            cellID = nextID(self.cells)
        cell = self.ownerComponent.copy(self.cellTemplate,
                                        name=f'cell{cellID}')
        cell.par.display = 1

        self.cells.append(cell)
        layoutComps(self.cells, columns=1)

        return cell
Exemple #2
0
    def createNextHDivider(self, dividerID=None):
        if dividerID is None:
            dividerID = nextID(self.hDividers)
        template = self.hDividerTemplate
        divider = self.ownerComponent.copy(template,
                                           name=f'hDivider{dividerID}')
        divider.par.display = 1

        self.hDividers.append(divider)
        layoutComps(self.hDividers, columns=1, xBase=400)

        return divider
Exemple #3
0
	def layoutDeckContainer(self):
		layoutComps([d['op'] for d in self.decks], columns=3)
Exemple #4
0
 def layoutLayerContainer(self):
     layoutComps(self.layers.values(), columns=1)
Exemple #5
0
 def updatEffectNetworkPositions(self):
     layoutComps(self.effects.values())
Exemple #6
0
	def updateClipNetworkPositions(self):
		layoutComps(self.clipComps.values())
Exemple #7
0
 def updateSectionNetowrkPositions(self):
     layoutComps(self.sections.values(), columns=1)