Upgrade to PySide6.

PySide2 renamed to PySide6 for Qt 6 support. It doesn't seem like
PySide2 is getting a 3.10 wheel, so upgrade to Qt 6 to prep for that.
This commit is contained in:
Dan Albert
2021-11-20 19:26:18 -08:00
parent 69649d7496
commit 4a7dae9cc2
93 changed files with 179 additions and 183 deletions

View File

@@ -1,9 +1,9 @@
from contextlib import contextmanager
from typing import ContextManager, Optional
from PySide2.QtCore import QModelIndex, Qt, QSize
from PySide2.QtGui import QPainter, QFont, QFontMetrics, QIcon
from PySide2.QtWidgets import QStyledItemDelegate, QStyleOptionViewItem, QStyle
from PySide6.QtCore import QModelIndex, Qt, QSize
from PySide6.QtGui import QPainter, QFont, QFontMetrics, QIcon
from PySide6.QtWidgets import QStyledItemDelegate, QStyleOptionViewItem, QStyle
@contextmanager