QQmlFile#
Synopsis#
Functions#
def
clear(arg__1)def
clear()def
connectDownloadProgress(arg__1, arg__2)def
connectDownloadProgress(arg__1, arg__2)def
connectFinished(arg__1, arg__2)def
connectFinished(arg__1, arg__2)def
data()def
dataByteArray()def
error()def
isError()def
isLoading()def
isNull()def
isReady()def
load(arg__1, arg__2)def
load(arg__1, arg__2)def
size()def
status()def
url()
Static functions#
def
isLocalFile(url)def
isLocalFile(url)def
isSynchronous(url)def
isSynchronous(url)def
urlToLocalFileOrQrc(arg__1)def
urlToLocalFileOrQrc(arg__1)
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.QtQml.QQmlFile#
PySide6.QtQml.QQmlFile(arg__1, arg__2)
PySide6.QtQml.QQmlFile(arg__1, arg__2)
- Parameters:
arg__1 –
PySide6.QtQml.QQmlEnginearg__2 – str
- PySide6.QtQml.QQmlFile.Status#
- PySide6.QtQml.QQmlFile.clear(arg__1)#
- Parameters:
arg__1 –
PySide6.QtCore.QObject
- PySide6.QtQml.QQmlFile.clear()
- PySide6.QtQml.QQmlFile.connectDownloadProgress(arg__1, arg__2)#
- Parameters:
arg__1 –
PySide6.QtCore.QObjectarg__2 – str
- Return type:
bool
- PySide6.QtQml.QQmlFile.connectDownloadProgress(arg__1, arg__2)
- Parameters:
arg__1 –
PySide6.QtCore.QObjectarg__2 – int
- Return type:
bool
- PySide6.QtQml.QQmlFile.connectFinished(arg__1, arg__2)#
- Parameters:
arg__1 –
PySide6.QtCore.QObjectarg__2 – str
- Return type:
bool
- PySide6.QtQml.QQmlFile.connectFinished(arg__1, arg__2)
- Parameters:
arg__1 –
PySide6.QtCore.QObjectarg__2 – int
- Return type:
bool
- PySide6.QtQml.QQmlFile.data()#
- Return type:
str
- PySide6.QtQml.QQmlFile.dataByteArray()#
- Return type:
- PySide6.QtQml.QQmlFile.error()#
- Return type:
str
- PySide6.QtQml.QQmlFile.isError()#
- Return type:
bool
- PySide6.QtQml.QQmlFile.isLoading()#
- Return type:
bool
- static PySide6.QtQml.QQmlFile.isLocalFile(url)#
- Parameters:
url –
PySide6.QtCore.QUrl- Return type:
bool
- static PySide6.QtQml.QQmlFile.isLocalFile(url)
- Parameters:
url – str
- Return type:
bool
- PySide6.QtQml.QQmlFile.isNull()#
- Return type:
bool
- PySide6.QtQml.QQmlFile.isReady()#
- Return type:
bool
- static PySide6.QtQml.QQmlFile.isSynchronous(url)#
- Parameters:
url – str
- Return type:
bool
- static PySide6.QtQml.QQmlFile.isSynchronous(url)
- Parameters:
url –
PySide6.QtCore.QUrl- Return type:
bool
- PySide6.QtQml.QQmlFile.load(arg__1, arg__2)#
- Parameters:
arg__1 –
PySide6.QtQml.QQmlEnginearg__2 – str
- PySide6.QtQml.QQmlFile.load(arg__1, arg__2)
- Parameters:
arg__1 –
PySide6.QtQml.QQmlEnginearg__2 –
PySide6.QtCore.QUrl
- PySide6.QtQml.QQmlFile.size()#
- Return type:
int
- PySide6.QtQml.QQmlFile.url()#
- Return type:
- static PySide6.QtQml.QQmlFile.urlToLocalFileOrQrc(arg__1)#
- Parameters:
arg__1 – str
- Return type:
str
- static PySide6.QtQml.QQmlFile.urlToLocalFileOrQrc(arg__1)
- Parameters:
arg__1 –
PySide6.QtCore.QUrl- Return type:
str