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

@@ -65,7 +65,8 @@ public:
int rowMaxValue(int rowNumber) const;
int typeId(int index) const;
int row(int index) const;
Q_INVOKABLE int expandedRow(int index) const;
Q_INVOKABLE int collapsedRow(int index) const;
QColor color(int index) const;
float relativeHeight(int index) const;