Details
-
User Story
-
Resolution: Done
-
P2: Important
-
None
-
e20e29d1b (dev), c66dd4fca (6.4), 6f58aa74b (dev), e7f2ccf53 (6.4), cdda72b0f (dev), 546548acc (dev)
Description
The current C++ api make uses of properties for certain Object (https://doc.qt.io/qt-5/qlabel.html), where as the current pySide API use exclusively methods (https://doc.qt.io/qtforpython/PySide2/QtWidgets/QLabel.html)
One would expect to set the alignment this way:
QLabel.alignment = Qt.AlignLeft
Attachments
Issue Links
- relates to
-
PYSIDE-904 Investigate Qt6 opportunities based on current Qt for Python issues
- Closed
-
PYSIDE-1502 Compiling pyside2 with build target does not result in PySide2 `support` module being installed
- Closed
For Gerrit Dashboard: PYSIDE-1019 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
263555,7 | PySide: Allow any existing attribute in the constructor | 5.12 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
274984,4 | libpyside: Fix compiler warning | 5.13 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
304274,78 | feature-select: allow snake_case instead of camelCase for methods | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
306842,13 | feature-select: Implement a selectable feature framework | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
307239,4 | shiboken: optimize method override strings | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
307364,5 | shiboken2: Re-add support for parsing Q_PROPERTY | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
307432,1 | WIP: shiboken2: Re-add support for parsing Q_PROPERTY | dev | pyside/pyside-setup | Status: ABANDONED | -2 | 0 |
307701,2 | shiboken2: Refactor the parsing of Q_PROPERTY() | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
309161,44 | feature_select: Implement True Properties | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
310224,4 | feature-select: delay the feature switching | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
310867,7 | shiboken2: Re-add support for parsing Q_PROPERTY, update | 5.15 | pyside/pyside-setup | Status: ABANDONED | -1 | 0 |
312517,2 | __feature__: ignore if `__name__` does not exist in a module | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
313429,2 | shiboken2: Fix property parsing | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
313773,3 | QLayout: Make contentsMargins a Q_PROPERTY | dev | qt/qtbase | Status: MERGED | +2 | 0 |
314804,2 | shiboken2: Move class PropertySpec into its own source file | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
314805,8 | shiboken2: Refactor property parsing | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
314901,5 | shiboken2: Add a way of specifying properties in typesystem XML | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
314928,2 | Add user property QLayout::contentsMargins | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
315050,6 | Signature: Break the source into multiple files | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
315274,2 | shiboken2: Remove unused code from AbstractMetaField | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
315275,2 | shiboken2: Fix formatting of field getter code | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
315276,3 | shiboken2: Generate properties as fields | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
315494,7 | Feature-select: Implement signature-awareness of snake_case | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
315642,2 | samplebinding: Add a sample property definition | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
315781,2 | WIP: Signature: Support 'getset_descriptor' | 5.15 | pyside/pyside-setup | Status: ABANDONED | -2 | 0 |
316663,5 | feature_select: finish properties and postpone static properties | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
318633,3 | feature-select: implement class properties | dev | pyside/pyside-setup | Status: ABANDONED | 0 | 0 |
318781,1 | feature-select: implement class properties | 5.15 | pyside/pyside-setup | Status: ABANDONED | 0 | 0 |
318782,5 | feature-select: implement class properties | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
320383,20 | __feature__: provide useful error message when feature is active | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
321408,4 | shiboken: Ensure that `seterror_argument` always gets a function arg | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
321410,2 | pyside6: make sure that class properties trigger feature switching | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
322384,1 | WIP: cppgenerator: rework keyword handling regarding unknown keywords | 5.15 | pyside/pyside-setup | Status: ABANDONED | -2 | 0 |
322385,10 | cppgenerator: rework keyword handling regarding unknown keywords | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
323056,10 | cppgenerator: rework keyword handling regarding unknown keywords | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
323358,2 | errorhandler.py: use AttributeError instead of TypeError | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
331965,2 | feature: delete setter after creating property only if standard | 6.0 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
331973,4 | Port QML examples to new property decorators | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
331976,3 | feature: delete setter after creating property only if standard | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
332186,1 | feature: delete setter after creating property only if standard | 5.15 | pyside/pyside-setup | Status: ABANDONED | 0 | 0 |
332196,2 | feature: Fix a flag error when no snake_case is selected | 6.0 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
332197,3 | feature: Fix a flag error when no snake_case is selected | 5.15 | pyside/pyside-setup | Status: ABANDONED | +2 | 0 |
332326,3 | feature: Fix a flag error when no snake_case is selected | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
332645,8 | feature: write some documentation that explains feature | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
332977,2 | feature: Fix a flag error when no snake_case is selected | tqtc/lts-5.15 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |
338157,13 | feature-import: Hide confusing feature frame entry | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
349544,11 | __feature__: Support generation of modified .pyi files | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
350355,2 | __feature__: Support generation of modified .pyi files | 6.1 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
350774,5 | __feature__: Fix default instances of modified .pyi files | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
350933,4 | pyi_generator: Optimize imports | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
351006,2 | __feature__: Fix default instances of modified .pyi files | 6.1 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
351021,2 | pyi_generator: Optimize imports | 6.1 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
351161,7 | PyClassProperty: Correct the decorator and publish the class | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
353667,2 | PyClassProperty: Correct the decorator and publish the class | 6.1 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
362714,5 | feature: move getFeatureSelectId to Shiboken and refactor | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
363209,6 | Shiboken: Remove cheating macros | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
363345,9 | feature: move getFeatureSelectId to Shiboken and refactor | 6.1 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
363556,4 | Shiboken: Remove cheating macros | 6.1 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
396317,8 | __feature__: rework constructor handling of both features | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
397406,2 | __feature__: rework constructor handling of both features | 6.2 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
407395,2 | __feature__: improve the feature module by a reset function | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
407943,2 | __feature__: improve the feature module by a reset function | 6.3 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
444686,11 | shiboken6: Store the property documentation in QPropertySpec | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
444687,21 | shiboken6: Generate property documentation | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
444721,8 | shiboken6: Parse the notify specification from Q_PROPERTY | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
444928,2 | shiboken6: Parse the notify specification from Q_PROPERTY | 6.4 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
445055,2 | shiboken6: Store the property documentation in QPropertySpec | 6.4 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
445244,3 | shiboken6: Generate property documentation | 6.4 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
446519,15 | __feature__: Fix a weird case of false metafunction lookup | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
448359,2 | __feature__: Fix a weird case of false metafunction lookup | 6.4 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
454305,6 | shiboken: defer the feature initialization to be safe in other contexts | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
454699,2 | shiboken: defer the feature initialization to be safe in other contexts | 6.4 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
460029,3 | libpyside: Remove function `getMetaDataFromQObject` | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
539129,19 | Feature: Prepare feature and signature modules to stand lazy init | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |