QFutureInterfaceBase#

Synopsis#

Functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

class PySide6.QtCore.QFutureInterfaceBase([initialState=QFutureInterfaceBase.State.NoState])#

PySide6.QtCore.QFutureInterfaceBase(other)

Parameters:
PySide6.QtCore.QFutureInterfaceBase.State#
PySide6.QtCore.QFutureInterfaceBase.CancelMode#

New in version 6.3.

PySide6.QtCore.QFutureInterfaceBase.cancel(mode)#
Parameters:

modeCancelMode

PySide6.QtCore.QFutureInterfaceBase.cancel()
PySide6.QtCore.QFutureInterfaceBase.cancelAndFinish()#
PySide6.QtCore.QFutureInterfaceBase.cleanContinuation()#
PySide6.QtCore.QFutureInterfaceBase.derefT()#
Return type:

bool

PySide6.QtCore.QFutureInterfaceBase.expectedResultCount()#
Return type:

int

PySide6.QtCore.QFutureInterfaceBase.hasException()#
Return type:

bool

PySide6.QtCore.QFutureInterfaceBase.isCanceled()#
Return type:

bool

PySide6.QtCore.QFutureInterfaceBase.isChainCanceled()#
Return type:

bool

PySide6.QtCore.QFutureInterfaceBase.isFinished()#
Return type:

bool

PySide6.QtCore.QFutureInterfaceBase.isPaused()#
Return type:

bool

Note

This function is deprecated.

PySide6.QtCore.QFutureInterfaceBase.isProgressUpdateNeeded()#
Return type:

bool

PySide6.QtCore.QFutureInterfaceBase.isResultReadyAt(index)#
Parameters:

index – int

Return type:

bool

PySide6.QtCore.QFutureInterfaceBase.isRunning()#
Return type:

bool

PySide6.QtCore.QFutureInterfaceBase.isRunningOrPending()#
Return type:

bool

PySide6.QtCore.QFutureInterfaceBase.isStarted()#
Return type:

bool

PySide6.QtCore.QFutureInterfaceBase.isSuspended()#
Return type:

bool

PySide6.QtCore.QFutureInterfaceBase.isSuspending()#
Return type:

bool

PySide6.QtCore.QFutureInterfaceBase.isThrottled()#
Return type:

bool

PySide6.QtCore.QFutureInterfaceBase.isValid()#
Return type:

bool

PySide6.QtCore.QFutureInterfaceBase.launchAsync()#
Return type:

bool

PySide6.QtCore.QFutureInterfaceBase.loadState()#
Return type:

int

PySide6.QtCore.QFutureInterfaceBase.mutex()#
Return type:

PySide6.QtCore.QMutex

PySide6.QtCore.QFutureInterfaceBase.__ne__(other)#
Parameters:

otherPySide6.QtCore.QFutureInterfaceBase

Return type:

bool

PySide6.QtCore.QFutureInterfaceBase.__eq__(other)#
Parameters:

otherPySide6.QtCore.QFutureInterfaceBase

Return type:

bool

PySide6.QtCore.QFutureInterfaceBase.progressMaximum()#
Return type:

int

PySide6.QtCore.QFutureInterfaceBase.progressMinimum()#
Return type:

int

PySide6.QtCore.QFutureInterfaceBase.progressText()#
Return type:

str

PySide6.QtCore.QFutureInterfaceBase.progressValue()#
Return type:

int

PySide6.QtCore.QFutureInterfaceBase.queryState(state)#
Parameters:

stateState

Return type:

bool

PySide6.QtCore.QFutureInterfaceBase.refT()#
Return type:

bool

PySide6.QtCore.QFutureInterfaceBase.reportCanceled()#
PySide6.QtCore.QFutureInterfaceBase.reportFinished()#
PySide6.QtCore.QFutureInterfaceBase.reportResultsReady(beginIndex, endIndex)#
Parameters:
  • beginIndex – int

  • endIndex – int

PySide6.QtCore.QFutureInterfaceBase.reportStarted()#
PySide6.QtCore.QFutureInterfaceBase.reportSuspended()#
PySide6.QtCore.QFutureInterfaceBase.reset()#
PySide6.QtCore.QFutureInterfaceBase.resultCount()#
Return type:

int

PySide6.QtCore.QFutureInterfaceBase.rethrowPossibleException()#
PySide6.QtCore.QFutureInterfaceBase.runContinuation()#
PySide6.QtCore.QFutureInterfaceBase.setExpectedResultCount(resultCount)#
Parameters:

resultCount – int

PySide6.QtCore.QFutureInterfaceBase.setFilterMode(enable)#
Parameters:

enable – bool

PySide6.QtCore.QFutureInterfaceBase.setLaunchAsync(value)#
Parameters:

value – bool

PySide6.QtCore.QFutureInterfaceBase.setPaused(paused)#
Parameters:

paused – bool

Note

This function is deprecated.

PySide6.QtCore.QFutureInterfaceBase.setProgressRange(minimum, maximum)#
Parameters:
  • minimum – int

  • maximum – int

PySide6.QtCore.QFutureInterfaceBase.setProgressValue(progressValue)#
Parameters:

progressValue – int

PySide6.QtCore.QFutureInterfaceBase.setProgressValueAndText(progressValue, progressText)#
Parameters:
  • progressValue – int

  • progressText – str

PySide6.QtCore.QFutureInterfaceBase.setRunnable(runnable)#
Parameters:

runnablePySide6.QtCore.QRunnable

PySide6.QtCore.QFutureInterfaceBase.setSuspended(suspend)#
Parameters:

suspend – bool

PySide6.QtCore.QFutureInterfaceBase.setThreadPool(pool)#
Parameters:

poolPySide6.QtCore.QThreadPool

PySide6.QtCore.QFutureInterfaceBase.setThrottled(enable)#
Parameters:

enable – bool

PySide6.QtCore.QFutureInterfaceBase.suspendIfRequested()#
PySide6.QtCore.QFutureInterfaceBase.swap(other)#
Parameters:

otherPySide6.QtCore.QFutureInterfaceBase

PySide6.QtCore.QFutureInterfaceBase.threadPool()#
Return type:

PySide6.QtCore.QThreadPool

PySide6.QtCore.QFutureInterfaceBase.togglePaused()#

Note

This function is deprecated.

PySide6.QtCore.QFutureInterfaceBase.toggleSuspended()#
PySide6.QtCore.QFutureInterfaceBase.waitForFinished()#
PySide6.QtCore.QFutureInterfaceBase.waitForNextResult()#
Return type:

bool

PySide6.QtCore.QFutureInterfaceBase.waitForResult(resultIndex)#
Parameters:

resultIndex – int

PySide6.QtCore.QFutureInterfaceBase.waitForResume()#