def __init__(self): QAction.__init__(self, "Set Poster Frame", None) self.triggered.connect(self.setPosterFrameForActiveSequence) hiero.core.events.registerInterest("kShowContextMenu/kViewer", self.eventHandler) self.setObjectName("foundry.viewer.setPosterFrame") self.setShortcut("Shift+P") self.currentViewer = None
def __init__(self): QAction.__init__(self, "Copy Path(s) to Clipboard", None) self.triggered.connect(self.getPythonSelection) hiero.core.events.registerInterest("kShowContextMenu/kTimeline", self.eventHandler) hiero.core.events.registerInterest("kShowContextMenu/kBin", self.eventHandler) hiero.core.events.registerInterest("kShowContextMenu/kSpreadsheet", self.eventHandler) self.setShortcut("Ctrl+Shift+Alt+C") self.setObjectName("foundry.menu.copypathstoclipboard")
def __init__(self): QAction.__init__(self, "Copy Python Selection", None) self.triggered.connect(self.getPythonSelection) hiero.core.events.registerInterest("kShowContextMenu/kTimeline", self.eventHandler) hiero.core.events.registerInterest("kShowContextMenu/kBin", self.eventHandler) hiero.core.events.registerInterest("kShowContextMenu/kSpreadsheet", self.eventHandler) self.setShortcut("Ctrl+Alt+C") self._selection = ()
def __init__(self): QAction.__init__(self, "Set Poster Frame", None) self.triggered.connect(self.setPosterFrameForActiveSequence) hiero.core.events.registerInterest("kShowContextMenu/kViewer", self.eventHandler) self.setObjectName("foundry.viewer.setPosterFrame") self.setShortcut("Shift+P") self.currentViewer = None
def __init__(self): QAction.__init__(self, "Get Python Selection", None) self.triggered.connect(self.getPythonSelection) hiero.core.events.registerInterest("kShowContextMenu/kTimeline", self.eventHandler) hiero.core.events.registerInterest("kShowContextMenu/kBin", self.eventHandler) hiero.core.events.registerInterest("kShowContextMenu/kSpreadsheet", self.eventHandler) self.setShortcut("Ctrl+Alt+C") self._selection = ()
def __init__(self): QAction.__init__(self, "Copy Path(s) to Clipboard", None) self.triggered.connect(self.getPythonSelection) hiero.core.events.registerInterest("kShowContextMenu/kTimeline", self.eventHandler) hiero.core.events.registerInterest("kShowContextMenu/kBin", self.eventHandler) hiero.core.events.registerInterest("kShowContextMenu/kSpreadsheet", self.eventHandler) self.setShortcut("Ctrl+Shift+Alt+C") self.setObjectName("foundry.menu.copypathstoclipboard")
def __init__(self): QAction.__init__(self, "Create Longest Shot Sequence", None) self.triggered.connect(self.doit) hiero.core.events.registerInterest( (hiero.core.events.EventType.kShowContextMenu, hiero.core.events.EventType.kBin), self.eventHandler)
def __init__(self, state, role): QAction.__init__(self, '{0} {1}'.format(state.index, state.message), None) self.state = state self.role = role self.triggered.connect(self.__onTrigger)
def __init__(self): QAction.__init__(self, "Create Longest Shot Sequence", None) self.triggered.connect(self.doit) hiero.core.events.registerInterest((hiero.core.events.EventType.kShowContextMenu, hiero.core.events.EventType.kBin), self.eventHandler)
def __init__(self, file_name, open_file_slot, parent=None): QAction.__init__(self, parent) self.file_name = file_name self.triggered.connect(self.on_triggered) self.open_file_requested.connect(open_file_slot) self.setText(file_name)
def __init__(self, state, role): QAction.__init__(self, '{0} {1}'.format(state.index, state.message), None) self.state = state self.role = role self.triggered.connect(self.__onTrigger)
def __init__(self, *args): QAction.__init__(self, *args) self.triggered.connect(lambda: self.correct.emit(unicode(self.text())))
def __init__(self, transaction, account, widget): """ Initialize the New Transfer Action """ QAction.__init__("Transfer to {0}".format(account.name), widget) self.account = account self.transaction = transaction
def __init__(self, *args): QAction.__init__(self, *args) self.triggered.connect(lambda: self.correct.emit(unicode(self .text())))