- class 备选方案#
备选方案类存储蓝牙数据元素的备选方案属性。 更多信息…
概要#
方法#
def
__init__()def
append()def
at()def
back()定义
capacity()定义
clear()定义
constData()定义
constFirst()定义
constLast()定义
count()定义
data()定义
empty()定义
first()定义
front()定义
insert()定义
isEmpty()定义
last()定义
length()定义
mid()定义
move()定义
__add__()定义
__iadd__()定义
__lshift__()定义
operator[]()定义
pop_back()定义
pop_front()定义
prepend()定义
push_back()定义
remove()定义
resize()定义
size()定义
sliced()定义
swap()定义
takeAt()定义
toList()定义
value()
静态函数#
注意
此文档可能包含自动从C++翻译到Python的代码片段。我们始终欢迎对代码片段翻译的贡献。如果您发现翻译有误,也可以通过在https:/bugreports.qt.io/projects/PYSIDE创建工单的方式来告诉我们。
详细描述#
- __init__(list)#
- 参数:
list – .QVariant列表
构造一个新的alternative,它是
list的副本。- __init__()
构造一个新的空alternative。
- append(l)#
- 参数:
l – .QVariant列表
- append(arg__1)
- 参数:
arg__1 – 对象
- at(i)#
- 参数:
i – int
- 返回类型:
对象
- back()#
- 返回类型:
对象
- capacity()#
- 返回类型:
int
- clear()#
- constData()#
- 返回类型:
对象
- constFirst()#
- 返回类型:
对象
- constLast()#
- 返回类型:
对象
- count()#
- 返回类型:
int
- data()#
- 返回类型:
对象
- empty()#
- 返回类型:
bool
- first(n)#
- 参数:
n – int
- 返回类型:
.QVariant列表
- first()
- 返回类型:
对象
- staticfromList(list)#
- 参数:
list – .QVariant列表
- 返回类型:
.QVariant列表
- staticfromVector(vector)#
- 参数:
vector – .QVariant列表
- 返回类型:
.QVariant列表
- front()#
- 返回类型:
对象
- insert(arg__1, arg__2)#
- 参数:
arg__1 – int
arg__2 – 对象
- isEmpty()#
- 返回类型:
bool
- 参数:
other – .QVariant列表
- 返回类型:
bool
- last()#
- 返回类型:
对象
- last(n)
- 参数:
n – int
- 返回类型:
.QVariant列表
- length()#
- 返回类型:
int
- mid(pos[, len=-1])#
- 参数:
pos – int
len – int
- 返回类型:
.QVariant列表
- move(from, to)#
- 参数:
from – int
to – int
- __add__(l)#
- 参数:
l – .QVariant列表
- 返回类型:
.QVariant列表
- __iadd__(l)#
- 参数:
l – .QVariant列表
- 返回类型:
.QVariant列表
- __lshift__(l)#
- 参数:
l – .QVariant列表
- 返回类型:
.QVariant列表
- operator(i)#
- 参数:
i – int
- 返回类型:
对象
- pop_back()#
- pop_front()#
- prepend(arg__1)#
- 参数:
arg__1 – 对象
- push_back(arg__1)#
- 参数:
arg__1 – 对象
- push_front(arg__1)#
- 参数:
arg__1 – 对象
- remove(i[, n=1])#
- 参数:
i – int
n – int
- removeAll(arg__1)#
- 参数:
arg__1 – 对象
- removeAt(i)#
- 参数:
i – int
- removeFirst()#
- removeLast()#
- removeOne(arg__1)#
- 参数:
arg__1 – 对象
- reserve(size)#
- 参数:
size – int
- resize(size)#
- 参数:
size – int
- shrink_to_fit()#
- size()#
- 返回类型:
int
- sliced(pos)#
- 参数:
pos – int
- 返回类型:
.QVariant列表
- sliced(pos, n)
- 参数:
pos – int
n – int
- 返回类型:
.QVariant列表
- squeeze()#
- swap(other)#
- 参数:
other – .QVariant列表
- swapItemsAt(i, j)#
- 参数:
i – int
j – int
- takeAt(i)#
- 参数:
i – int
- 返回类型:
对象
- toList()#
- 返回类型:
.QVariant列表
- toVector()#
- 返回类型:
.QVariant列表
- value(i)#
- 参数:
i – int
- 返回类型:
对象