Sequence#
The Sequence class stores attributes of a Bluetooth Data Element Sequence. More…
Synopsis#
Functions#
def
append
(l)def
append
(arg__1)def
at
(i)def
back
()def
capacity
()def
clear
()def
constData
()def
constFirst
()def
constLast
()def
count
()def
data
()def
empty
()def
first
()def
first
(n)def
front
()def
insert
(arg__1, arg__2)def
isEmpty
()def
isSharedWith
(other)def
last
()def
last
(n)def
length
()def
mid
(pos[, len=-1])def
move
(from, to)def
__add__
(l)def
__iadd__
(l)def
__lshift__
(l)def
operator[]
(i)def
pop_back
()def
pop_front
()def
prepend
(arg__1)def
push_back
(arg__1)def
push_front
(arg__1)def
remove
(i[, n=1])def
removeAll
(arg__1)def
removeAt
(i)def
removeFirst
()def
removeLast
()def
removeOne
(arg__1)def
reserve
(size)def
resize
(size)def
shrink_to_fit
()def
size
()def
sliced
(pos)def
sliced
(pos, n)def
squeeze
()def
swap
(other)def
swapItemsAt
(i, j)def
takeAt
(i)def
toList
()def
toVector
()def
value
(i)
Static functions#
def
fromList
(list)def
fromVector
(vector)
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.QtBluetooth.QBluetoothServiceInfo.Sequence#
PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence(list)
- Parameters:
list – .list of QVariant
Constructs a new empty sequence.
Constructs a new sequence that is a copy of list
.
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.append(l)#
- Parameters:
l – .list of QVariant
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.append(arg__1)
- Parameters:
arg__1 – object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.at(i)#
- Parameters:
i – int
- Return type:
object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.back()#
- Return type:
object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.capacity()#
- Return type:
int
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.clear()#
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.constData()#
- Return type:
object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.constFirst()#
- Return type:
object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.constLast()#
- Return type:
object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.count()#
- Return type:
int
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.data()#
- Return type:
object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.empty()#
- Return type:
bool
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.first()#
- Return type:
object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.first(n)
- Parameters:
n – int
- Return type:
.list of QVariant
- static PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.fromList(list)#
- Parameters:
list – .list of QVariant
- Return type:
.list of QVariant
- static PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.fromVector(vector)#
- Parameters:
vector – .list of QVariant
- Return type:
.list of QVariant
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.front()#
- Return type:
object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.insert(arg__1, arg__2)#
- Parameters:
arg__1 – int
arg__2 – object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.isEmpty()#
- Return type:
bool
- Parameters:
other – .list of QVariant
- Return type:
bool
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.last()#
- Return type:
object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.last(n)
- Parameters:
n – int
- Return type:
.list of QVariant
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.length()#
- Return type:
int
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.mid(pos[, len=-1])#
- Parameters:
pos – int
len – int
- Return type:
.list of QVariant
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.move(from, to)#
- Parameters:
from – int
to – int
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.__add__(l)#
- Parameters:
l – .list of QVariant
- Return type:
.list of QVariant
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.__iadd__(l)#
- Parameters:
l – .list of QVariant
- Return type:
.list of QVariant
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.__lshift__(l)#
- Parameters:
l – .list of QVariant
- Return type:
.list of QVariant
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.operator(i)#
- Parameters:
i – int
- Return type:
object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.pop_back()#
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.pop_front()#
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.prepend(arg__1)#
- Parameters:
arg__1 – object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.push_back(arg__1)#
- Parameters:
arg__1 – object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.push_front(arg__1)#
- Parameters:
arg__1 – object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.remove(i[, n=1])#
- Parameters:
i – int
n – int
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.removeAll(arg__1)#
- Parameters:
arg__1 – object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.removeAt(i)#
- Parameters:
i – int
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.removeFirst()#
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.removeLast()#
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.removeOne(arg__1)#
- Parameters:
arg__1 – object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.reserve(size)#
- Parameters:
size – int
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.resize(size)#
- Parameters:
size – int
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.shrink_to_fit()#
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.size()#
- Return type:
int
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.sliced(pos)#
- Parameters:
pos – int
- Return type:
.list of QVariant
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.sliced(pos, n)
- Parameters:
pos – int
n – int
- Return type:
.list of QVariant
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.squeeze()#
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.swap(other)#
- Parameters:
other – .list of QVariant
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.swapItemsAt(i, j)#
- Parameters:
i – int
j – int
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.takeAt(i)#
- Parameters:
i – int
- Return type:
object
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.toList()#
- Return type:
.list of QVariant
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.toVector()#
- Return type:
.list of QVariant
- PySide6.QtBluetooth.QBluetoothServiceInfo.Sequence.value(i)#
- Parameters:
i – int
- Return type:
object