Skip to content

Commit

Permalink
Updated misplaced members and removed whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonthomassonttf committed May 10, 2024
1 parent 5152589 commit 6758d8a
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions Qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,6 @@ def createWidget(self, class_name, parent=None, name=""):
"QtGui.QUndoGroup": "QtWidgets.QUndoGroup",
"QtGui.QUndoStack": "QtWidgets.QUndoStack",
"QtGui.QActionGroup": "QtWidgets.QActionGroup",

"QtCore.QStringListModel": "QtCore.QStringListModel",
"QtGui.QStringListModel": "QtCore.QStringListModel",
"QtCore.Property": "QtCore.Property",
Expand Down Expand Up @@ -967,14 +966,12 @@ def createWidget(self, class_name, parent=None, name=""):
"QtCompat.qInstallMessageHandler", _qInstallMessageHandler
],
"QtWidgets.QStyleOptionViewItem": "QtCompat.QStyleOptionViewItemV4",
"QtWidgets.QActionGroup": "QtGui.QActionGroup",
},
"PySide2": {
"QtWidgets.QUndoCommand": "QtWidgets.QUndoCommand",
"QtWidgets.QUndoGroup": "QtWidgets.QUndoGroup",
"QtWidgets.QUndoStack": "QtWidgets.QUndoStack",
"QtWidgets.QActionGroup": "QtWidgets.QActionGroup",

"QtCore.QStringListModel": "QtCore.QStringListModel",

# Older versions of PySide2 still left this in QtGui, this accounts for those too
Expand Down Expand Up @@ -1008,6 +1005,10 @@ def createWidget(self, class_name, parent=None, name=""):
"QtWidgets.QStyleOptionViewItem": "QtCompat.QStyleOptionViewItemV4",
},
"PyQt5": {
"QtWidgets.QUndoCommand": "QtWidgets.QUndoCommand",
"QtWidgets.QUndoGroup": "QtWidgets.QUndoGroup",
"QtWidgets.QUndoStack": "QtWidgets.QUndoStack",
"QtWidgets.QActionGroup": "QtWidgets.QActionGroup",
"QtCore.pyqtProperty": "QtCore.Property",
"QtCore.pyqtSignal": "QtCore.Signal",
"QtCore.pyqtSlot": "QtCore.Slot",
Expand All @@ -1031,6 +1032,10 @@ def createWidget(self, class_name, parent=None, name=""):
"QtWidgets.QStyleOptionViewItem": "QtCompat.QStyleOptionViewItemV4",
},
"PySide": {
"QtGui.QUndoCommand": "QtWidgets.QUndoCommand",
"QtGui.QUndoGroup": "QtWidgets.QUndoGroup",
"QtGui.QUndoStack": "QtWidgets.QUndoStack",
"QtGui.QActionGroup": "QtWidgets.QActionGroup",
"QtCore.Property": "QtCore.Property",
"QtCore.Signal": "QtCore.Signal",
"QtCore.Slot": "QtCore.Slot",
Expand Down Expand Up @@ -1068,6 +1073,10 @@ def createWidget(self, class_name, parent=None, name=""):
"QtGui.QStyleOptionViewItemV4": "QtCompat.QStyleOptionViewItemV4",
},
"PyQt4": {
"QtGui.QUndoCommand": "QtWidgets.QUndoCommand",
"QtGui.QUndoGroup": "QtWidgets.QUndoGroup",
"QtGui.QUndoStack": "QtWidgets.QUndoStack",
"QtGui.QActionGroup": "QtWidgets.QActionGroup",
"QtGui.QAbstractProxyModel": "QtCore.QAbstractProxyModel",
"QtGui.QSortFilterProxyModel": "QtCore.QSortFilterProxyModel",
"QtGui.QItemSelection": "QtCore.QItemSelection",
Expand Down

0 comments on commit 6758d8a

Please sign in to comment.