forked from qt-creator/qt-creator
Debugger: Add simple dumper for QKeySequence
Change-Id: I097336fb77ff34e94c9096b51a511b3a0f2c86d1 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -652,6 +652,13 @@ def qdump__QKeyEvent(d, value):
|
|||||||
d.putFields(value, dumpBase=True)
|
d.putFields(value, dumpBase=True)
|
||||||
|
|
||||||
|
|
||||||
|
def qdump__QKeySequence(d, value):
|
||||||
|
dd = d.extractPointer(value)
|
||||||
|
_, k0, k1, k2, k3 = d.split('iiiii', dd)
|
||||||
|
d.putValue("(0x%x, 0x%x, 0x%x, 0x%x)" % (k0, k1, k2, k3));
|
||||||
|
d.putPlainChildren(value)
|
||||||
|
|
||||||
|
|
||||||
def qdump__QFile(d, value):
|
def qdump__QFile(d, value):
|
||||||
# 9fc0965 and a373ffcd change the layout of the private structure
|
# 9fc0965 and a373ffcd change the layout of the private structure
|
||||||
qtVersion = d.qtVersion()
|
qtVersion = d.qtVersion()
|
||||||
|
Reference in New Issue
Block a user