QFutureInterfaceBase#
Synopsis#
Functions#
def
cancel
(mode)def
cancel
()def
cancelAndFinish
()def
cleanContinuation
()def
derefT
()def
expectedResultCount
()def
hasException
()def
isCanceled
()def
isChainCanceled
()def
isFinished
()def
isPaused
()def
isProgressUpdateNeeded
()def
isResultReadyAt
(index)def
isRunning
()def
isRunningOrPending
()def
isStarted
()def
isSuspended
()def
isSuspending
()def
isThrottled
()def
isValid
()def
launchAsync
()def
loadState
()def
mutex
()def
__ne__
(other)def
__eq__
(other)def
progressMaximum
()def
progressMinimum
()def
progressText
()def
progressValue
()def
queryState
(state)def
refT
()def
reportCanceled
()def
reportFinished
()def
reportResultsReady
(beginIndex, endIndex)def
reportStarted
()def
reportSuspended
()def
reset
()def
resultCount
()def
rethrowPossibleException
()def
runContinuation
()def
setExpectedResultCount
(resultCount)def
setFilterMode
(enable)def
setLaunchAsync
(value)def
setPaused
(paused)def
setProgressRange
(minimum, maximum)def
setProgressValue
(progressValue)def
setProgressValueAndText
(progressValue, progressText)def
setRunnable
(runnable)def
setSuspended
(suspend)def
setThreadPool
(pool)def
setThrottled
(enable)def
suspendIfRequested
()def
swap
(other)def
threadPool
()def
togglePaused
()def
toggleSuspended
()def
waitForFinished
()def
waitForNextResult
()def
waitForResult
(resultIndex)def
waitForResume
()
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:
initialState – State
- PySide6.QtCore.QFutureInterfaceBase.State#
- PySide6.QtCore.QFutureInterfaceBase.CancelMode#
New in version 6.3.
- PySide6.QtCore.QFutureInterfaceBase.cancel(mode)#
- Parameters:
mode –
CancelMode
- 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.QFutureInterfaceBase.__ne__(other)#
- Parameters:
- Return type:
bool
- PySide6.QtCore.QFutureInterfaceBase.__eq__(other)#
- Parameters:
- 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.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:
runnable –
PySide6.QtCore.QRunnable
- PySide6.QtCore.QFutureInterfaceBase.setSuspended(suspend)#
- Parameters:
suspend – bool
- PySide6.QtCore.QFutureInterfaceBase.setThreadPool(pool)#
- Parameters:
pool –
PySide6.QtCore.QThreadPool
- PySide6.QtCore.QFutureInterfaceBase.setThrottled(enable)#
- Parameters:
enable – bool
- PySide6.QtCore.QFutureInterfaceBase.suspendIfRequested()#
- PySide6.QtCore.QFutureInterfaceBase.swap(other)#
- Parameters:
- PySide6.QtCore.QFutureInterfaceBase.threadPool()#
- Return type:
- 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()#