Commit acf1e49d authored by hjk's avatar hjk

debugger: make QString "displayable" in a QTextEdit

parent 4243b562
......@@ -1404,6 +1404,14 @@ def qdump__QStack(d, item):
def qdump__QString(d, item):
d.putStringValue(item.value)
d.putNumChild(0)
d.putField("typeformats", "Normal,Displayed");
format = d.itemFormat(item)
if format == 0:
d.putDisplay(StopDisplay)
elif format == 1:
d.putField("editformat", 2)
str = encodeString(item.value)
d.putField("editvalue", str)
def qdump__QStringList(d, item):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment