Benutzer-Werkzeuge

Webseiten-Werkzeuge


en:qt

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
en:qt [2023/05/09 14:50] – [Precondition] roehneren:qt [2024/05/07 17:09] (aktuell) roehner
Zeile 1: Zeile 1:
 ===== Precondition ===== ===== Precondition =====
-To use the modern and powerful Qt library, you need to install the PyQt6 package. To do this, call up the command Install //tools/install packages with PIP// via the GuiPy tools menu and enter //PyQt6// as the package name. You can use the //pip list// command to display the list of currently installed packages.+To use the modern and powerful Qt library, you need to install the PyQt6 package. To do this, call up the command //tools/install packages with PIP// via the GuiPy tools menu and enter //PyQt6// as the package name. You can open a console via //Tools/Command Prompt// and then use //pip list// to display the list of currently installed packages.
  
-In addition, you should install the PySide6 package in order to be able to run source code based on it.+In addition, you should install the //PySide6// package in order to be able to run source code based on it.
  
 One of the major changes in PyQt6 is the need to use fully qualified names for enums and flags. For example in PyQt5 and PySide2 you could just write Qt.DecorationRole or Qt.AlignLeft. This shortened form no longer works in PyQt6, you now have to write Qt.ItemDataRole.DisplayRole or Qt.Alignment.AlignLeft. This change affects all enums and flag types in Qt. Both long and short names are still supported in PySide6. One of the major changes in PyQt6 is the need to use fully qualified names for enums and flags. For example in PyQt5 and PySide2 you could just write Qt.DecorationRole or Qt.AlignLeft. This shortened form no longer works in PyQt6, you now have to write Qt.ItemDataRole.DisplayRole or Qt.Alignment.AlignLeft. This change affects all enums and flag types in Qt. Both long and short names are still supported in PySide6.
en/qt.1683636657.txt.gz · Zuletzt geändert: 2023/05/09 14:50 von roehner