labscript_utils.qtwidgets.dragdroptab.TabAnimation

class labscript_utils.qtwidgets.dragdroptab.TabAnimation(parent)[source]

Bases: QAbstractAnimation

__init__(parent)[source]

Methods

__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)

ensure_running()

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

Backward

DeleteWhenStopped

Forward

KeepWhenStopped

Paused

Running

Stopped

currentLoopChanged

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

destroyed

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

directionChanged

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

finished

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

objectNameChanged

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

stateChanged

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

staticMetaObject

tau

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.

duration(self) int[source]
ensure_running()[source]
on_tab_moved(source_index, dest_index)[source]
tabInserted(index)[source]
tabRemoved(index)[source]
target(i)[source]

Return the target position we are animating toward for a tab

tau = 60.0
updateCurrentTime(self, currentTime: int)[source]