labscript_utils.qtwidgets.dragdroptab.TabAnimation
- class labscript_utils.qtwidgets.dragdroptab.TabAnimation(parent)[source]
Bases:
QAbstractAnimationMethods
__init__(parent)animate_limbo(limbo, index)If the floating tab in limbo is being sucked back into one of our tabs, then we can animate that by hiding the relevant tab rect off to the side somwhere whilst the floating tab swoops in.
blockSignals(self, b)childEvent(self, a0)children(self)connectNotify(self, signal)currentLoop(self)currentLoopTime(self)currentTime(self)customEvent(self, a0)deleteLater(self)direction(self)disconnect(-> bool)disconnectNotify(self, signal)dumpObjectInfo(self)dumpObjectTree(self)duration(self)dynamicPropertyNames(self)event(self, event)eventFilter(self, a0, a1)findChild(-> QObjectT)findChildren(...)group(self)inherits(self, classname)installEventFilter(self, a0)isSignalConnected(self, signal)isWidgetType(self)isWindowType(self)killTimer(self, id)loopCount(self)metaObject(self)moveToThread(self, thread)objectName(self)on_tab_moved(source_index, dest_index)parent(self)pause(self)property(self, name)pyqtConfigure(...)Each keyword argument is either the name of a Qt property or a Qt signal.
receivers(self, signal)removeEventFilter(self, a0)resume(self)sender(self)senderSignalIndex(self)setCurrentTime(self, msecs)setDirection(self, direction)setLoopCount(self, loopCount)setObjectName(self, name)setParent(self, a0)setPaused(self, a0)setProperty(self, name, value)signalsBlocked(self)start(self[, policy])startTimer(self, interval[, timerType])state(self)stop(self)tabInserted(index)tabRemoved(index)target(i)Return the target position we are animating toward for a tab
thread(self)timerEvent(self, a0)totalDuration(self)tr(self, sourceText[, disambiguation, n])updateCurrentTime(self, currentTime)updateDirection(self, direction)updateState(self, newState, oldState)Attributes
BackwardDeleteWhenStoppedForwardKeepWhenStoppedPausedRunningStoppedcurrentLoopChangedint = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
destroyedint = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
directionChangedint = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
finishedint = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
objectNameChangedint = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
stateChangedint = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
staticMetaObject- animate_limbo(limbo, index)[source]
If the floating tab in limbo is being sucked back into one of our tabs, then we can animate that by hiding the relevant tab rect off to the side somwhere whilst the floating tab swoops in.
- tau = 60.0