QmlProfiler: Separate expanded and collapsed row heights and counts

We'll need to access both of them when building the scene graph. This
change also clarifies the dynamics between expanding categories and
row heights and offsets.

Change-Id: I2e2bf488ad973c95d05f230bf6fff63598f39bf2
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2014-11-18 17:37:25 +01:00
parent bc4586ffbe
commit 725623583f
10 changed files with 98 additions and 62 deletions

View File

@@ -66,7 +66,8 @@ public:
static QString categoryLabel(QmlDebug::RangeType categoryIndex);
int row(int index) const;
Q_INVOKABLE int expandedRow(int index) const;
Q_INVOKABLE int collapsedRow(int index) const;
int bindingLoopDest(int index) const;
QColor color(int index) const;