forked from qt-creator/qt-creator
Themed Profiler timeline: Tool bar
This change implements theming of the toolbars and adds new, High-DPI capable toolbar icons. Task-number: QTCREATORBUG-16466 Change-Id: Ibcc774962c740995d8b15fa6c74345d3a48694de Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
committed by
Alessandro Portale
parent
be72a94472
commit
5df7b1272d
@@ -46,6 +46,7 @@
|
||||
#include "timeline/timelinemodelaggregator.h"
|
||||
#include "timeline/timelinerenderer.h"
|
||||
#include "timeline/timelineoverviewrenderer.h"
|
||||
#include "timeline/timelinetheme.h"
|
||||
|
||||
#include <aggregation/aggregate.h>
|
||||
// Needed for the load&save actions in the context menu
|
||||
@@ -143,6 +144,8 @@ QmlProfilerTraceView::QmlProfilerTraceView(QWidget *parent, QmlProfilerViewManag
|
||||
// Minimum height: 5 rows of 20 pixels + scrollbar of 50 pixels + 20 pixels margin
|
||||
setMinimumHeight(170);
|
||||
|
||||
Timeline::TimelineTheme::setupTheme(d->m_mainView->engine());
|
||||
|
||||
d->m_mainView->rootContext()->setContextProperty(QLatin1String("timelineModelAggregator"),
|
||||
d->m_modelProxy);
|
||||
d->m_mainView->rootContext()->setContextProperty(QLatin1String("zoomControl"),
|
||||
|
||||
Reference in New Issue
Block a user