forked from qt-creator/qt-creator
QmlDesigner: Track MaterialEditor usage
Change-Id: Ie8daf34bf21d9b12711704be4fdea9b291307f02 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -31,18 +31,17 @@
|
|||||||
#include "materialeditortransaction.h"
|
#include "materialeditortransaction.h"
|
||||||
#include "assetslibrarywidget.h"
|
#include "assetslibrarywidget.h"
|
||||||
|
|
||||||
#include <qmldesignerconstants.h>
|
#include <bindingproperty.h>
|
||||||
#include <qmltimeline.h>
|
#include <metainfo.h>
|
||||||
|
#include <nodeinstanceview.h>
|
||||||
|
#include <nodelistproperty.h>
|
||||||
#include <nodemetainfo.h>
|
#include <nodemetainfo.h>
|
||||||
#include <nodeproperty.h>
|
#include <nodeproperty.h>
|
||||||
#include <nodelistproperty.h>
|
|
||||||
#include <nodeinstanceview.h>
|
|
||||||
#include <metainfo.h>
|
|
||||||
|
|
||||||
#include <rewritingexception.h>
|
#include <rewritingexception.h>
|
||||||
#include <variantproperty.h>
|
#include <variantproperty.h>
|
||||||
|
#include <qmldesignerconstants.h>
|
||||||
#include <bindingproperty.h>
|
#include <qmldesignerplugin.h>
|
||||||
|
#include <qmltimeline.h>
|
||||||
|
|
||||||
#include <theme.h>
|
#include <theme.h>
|
||||||
|
|
||||||
@@ -86,6 +85,7 @@ MaterialEditorView::MaterialEditorView(QWidget *parent)
|
|||||||
m_stackedWidget->setStyleSheet(Theme::replaceCssColors(
|
m_stackedWidget->setStyleSheet(Theme::replaceCssColors(
|
||||||
QString::fromUtf8(Utils::FileReader::fetchQrc(":/qmldesigner/stylesheet.css"))));
|
QString::fromUtf8(Utils::FileReader::fetchQrc(":/qmldesigner/stylesheet.css"))));
|
||||||
m_stackedWidget->setMinimumWidth(250);
|
m_stackedWidget->setMinimumWidth(250);
|
||||||
|
QmlDesignerPlugin::trackWidgetFocusTime(m_stackedWidget, Constants::EVENT_MATERIALEDITOR_TIME);
|
||||||
}
|
}
|
||||||
|
|
||||||
MaterialEditorView::~MaterialEditorView()
|
MaterialEditorView::~MaterialEditorView()
|
||||||
|
@@ -131,6 +131,7 @@ const char EVENT_ITEMLIBRARY_TIME[] = "itemLibrary";
|
|||||||
const char EVENT_TRANSLATIONVIEW_TIME[] = "translationView";
|
const char EVENT_TRANSLATIONVIEW_TIME[] = "translationView";
|
||||||
const char EVENT_NAVIGATORVIEW_TIME[] = "navigatorView";
|
const char EVENT_NAVIGATORVIEW_TIME[] = "navigatorView";
|
||||||
const char EVENT_DESIGNMODE_TIME[] = "designMode";
|
const char EVENT_DESIGNMODE_TIME[] = "designMode";
|
||||||
|
const char EVENT_MATERIALEDITOR_TIME[] = "materialEditor";
|
||||||
|
|
||||||
|
|
||||||
const char PROPERTY_EDITOR_CLASSNAME_PROPERTY[] = "__classNamePrivateInternal";
|
const char PROPERTY_EDITOR_CLASSNAME_PROPERTY[] = "__classNamePrivateInternal";
|
||||||
|
Reference in New Issue
Block a user