aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprojectmanager/qdslandingpagetheme.h
diff options
context:
space:
mode:
authorTapani Mattila <[email protected]>2022-05-23 10:35:18 +0300
committerTapani Mattila <[email protected]>2022-05-25 09:18:09 +0000
commitf55fc5276b901c96517c4dbedbc6717df240db9a (patch)
tree4d9b13ffd7514e482fb44933df245f1d23961e74 /src/plugins/qmlprojectmanager/qdslandingpagetheme.h
parent5ae128f6347f712507924086ef7a21ba9ce40882 (diff)
QmlProjectManager: Add theming support to QDS landing page
Task-number: QDS-6897 Change-Id: I2e1cea556d906d59664cb72612ea1d67ef495f4f Reviewed-by: Alessandro Portale <[email protected]> Reviewed-by: <[email protected]>
Diffstat (limited to 'src/plugins/qmlprojectmanager/qdslandingpagetheme.h')
-rw-r--r--src/plugins/qmlprojectmanager/qdslandingpagetheme.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/plugins/qmlprojectmanager/qdslandingpagetheme.h b/src/plugins/qmlprojectmanager/qdslandingpagetheme.h
new file mode 100644
index 00000000000..0befcdf89e7
--- /dev/null
+++ b/src/plugins/qmlprojectmanager/qdslandingpagetheme.h
@@ -0,0 +1,46 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+#include <qqmlengine.h>
+
+#include <utils/theme/theme.h>
+
+namespace QmlProjectManager {
+
+class QdsLandingPageTheme : public Utils::Theme
+{
+ Q_OBJECT
+ QML_SINGLETON
+
+public:
+ static void setupTheme(QQmlEngine *engine);
+
+private:
+ QdsLandingPageTheme(Utils::Theme *originTheme, QObject *parent);
+};
+
+} //QmlProjectManager