Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtBluetooth »

Classe « QBluetoothSocket »

Informations générales

Héritage

builtins.object
    Object
        QIODeviceBase
builtins.object
    Object
        QObject
            QIODevice
                QBluetoothSocket

Définition

class QBluetoothSocket(QIODevice):

Description [extrait de QBluetoothSocket.__doc__]

QBluetoothSocket(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None
QBluetoothSocket(self, socketType: PySide6.QtBluetooth.QBluetoothServiceInfo.Protocol, parent: Optional[PySide6.QtCore.QObject] = None) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AppendPySide6.QtCore.QIODeviceBase.OpenModeFlag.Append
ExistingOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.ExistingOnly
NewOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.NewOnly
NotOpenPySide6.QtCore.QIODeviceBase.OpenModeFlag.NotOpen
ReadOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadOnly
ReadWritePySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40e254fb40>
TextPySide6.QtCore.QIODeviceBase.OpenModeFlag.Text
TruncatePySide6.QtCore.QIODeviceBase.OpenModeFlag.Truncate
UnbufferedPySide6.QtCore.QIODeviceBase.OpenModeFlag.Unbuffered
WriteOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.WriteOnly

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
abort(self) -> None abort(self) -> None [extrait de abort.__doc__]
aboutToClose
bytesAvailable(self) -> int bytesAvailable(self) -> int [extrait de bytesAvailable.__doc__]
bytesToWrite(self) -> int bytesToWrite(self) -> int [extrait de bytesToWrite.__doc__]
bytesWritten
canReadLine(self) -> bool canReadLine(self) -> bool [extrait de canReadLine.__doc__]
channelBytesWritten
channelReadyRead
close(self) -> None close(self) -> None [extrait de close.__doc__]
connected
connectToService connectToService(self, address: PySide6.QtBluetooth.QBluetoothAddress, port: int, openMode: PySide6.QtCore.QIODeviceBase.OpenMode = PySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite) -> None [extrait de connectToService.__doc__]
destroyed
disconnected
disconnectFromService(self) -> None disconnectFromService(self) -> None [extrait de disconnectFromService.__doc__]
doDeviceDiscovery(self, service: PySide6.QtBluetooth.QBluetoothServiceInfo, openMode: PySide6.QtCore.QIODeviceBase.OpenMode) -> None doDeviceDiscovery(self, service: PySide6.QtBluetooth.QBluetoothServiceInfo, openMode: PySide6.QtCore.QIODeviceBase.OpenMode) -> None [extrait de doDeviceDiscovery.__doc__]
error(self) -> PySide6.QtBluetooth.QBluetoothSocket.SocketError error(self) -> PySide6.QtBluetooth.QBluetoothSocket.SocketError [extrait de error.__doc__]
errorOccurred
errorString(self) -> str errorString(self) -> str [extrait de errorString.__doc__]
isSequential(self) -> bool isSequential(self) -> bool [extrait de isSequential.__doc__]
localAddress(self) -> PySide6.QtBluetooth.QBluetoothAddress localAddress(self) -> PySide6.QtBluetooth.QBluetoothAddress [extrait de localAddress.__doc__]
localName(self) -> str localName(self) -> str [extrait de localName.__doc__]
localPort(self) -> int localPort(self) -> int [extrait de localPort.__doc__]
objectNameChanged
peerAddress(self) -> PySide6.QtBluetooth.QBluetoothAddress peerAddress(self) -> PySide6.QtBluetooth.QBluetoothAddress [extrait de peerAddress.__doc__]
peerName(self) -> str peerName(self) -> str [extrait de peerName.__doc__]
peerPort(self) -> int peerPort(self) -> int [extrait de peerPort.__doc__]
preferredSecurityFlags(self) -> PySide6.QtBluetooth.QBluetooth.SecurityFlags preferredSecurityFlags(self) -> PySide6.QtBluetooth.QBluetooth.SecurityFlags [extrait de preferredSecurityFlags.__doc__]
readChannelFinished
readData(self, data: bytes, maxSize: int) -> object readData(self, data: bytes, maxSize: int) -> object [extrait de readData.__doc__]
readyRead
setPreferredSecurityFlags(self, flags: PySide6.QtBluetooth.QBluetooth.SecurityFlags) -> None setPreferredSecurityFlags(self, flags: PySide6.QtBluetooth.QBluetooth.SecurityFlags) -> None [extrait de setPreferredSecurityFlags.__doc__]
setSocketDescriptor(self, socketDescriptor: int, socketType: PySide6.QtBluetooth.QBluetoothServiceInfo.Protocol, socketState: PySide6.QtBluetooth.QBluetoothSocket.SocketState = PySide6.QtBluetooth.QBluetoothSocket.SocketState.ConnectedState, openMode: PySide6.QtCore.QIODeviceBase.OpenMode = PySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite) -> bool setSocketDescriptor(self, socketDescriptor: int, socketType: PySide6.QtBluetooth.QBluetoothServiceInfo.Protocol, socketState: PySide6.QtBluetooth.QBluetoothSocket.SocketState = PySide6.QtBluetooth.QBluetoothSocket.SocketState.ConnectedState, openMode: PySide6.QtCore.QIODeviceBase.OpenMode = PySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite) -> bool [extrait de setSocketDescriptor.__doc__]
setSocketError(self, error: PySide6.QtBluetooth.QBluetoothSocket.SocketError) -> None setSocketError(self, error: PySide6.QtBluetooth.QBluetoothSocket.SocketError) -> None [extrait de setSocketError.__doc__]
setSocketState(self, state: PySide6.QtBluetooth.QBluetoothSocket.SocketState) -> None setSocketState(self, state: PySide6.QtBluetooth.QBluetoothSocket.SocketState) -> None [extrait de setSocketState.__doc__]
socketDescriptor(self) -> int socketDescriptor(self) -> int [extrait de socketDescriptor.__doc__]
SocketError
SocketState
socketType(self) -> PySide6.QtBluetooth.QBluetoothServiceInfo.Protocol socketType(self) -> PySide6.QtBluetooth.QBluetoothServiceInfo.Protocol [extrait de socketType.__doc__]
state(self) -> PySide6.QtBluetooth.QBluetoothSocket.SocketState state(self) -> PySide6.QtBluetooth.QBluetoothSocket.SocketState [extrait de state.__doc__]
stateChanged
tr
writeData(self, data: bytes, maxSize: int) -> int writeData(self, data: bytes, maxSize: int) -> int [extrait de writeData.__doc__]

Méthodes héritées de la classe QIODevice

__init_subclass__, __subclasshook__, atEnd, commitTransaction, currentReadChannel, currentWriteChannel, getChar, isOpen, isReadable, isTextModeEnabled, isTransactionStarted, isWritable, open, openMode, peek, pos, putChar, read, readAll, readChannelCount, readLine, readLineData, reset, rollbackTransaction, seek, setCurrentReadChannel, setCurrentWriteChannel, setErrorString, setOpenMode, setTextModeEnabled, size, skip, skipData, startTransaction, ungetChar, waitForBytesWritten, waitForReadyRead, write, writeChannelCount

Méthodes héritées de la classe QIODeviceBase

__copy__, __init_subclass__, __subclasshook__, OpenMode, OpenModeFlag

Méthodes héritées de la classe QObject

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent

Méthodes héritées de la classe Object

__getattribute__, __init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__