aboutsummaryrefslogtreecommitdiffstats
path: root/src/share
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2019-02-26 15:29:01 +0100
committerAlessandro Portale <alessandro.portale@qt.io>2019-03-06 11:14:02 +0000
commit940e798a3a1bc16d1685c2719af5ad722d99e2f0 (patch)
treead94bfa26aed28b68f6aa0c8f346a1a0e58867f4 /src/share
parent7b39db9e8a0e36ad59eae0a7dea776d4205032a8 (diff)
Add Welcome Page of Qt Design Studio
Change-Id: I492d27aa5f899630863eb902bf0acc9d9610b80e Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/share')
-rw-r--r--src/share/3rdparty/studiofonts/StudioFonts/StudioFonts.qml44
-rw-r--r--src/share/3rdparty/studiofonts/StudioFonts/qmldir1
-rw-r--r--src/share/3rdparty/studiofonts/TitilliumWeb-Light.ttfbin0 -> 64004 bytes
-rw-r--r--src/share/3rdparty/studiofonts/TitilliumWeb-Regular.ttfbin0 -> 63660 bytes
-rw-r--r--src/share/3rdparty/studiofonts/TitilliumWeb.txt8
-rw-r--r--src/share/3rdparty/studiofonts/studiofonts.qrc8
6 files changed, 61 insertions, 0 deletions
diff --git a/src/share/3rdparty/studiofonts/StudioFonts/StudioFonts.qml b/src/share/3rdparty/studiofonts/StudioFonts/StudioFonts.qml
new file mode 100644
index 0000000000..677dd7e0d1
--- /dev/null
+++ b/src/share/3rdparty/studiofonts/StudioFonts/StudioFonts.qml
@@ -0,0 +1,44 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 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 Singleton
+
+import QtQuick 2.6
+
+QtObject {
+ property FontLoader fontLoader_regular: FontLoader {
+ id: fontLoader_regular
+ source: "../TitilliumWeb-Regular.ttf"
+ }
+
+ readonly property alias titilliumWeb_regular: fontLoader_regular.name
+
+ property FontLoader fontLoader_light: FontLoader {
+ id: fontLoader_light
+ source: "../TitilliumWeb-Light.ttf"
+ }
+
+ readonly property alias titilliumWeb_light: fontLoader_light.name
+}
diff --git a/src/share/3rdparty/studiofonts/StudioFonts/qmldir b/src/share/3rdparty/studiofonts/StudioFonts/qmldir
new file mode 100644
index 0000000000..7d39f37fcb
--- /dev/null
+++ b/src/share/3rdparty/studiofonts/StudioFonts/qmldir
@@ -0,0 +1 @@
+singleton StudioFonts 1.0 StudioFonts.qml
diff --git a/src/share/3rdparty/studiofonts/TitilliumWeb-Light.ttf b/src/share/3rdparty/studiofonts/TitilliumWeb-Light.ttf
new file mode 100644
index 0000000000..2685cbe55d
--- /dev/null
+++ b/src/share/3rdparty/studiofonts/TitilliumWeb-Light.ttf
Binary files differ
diff --git a/src/share/3rdparty/studiofonts/TitilliumWeb-Regular.ttf b/src/share/3rdparty/studiofonts/TitilliumWeb-Regular.ttf
new file mode 100644
index 0000000000..4fd6b7fba0
--- /dev/null
+++ b/src/share/3rdparty/studiofonts/TitilliumWeb-Regular.ttf
Binary files differ
diff --git a/src/share/3rdparty/studiofonts/TitilliumWeb.txt b/src/share/3rdparty/studiofonts/TitilliumWeb.txt
new file mode 100644
index 0000000000..cc2b593f34
--- /dev/null
+++ b/src/share/3rdparty/studiofonts/TitilliumWeb.txt
@@ -0,0 +1,8 @@
+Titillium is a free open source font and it is born inside the Accademia
+di Belle Arti di Urbino as a didactic project Course Type design of the
+Master of Visual Design Campi Visivi. It has 11 different weights and is
+well suited for headlines and body type.
+
+Titillium is used as the brand font for Qt.
+
+https://brand.qt.io/fonts/ \ No newline at end of file
diff --git a/src/share/3rdparty/studiofonts/studiofonts.qrc b/src/share/3rdparty/studiofonts/studiofonts.qrc
new file mode 100644
index 0000000000..0dfcd93232
--- /dev/null
+++ b/src/share/3rdparty/studiofonts/studiofonts.qrc
@@ -0,0 +1,8 @@
+<RCC>
+ <qresource prefix="studiofonts">
+ <file>TitilliumWeb-Light.ttf</file>
+ <file>TitilliumWeb-Regular.ttf</file>
+ <file>StudioFonts/qmldir</file>
+ <file>StudioFonts/StudioFonts.qml</file>
+ </qresource>
+</RCC>