Skip to content

Commit

Permalink
Merge pull request #329 from mottosso/QStyleOptionViewItem
Browse files Browse the repository at this point in the history
Add QStyleOptionViewItem to QtCompat
  • Loading branch information
mottosso authored Nov 16, 2019
2 parents 7fed17c + 75523b2 commit e4f13d0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
import importlib


__version__ = "1.2.1"
__version__ = "1.2.2"

# Enable support for `from Qt import *`
__all__ = []
Expand Down Expand Up @@ -1005,6 +1005,7 @@ def createWidget(self, class_name, parent=None, name=""):
"QtCore.qInstallMessageHandler": [
"QtCompat.qInstallMessageHandler", _qInstallMessageHandler
],
"QtWidgets.QStyleOptionViewItem": "QtCompat.QStyleOptionViewItemV4",
},
"PyQt5": {
"QtCore.pyqtProperty": "QtCore.Property",
Expand All @@ -1030,6 +1031,7 @@ def createWidget(self, class_name, parent=None, name=""):
"QtCore.qInstallMessageHandler": [
"QtCompat.qInstallMessageHandler", _qInstallMessageHandler
],
"QtWidgets.QStyleOptionViewItem": "QtCompat.QStyleOptionViewItemV4",
},
"PySide": {
"QtGui.QAbstractProxyModel": "QtCore.QAbstractProxyModel",
Expand Down Expand Up @@ -1063,6 +1065,7 @@ def createWidget(self, class_name, parent=None, name=""):
"QtCore.qInstallMsgHandler": [
"QtCompat.qInstallMessageHandler", _qInstallMessageHandler
],
"QtGui.QStyleOptionViewItemV4": "QtCompat.QStyleOptionViewItemV4",
},
"PyQt4": {
"QtGui.QAbstractProxyModel": "QtCore.QAbstractProxyModel",
Expand Down Expand Up @@ -1098,6 +1101,7 @@ def createWidget(self, class_name, parent=None, name=""):
"QtCore.qInstallMsgHandler": [
"QtCompat.qInstallMessageHandler", _qInstallMessageHandler
],
"QtGui.QStyleOptionViewItemV4": "QtCompat.QStyleOptionViewItemV4",
}
}

Expand Down

0 comments on commit e4f13d0

Please sign in to comment.