it:programmiersprache:python:qt:start

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
it:programmiersprache:python:qt:start [23.08.2025 08:36] – gelöscht - Externe Bearbeitung (Unbekanntes Datum) 127.0.0.1it:programmiersprache:python:qt:start [23.08.2025 08:36] (aktuell) – ↷ Seite von it:python:qt:start nach it:programmiersprache:python:qt:start verschoben marsch
Zeile 1: Zeile 1:
 +====== Qt ======
 +
 +^ Qt-Version\\ (C++)  ^ riverbank computing Ltd.\\ (Python)                                                        ^ The Qt Company\\ (Python)                                                                                ^ Kommentar                                                              ^
 +| Qt 4.x              | PyQt4\\ Python 2.x                                                                         | [[https://pyside.github.io/docs/pyside/index.html|PySide]]\\ Python 2.x                                  |                                                                        |
 +| Qt 5.x              | [[https://riverbankcomputing.com/static/Docs/PyQt5/|PyQt5]] (ab April 2016)\\ Python 3.:?: | [[https://doc.qt.io/archives/qtforpython-5/contents.html|PySide2]] (ab Juli 2018)\\ Python 2.7 und 3.5+  | [[https://www.pythonguis.com/faq/pyqt5-vs-pyside2/|PyQt5 vs PySide2]]  |
 +| Qt 6.x              | [[https://riverbankcomputing.com/static/Docs/PyQt6/|PyQt6]]\\ Python 3.x                   | [[https://doc.qt.io/qtforpython-6/|PySide6]]\\ Python 3.x                                                |                                                                        |
 +
 +  * [[Konstanten]]
 +  * [[.:translation:start|Qt - Translation]]
 +
 +<WRAP center round todo 60%>
 +**ToDo:**
 +
 +  * exec_() vs. exec() bei PyQt5 vs. PySide6
 +</WRAP>
 +
 +<WRAP center round todo 60%>
 +**ToDo:**
 +
 +Umstellung PyQt5 -> PySide6.
 +    Der besseren Dokumentation und der Lizenz wegen.
 +    [x] Austausch `PySide6` -> `PySide6`
 +    [x] Slot-Definitionen `@Slot()` -> `@Slot()`
 +    [x] Signal-Definitionen `Signal` -> `Signal`
 +    [ ] .setFixedSize() anpassen
 +    See https://doc.qt.io/qtforpython-6/considerations.html#newenumsystem
 +    [x] Q_ENUM -> QEnum Decorator
 +    [x] Q_FLAG -> QFlag Decorator
 +    [x] QVariant -> object (siehe QAbstractItemModel)
 +    [x] PyQt5.QtChart -> PySide6.QtCharts
 +    [x] PyQt5.QtCore QStateMachine & Co. -> PySide6.QtStateMachine .. QtStateMachine & Co.
 +    [x] PyQt5: QPen() -> PySide6: QPen() etwas andere Parameter.
 +</WRAP>
 +