forked from qt-creator/qt-creator
QmlProfiler: Add scales to rows in timeline
If you resize the rows to at least double their default size and if the model specifies a scale it will be drawn as additional horizontal lines and numbers in the background. Change-Id: I02844b4102e043031ee04daa45666dc3f8da1d2e Task-number: QTCREATORBUG-12337 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -182,6 +182,16 @@ const QString TimelineModelAggregator::title(int modelIndex) const
|
||||
return d->modelList[modelIndex]->title();
|
||||
}
|
||||
|
||||
int TimelineModelAggregator::rowMinValue(int modelIndex, int row) const
|
||||
{
|
||||
return d->modelList[modelIndex]->rowMinValue(row);
|
||||
}
|
||||
|
||||
int TimelineModelAggregator::rowMaxValue(int modelIndex, int row) const
|
||||
{
|
||||
return d->modelList[modelIndex]->rowMaxValue(row);
|
||||
}
|
||||
|
||||
int TimelineModelAggregator::findFirstIndex(int modelIndex, qint64 startTime) const
|
||||
{
|
||||
return d->modelList[modelIndex]->findFirstIndex(startTime);
|
||||
|
||||
Reference in New Issue
Block a user