DataWidgetMapper
Qt Base Class: QDataWidgetMapper
Signature: QDataWidgetMapper(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None
Base classes
Name | Children | Inherits |
---|---|---|
ObjectMixin prettyqt.core.object |
||
QDataWidgetMapper PySide6.QtWidgets QDataWidgetMapper(self, parent: Optional[PySide6.QtCore.QObject] \= None) -> None |
⋔ Inheritance diagram
graph TD
1473296390576["widgets.DataWidgetMapper"]
1473299815024["core.ObjectMixin"]
140713234304496["builtins.object"]
1473293752656["QtWidgets.QDataWidgetMapper"]
1473288842240["QtCore.QObject"]
1473291690208["Shiboken.Object"]
1473299815024 --> 1473296390576
140713234304496 --> 1473299815024
1473293752656 --> 1473296390576
1473288842240 --> 1473293752656
1473291690208 --> 1473288842240
140713234304496 --> 1473291690208
🛈 DocStrings
Bases: ObjectMixin
, QDataWidgetMapper
Mapping between a section of a data model to widgets.
Source code in prettyqt\widgets\datawidgetmapper.py
get_orientation() -> constants.OrientationStr
get_submit_policy() -> SubmitPolicyStr
set_orientation(orientation: constants.OrientationStr | constants.Orientation)
Set the orientation of the data widget mapper.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
orientation |
OrientationStr | Orientation
|
orientation for the data widget mapper |
required |
Source code in prettyqt\widgets\datawidgetmapper.py
set_submit_policy(policy: SubmitPolicyStr | widgets.QDataWidgetMapper.SubmitPolicy)
Set the submit policy of the mapper.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
policy |
SubmitPolicyStr | SubmitPolicy
|
submit_policy for the data widget mapper |
required |
Source code in prettyqt\widgets\datawidgetmapper.py
⌗ Property table
Qt Property | Type | Doc |
---|---|---|
objectName |
QString | |
currentIndex |
int | |
orientation |
Qt::Orientation | |
submitPolicy |
QDataWidgetMapper::SubmitPolicy |