- class QPlaceCategory#
概述#
方法#
def
__init__()def
categoryId()def
icon()def
isEmpty()def
name()def
__ne__()def
__eq__()def
setCategoryId()def
setIcon()def
setName()def
swap()
备注
本文档可能包含从C++自动翻译到Python的代码片段。我们始终欢迎对代码片段的翻译做出贡献。如果您发现翻译有问题,也可以通过在https:/bugreports.qt.io/projects/PYSIDE上创建缺陷报告来告诉我们。
详细说明#
- __init__()#
- __init__(other)
- 参数:
other –
QPlaceCategory
- categoryId()#
- 返回类型:
str
- icon()#
- 返回类型:
- isEmpty()#
- 返回类型:
bool
- name()#
- 返回类型:
str
- __ne__(rhs)#
- 参数:
rhs –
QPlaceCategory- 返回类型:
bool
- __eq__(rhs)#
- 参数:
rhs –
QPlaceCategory- 返回类型:
bool
- setCategoryId(identifier)#
- 参数:
identifier – str
- setIcon(icon)#
- 参数:
icon –
QPlaceIcon
- setName(name)#
- 参数:
name – 字符串
- swap(other)#
- 参数:
other –
QPlaceCategory