- class QItemModelBarDataProxy¶
-
Synopsis¶
Properties¶
Methods¶
def
__init__()
def
columnRole()
def
itemModel()
def
remap()
def
rotationRole()
def
rowCategories()
def
rowRole()
def
rowRolePattern()
def
rowRoleReplace()
def
setColumnRole()
def
setItemModel()
def
setRowRole()
def
setValueRole()
def
valueRole()
Signals¶
def
rowRoleChanged()
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 MultiMatchBehavior¶
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property autoColumnCategoriesᅟ: bool¶
- Access functions:
- property autoRowCategoriesᅟ: bool¶
- Access functions:
- property columnCategoriesᅟ: list of strings¶
- Access functions:
- property columnRoleᅟ: str¶
- Access functions:
- property columnRolePatternᅟ: QRegularExpression¶
- Access functions:
- property columnRoleReplaceᅟ: str¶
- Access functions:
- property itemModelᅟ: QAbstractItemModel¶
- Access functions:
- property multiMatchBehaviorᅟ: QItemModelBarDataProxy.MultiMatchBehavior¶
- Access functions:
- property rotationRoleᅟ: str¶
- Access functions:
- property rotationRolePatternᅟ: QRegularExpression¶
- Access functions:
- property rotationRoleReplaceᅟ: str¶
- Access functions:
- property rowCategoriesᅟ: list of strings¶
- Access functions:
- property rowRoleᅟ: str¶
- Access functions:
- property rowRolePatternᅟ: QRegularExpression¶
- Access functions:
- property rowRoleReplaceᅟ: str¶
- Access functions:
- property useModelCategoriesᅟ: bool¶
- Access functions:
- property valueRoleᅟ: str¶
- Access functions:
- property valueRolePatternᅟ: QRegularExpression¶
- Access functions:
- property valueRoleReplaceᅟ: str¶
- Access functions:
- __init__(itemModel[, parent=None])
- Parameters:
itemModel –
QAbstractItemModel
parent –
QObject
- __init__(itemModel, valueRole[, parent=None])
- Parameters:
itemModel –
QAbstractItemModel
valueRole – str
parent –
QObject
- __init__(itemModel, rowRole, columnRole, valueRole[, parent=None])
- Parameters:
itemModel –
QAbstractItemModel
rowRole – str
columnRole – str
valueRole – str
parent –
QObject
- __init__(itemModel, rowRole, columnRole, valueRole, rotationRole[, parent=None])
- Parameters:
itemModel –
QAbstractItemModel
rowRole – str
columnRole – str
valueRole – str
rotationRole – str
parent –
QObject
- __init__(itemModel, rowRole, columnRole, valueRole, rowCategories, columnCategories[, parent=None])
- Parameters:
itemModel –
QAbstractItemModel
rowRole – str
columnRole – str
valueRole – str
rowCategories – list of strings
columnCategories – list of strings
parent –
QObject
- __init__(itemModel, rowRole, columnRole, valueRole, rotationRole, rowCategories, columnCategories[, parent=None])
- Parameters:
itemModel –
QAbstractItemModel
rowRole – str
columnRole – str
valueRole – str
rotationRole – str
rowCategories – list of strings
columnCategories – list of strings
parent –
QObject
- autoColumnCategories()¶
- Return type:
bool
Getter of property
autoColumnCategoriesᅟ
.- autoColumnCategoriesChanged(enable)¶
- Parameters:
enable – bool
Notification signal of property
autoColumnCategoriesᅟ
.- autoRowCategories()¶
- Return type:
bool
Getter of property
autoRowCategoriesᅟ
.- autoRowCategoriesChanged(enable)¶
- Parameters:
enable – bool
Notification signal of property
autoRowCategoriesᅟ
.- columnCategories()¶
- Return type:
list of strings
Getter of property
columnCategoriesᅟ
.- columnCategoriesChanged()¶
Notification signal of property
columnCategoriesᅟ
.- columnCategoryIndex(category)¶
- Parameters:
category – str
- Return type:
int
- columnRole()¶
- Return type:
str
Getter of property
columnRoleᅟ
.- columnRoleChanged(role)¶
- Parameters:
role – str
Notification signal of property
columnRoleᅟ
.- columnRolePattern()¶
- Return type:
Getter of property
columnRolePatternᅟ
.- columnRolePatternChanged(pattern)¶
- Parameters:
pattern –
QRegularExpression
Notification signal of property
columnRolePatternᅟ
.- columnRoleReplace()¶
- Return type:
str
Getter of property
columnRoleReplaceᅟ
.- columnRoleReplaceChanged(replace)¶
- Parameters:
replace – str
Notification signal of property
columnRoleReplaceᅟ
.- itemModel()¶
- Return type:
Getter of property
itemModelᅟ
.- itemModelChanged(itemModel)¶
- Parameters:
itemModel –
QAbstractItemModel
Notification signal of property
itemModelᅟ
.- multiMatchBehavior()¶
- Return type:
Getter of property
multiMatchBehaviorᅟ
.- multiMatchBehaviorChanged(behavior)¶
- Parameters:
behavior –
MultiMatchBehavior
Notification signal of property
multiMatchBehaviorᅟ
.- remap(rowRole, columnRole, valueRole, rotationRole, rowCategories, columnCategories)¶
- Parameters:
rowRole – str
columnRole – str
valueRole – str
rotationRole – str
rowCategories – list of strings
columnCategories – list of strings
- rotationRole()¶
- Return type:
str
Getter of property
rotationRoleᅟ
.- rotationRoleChanged(role)¶
- Parameters:
role – str
Notification signal of property
rotationRoleᅟ
.- rotationRolePattern()¶
- Return type:
Getter of property
rotationRolePatternᅟ
.- rotationRolePatternChanged(pattern)¶
- Parameters:
pattern –
QRegularExpression
Notification signal of property
rotationRolePatternᅟ
.- rotationRoleReplace()¶
- Return type:
str
Getter of property
rotationRoleReplaceᅟ
.- rotationRoleReplaceChanged(replace)¶
- Parameters:
replace – str
Notification signal of property
rotationRoleReplaceᅟ
.- rowCategories()¶
- Return type:
list of strings
Getter of property
rowCategoriesᅟ
.- rowCategoriesChanged()¶
Notification signal of property
rowCategoriesᅟ
.- rowCategoryIndex(category)¶
- Parameters:
category – str
- Return type:
int
- rowRole()¶
- Return type:
str
Getter of property
rowRoleᅟ
.- rowRoleChanged(role)¶
- Parameters:
role – str
Notification signal of property
rowRoleᅟ
.- rowRolePattern()¶
- Return type:
Getter of property
rowRolePatternᅟ
.- rowRolePatternChanged(pattern)¶
- Parameters:
pattern –
QRegularExpression
Notification signal of property
rowRolePatternᅟ
.- rowRoleReplace()¶
- Return type:
str
Getter of property
rowRoleReplaceᅟ
.- rowRoleReplaceChanged(replace)¶
- Parameters:
replace – str
Notification signal of property
rowRoleReplaceᅟ
.- setAutoColumnCategories(enable)¶
- Parameters:
enable – bool
Setter of property
autoColumnCategoriesᅟ
.- setAutoRowCategories(enable)¶
- Parameters:
enable – bool
Setter of property
autoRowCategoriesᅟ
.- setColumnCategories(categories)¶
- Parameters:
categories – list of strings
Setter of property
columnCategoriesᅟ
.- setColumnRole(role)¶
- Parameters:
role – str
Setter of property
columnRoleᅟ
.- setColumnRolePattern(pattern)¶
- Parameters:
pattern –
QRegularExpression
Setter of property
columnRolePatternᅟ
.- setColumnRoleReplace(replace)¶
- Parameters:
replace – str
Setter of property
columnRoleReplaceᅟ
.- setItemModel(itemModel)¶
- Parameters:
itemModel –
QAbstractItemModel
Setter of property
itemModelᅟ
.- setMultiMatchBehavior(behavior)¶
- Parameters:
behavior –
MultiMatchBehavior
Setter of property
multiMatchBehaviorᅟ
.- setRotationRole(role)¶
- Parameters:
role – str
Setter of property
rotationRoleᅟ
.- setRotationRolePattern(pattern)¶
- Parameters:
pattern –
QRegularExpression
Setter of property
rotationRolePatternᅟ
.- setRotationRoleReplace(replace)¶
- Parameters:
replace – str
Setter of property
rotationRoleReplaceᅟ
.- setRowCategories(categories)¶
- Parameters:
categories – list of strings
Setter of property
rowCategoriesᅟ
.- setRowRole(role)¶
- Parameters:
role – str
Setter of property
rowRoleᅟ
.- setRowRolePattern(pattern)¶
- Parameters:
pattern –
QRegularExpression
Setter of property
rowRolePatternᅟ
.- setRowRoleReplace(replace)¶
- Parameters:
replace – str
Setter of property
rowRoleReplaceᅟ
.- setUseModelCategories(enable)¶
- Parameters:
enable – bool
Setter of property
useModelCategoriesᅟ
.- setValueRole(role)¶
- Parameters:
role – str
Setter of property
valueRoleᅟ
.- setValueRolePattern(pattern)¶
- Parameters:
pattern –
QRegularExpression
Setter of property
valueRolePatternᅟ
.- setValueRoleReplace(replace)¶
- Parameters:
replace – str
Setter of property
valueRoleReplaceᅟ
.- useModelCategories()¶
- Return type:
bool
Getter of property
useModelCategoriesᅟ
.- useModelCategoriesChanged(enable)¶
- Parameters:
enable – bool
Notification signal of property
useModelCategoriesᅟ
.- valueRole()¶
- Return type:
str
Getter of property
valueRoleᅟ
.- valueRoleChanged(role)¶
- Parameters:
role – str
Notification signal of property
valueRoleᅟ
.- valueRolePattern()¶
- Return type:
Getter of property
valueRolePatternᅟ
.- valueRolePatternChanged(pattern)¶
- Parameters:
pattern –
QRegularExpression
Notification signal of property
valueRolePatternᅟ
.- valueRoleReplace()¶
- Return type:
str
Getter of property
valueRoleReplaceᅟ
.- valueRoleReplaceChanged(replace)¶
- Parameters:
replace – str
Notification signal of property
valueRoleReplaceᅟ
.