forked from qt-creator/qt-creator
Tracing/QmlProfiler/Perfprofiler: Merge modules
Move Tracing Qml Types into the "QtCreator.Tracing" module. Move QmlProfiler Qml Types into the "QtCreator.QmlProfiler" module. Move PerfProfiler Qml Types into the "QtCreator.PerfProfiler" module. And tst_flamegraphview ones into QtCreator.TstTracingFlameGraphView. ... in preparation to register the types declaratively. Change-Id: Ic0e3863d09b3426fa5b7419116625ad49b817dcf Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -122,12 +122,12 @@ QmlProfilerTraceView::QmlProfilerTraceView(QWidget *parent, QmlProfilerViewManag
|
||||
groupLayout->setContentsMargins(0, 0, 0, 0);
|
||||
groupLayout->setSpacing(0);
|
||||
|
||||
qmlRegisterType<Timeline::TimelineRenderer>("TimelineRenderer", 1, 0, "TimelineRenderer");
|
||||
qmlRegisterType<Timeline::TimelineOverviewRenderer>("TimelineOverviewRenderer", 1, 0,
|
||||
qmlRegisterType<Timeline::TimelineRenderer>("QtCreator.Tracing", 1, 0, "TimelineRenderer");
|
||||
qmlRegisterType<Timeline::TimelineOverviewRenderer>("QtCreator.Tracing", 1, 0,
|
||||
"TimelineOverviewRenderer");
|
||||
qmlRegisterType<Timeline::TimelineZoomControl>();
|
||||
qmlRegisterType<Timeline::TimelineModel>();
|
||||
qmlRegisterType<Timeline::TimelineNotesModel>();
|
||||
qmlRegisterAnonymousType<Timeline::TimelineZoomControl>("QtCreator.Tracing", 1);
|
||||
qmlRegisterAnonymousType<Timeline::TimelineModel>("QtCreator.Tracing", 1);
|
||||
qmlRegisterAnonymousType<Timeline::TimelineNotesModel>("QtCreator.Tracing", 1);
|
||||
|
||||
d->m_mainView = new QQuickWidget(this);
|
||||
d->m_mainView->setResizeMode(QQuickWidget::SizeRootObjectToView);
|
||||
|
||||
Reference in New Issue
Block a user