Skip to content

Commit

Permalink
Fix PySide(1)
Browse files Browse the repository at this point in the history
  • Loading branch information
mottosso authored May 6, 2024
1 parent 125fe97 commit bee5c0f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,6 @@ def createWidget(self, class_name, parent=None, name=""):
],
"QtWidgets.QStyleOptionViewItem": "QtCompat.QStyleOptionViewItemV4",
"QtWidgets.QActionGroup": "QtGui.QActionGroup",
"QtMultimedia.QSound": "QtMultimedia.QSound",
},
"PySide2": {
"QtGui.QStringListModel": "QtCore.QStringListModel",
Expand Down Expand Up @@ -993,7 +992,6 @@ def createWidget(self, class_name, parent=None, name=""):
"QtCompat.qInstallMessageHandler", _qInstallMessageHandler
],
"QtWidgets.QStyleOptionViewItem": "QtCompat.QStyleOptionViewItemV4",
"QtMultimedia.QSound": "QtMultimedia.QSound",
},
"PyQt5": {
"QtCore.pyqtProperty": "QtCore.Property",
Expand All @@ -1017,9 +1015,11 @@ def createWidget(self, class_name, parent=None, name=""):
],
"QtWidgets.QShortcut": "QtWidgets.QShortcut",
"QtWidgets.QStyleOptionViewItem": "QtCompat.QStyleOptionViewItemV4",
"QtMultimedia.QSound": "QtMultimedia.QSound",
},
"PySide": {
"QtCore.Property": "QtCore.Property",
"QtCore.Signal": "QtCore.Signal",
"QtCore.Slot": "QtCore.Slot",
"QtGui.QAbstractProxyModel": "QtCore.QAbstractProxyModel",
"QtGui.QSortFilterProxyModel": "QtCore.QSortFilterProxyModel",
"QtGui.QStringListModel": "QtCore.QStringListModel",
Expand Down Expand Up @@ -1052,7 +1052,6 @@ def createWidget(self, class_name, parent=None, name=""):
"QtCompat.qInstallMessageHandler", _qInstallMessageHandler
],
"QtGui.QStyleOptionViewItemV4": "QtCompat.QStyleOptionViewItemV4",
"QtGui.QSound": "QtMultimedia.QSound",
},
"PyQt4": {
"QtGui.QAbstractProxyModel": "QtCore.QAbstractProxyModel",
Expand Down Expand Up @@ -1091,7 +1090,6 @@ def createWidget(self, class_name, parent=None, name=""):
"QtCompat.qInstallMessageHandler", _qInstallMessageHandler
],
"QtGui.QStyleOptionViewItemV4": "QtCompat.QStyleOptionViewItemV4",
"QtGui.QSound": "QtMultimedia.QSound",
}
}

Expand Down

0 comments on commit bee5c0f

Please sign in to comment.