From ddb078404ade5492a8683af4885b173263d447d8 Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Mon, 12 Oct 2020 09:10:39 +0200 Subject: qmlpreview: add test translation color settings Change-Id: I9b11fcf1fdae39b089887884a3d96cc8648a0c8a Reviewed-by: Tim Jenssen --- src/plugins/qmlpreview/qmldebugtranslationwidget.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/plugins/qmlpreview/qmldebugtranslationwidget.h') diff --git a/src/plugins/qmlpreview/qmldebugtranslationwidget.h b/src/plugins/qmlpreview/qmldebugtranslationwidget.h index 7ea0760ac0..de0c7ba362 100644 --- a/src/plugins/qmlpreview/qmldebugtranslationwidget.h +++ b/src/plugins/qmlpreview/qmldebugtranslationwidget.h @@ -63,6 +63,9 @@ public: void setCurrentFile(const Utils::FilePath &filepath); void setFiles(const Utils::FilePaths &filePathes); void updateStartupProjectTranslations(); + + QColor warningColor(); + QColor foundTrColor(); private: void updateCurrentEditor(const Core::IEditor *editor); void updateCurrentTranslations(ProjectExplorer::Project *project); @@ -98,6 +101,10 @@ private: QHBoxLayout *m_selectLanguageLayout; TestLanguageGetter m_testLanguagesGetter; + QColor m_warningColor; + QColor m_foundTrColor; + QColor m_lastWarningColor; + QColor m_lastfoundTrColor; }; } // namespace QmlPreview -- cgit v1.2.3