aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-06-02 10:38:25 +0200
committerhjk <hjk@qt.io>2020-06-02 13:02:25 +0000
commit63655081c3beaf461697fd19bc52712fcaf4fa2c (patch)
tree366f481747cd17c3fe791fe53b63f7ed25420771 /doc
parent090110e1d847a412de8da18cf84a5733275005a3 (diff)
Debugger: Mark a few more sub items as expandable
... and remove some of the now implicit putNumChild() calls. Also, adapt docs. Change-Id: I1ab1dafada95a1703cd6a9ba5b9e7e4166b48cd9 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/qtcreator/src/debugger/creator-only/creator-debugger.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/qtcreator/src/debugger/creator-only/creator-debugger.qdoc b/doc/qtcreator/src/debugger/creator-only/creator-debugger.qdoc
index fdcec02bbcd..e65407716c1 100644
--- a/doc/qtcreator/src/debugger/creator-only/creator-debugger.qdoc
+++ b/doc/qtcreator/src/debugger/creator-only/creator-debugger.qdoc
@@ -1096,7 +1096,6 @@
with SubItem(self, name):
self.putValue(value)
self.putType("int")
- self.putNumChild(0)
\endcode
\li \c{putBoolItem(self, name, value)} - Equivalent to:
@@ -1104,7 +1103,6 @@
with SubItem(self, name):
self.putValue(value)
self.putType("bool")
- self.putNumChild(0)
\endcode
\li \c{putCallItem(self, name, value, func, *args)} - Uses the native
@@ -1168,10 +1166,12 @@
\li \c{putBetterType(self, type)} - Overrides the last recorded \c type.
+ \li \c{putExpandable(self)} - Announces the existence of child items
+ for the current value. The default are no children.
+
\li \c{putNumChild(self, numchild)} - Announces the existence
(\c numchild > 0) or non-existence of child items for the current
- value. If \c putNumChild is not explicitly called, the
- existence of child items is implied.
+ value.
\li \c{putValue(self, value, encoding = None)} - Appends the file
\c {value=''}, optionally followed by the field \c {valueencoding=''}.