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:
@@ -27,7 +27,7 @@ import QtQuick 2.1
|
||||
import QtQuick.Controls 2.0
|
||||
import QtQuick.Layouts 1.3
|
||||
|
||||
import TimelineTheme 1.0
|
||||
import QtCreator.Tracing 1.0
|
||||
|
||||
ToolBar {
|
||||
id: buttons
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
import QtQuick 2.1
|
||||
import QtQuick.Controls 2.2
|
||||
|
||||
import TimelineTheme 1.0
|
||||
import QtCreator.Tracing 1.0
|
||||
|
||||
Item {
|
||||
id: labelContainer
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.0
|
||||
import FlameGraph 1.0
|
||||
import QtCreator.Tracing 1.0
|
||||
|
||||
Item {
|
||||
id: flamegraphItem
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
import FlameGraph 1.0
|
||||
import TimelineTheme 1.0
|
||||
import QtCreator.Tracing 1.0
|
||||
|
||||
import QtQml 2.2
|
||||
import QtQuick 2.9
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
import QtQuick 2.1
|
||||
import QtQuick.Controls 2.0
|
||||
|
||||
import TimelineTheme 1.0
|
||||
import QtCreator.Tracing 1.0
|
||||
|
||||
ToolButton {
|
||||
implicitWidth: 30
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
import QtQuick 2.1
|
||||
import QtQuick.Controls 2.0
|
||||
|
||||
import TimelineTheme 1.0
|
||||
import QtCreator.Tracing 1.0
|
||||
|
||||
Rectangle {
|
||||
id: root
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.1
|
||||
import TimelineOverviewRenderer 1.0
|
||||
import TimelineTheme 1.0
|
||||
import QtCreator.Tracing 1.0
|
||||
|
||||
Rectangle {
|
||||
id: overview
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
import QtQuick 2.9
|
||||
import QtQuick.Controls 2.0
|
||||
|
||||
import TimelineTheme 1.0
|
||||
import QtCreator.Tracing 1.0
|
||||
|
||||
Item {
|
||||
id: rangeDetails
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.1
|
||||
import TimelineTheme 1.0
|
||||
import QtCreator.Tracing 1.0
|
||||
|
||||
Item {
|
||||
id: rangeMover
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtQuick.Controls 2.2
|
||||
import TimelineTheme 1.0
|
||||
import QtCreator.Tracing 1.0
|
||||
|
||||
Button {
|
||||
id: button
|
||||
|
||||
@@ -26,8 +26,7 @@
|
||||
import QtQuick 2.1
|
||||
import QtQuick.Controls 2.0
|
||||
|
||||
import TimelineTheme 1.0
|
||||
import TimelineTimeFormatter 1.0
|
||||
import QtCreator.Tracing 1.0
|
||||
|
||||
Item {
|
||||
id: selectionRangeDetails
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.1
|
||||
import TimelineTheme 1.0
|
||||
import TimelineTimeFormatter 1.0
|
||||
import QtCreator.Tracing 1.0
|
||||
|
||||
Item {
|
||||
id: timeDisplay
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.1
|
||||
import TimelineTheme 1.0
|
||||
import QtCreator.Tracing 1.0
|
||||
|
||||
Item {
|
||||
id: timeMarks
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtQuick.Controls 2.2
|
||||
import TimelineRenderer 1.0
|
||||
import QtCreator.Tracing 1.0
|
||||
import QtQml.Models 2.1
|
||||
|
||||
Flickable {
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtQml.Models 2.1
|
||||
import TimelineTheme 1.0
|
||||
import QtCreator.Tracing 1.0
|
||||
|
||||
Flickable {
|
||||
id: categories
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.0
|
||||
import TimelineTheme 1.0
|
||||
import QtCreator.Tracing 1.0
|
||||
|
||||
Item {
|
||||
id: rulersParent
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.0
|
||||
import TimelineTheme 1.0
|
||||
import QtCreator.Tracing 1.0
|
||||
|
||||
Text {
|
||||
font.pixelSize: 12
|
||||
|
||||
@@ -96,7 +96,7 @@ static QObject *createFormatter(QQmlEngine *engine, QJSEngine *scriptEngine)
|
||||
void TimeFormatter::setupTimeFormatter()
|
||||
{
|
||||
static const int typeIndex = qmlRegisterSingletonType<TimeFormatter>(
|
||||
"TimelineTimeFormatter", 1, 0, "TimeFormatter", createFormatter);
|
||||
"QtCreator.Tracing", 1, 0, "TimeFormatter", createFormatter);
|
||||
Q_UNUSED(typeIndex)
|
||||
}
|
||||
|
||||
|
||||
@@ -112,7 +112,7 @@ static QObject *singletonProvider(QQmlEngine *engine, QJSEngine *scriptEngine)
|
||||
|
||||
void TimelineTheme::setupTheme(QQmlEngine *engine)
|
||||
{
|
||||
static const int typeIndex = qmlRegisterSingletonType<Utils::Theme>("TimelineTheme", 1, 0,
|
||||
static const int typeIndex = qmlRegisterSingletonType<Utils::Theme>("QtCreator.Tracing", 1, 0,
|
||||
"Theme", singletonProvider);
|
||||
Q_UNUSED(typeIndex)
|
||||
engine->addImageProvider(QLatin1String("icons"), new TimelineImageIconProvider);
|
||||
|
||||
Reference in New Issue
Block a user