summaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2017-04-20 08:14:44 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2017-04-20 08:14:44 +0200
commit30cea9381ea977e4c4a7b2a6378a32802f075ea8 (patch)
tree2434227060bee1f0bf740e4e3729ac63862bc0e6 /framework
parentf200e304b45cbabc558e80020caa6a7f0f877a44 (diff)
downloadkube-30cea9381ea977e4c4a7b2a6378a32802f075ea8.tar.gz
kube-30cea9381ea977e4c4a7b2a6378a32802f075ea8.zip
introduce Kube.Font
Diffstat (limited to 'framework')
-rw-r--r--framework/qml/Font.qml28
-rw-r--r--framework/qmldir2
2 files changed, 30 insertions, 0 deletions
diff --git a/framework/qml/Font.qml b/framework/qml/Font.qml
new file mode 100644
index 00000000..b4abbe0d
--- /dev/null
+++ b/framework/qml/Font.qml
@@ -0,0 +1,28 @@
1/*
2 Copyright (C) 2017 Michael Bohlender, <bohlender@kolabsys.com>
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License along
15 with this program; if not, write to the Free Software Foundation, Inc.,
16 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17*/
18
19pragma Singleton
20
21import QtQuick 2.7
22
23Item {
24 id: root
25
26 property string fontFamily: "Noto Sans"
27}
28
diff --git a/framework/qmldir b/framework/qmldir
index 9f49a65f..1cc25b18 100644
--- a/framework/qmldir
+++ b/framework/qmldir
@@ -22,5 +22,7 @@ Label 1.0 Label.qml
22singleton Colors 1.0 Colors.qml 22singleton Colors 1.0 Colors.qml
23singleton Icons 1.0 Icons.qml 23singleton Icons 1.0 Icons.qml
24singleton Units 1.0 Units.qml 24singleton Units 1.0 Units.qml
25singleton Font 1.0 Font.qml
26
25 27
26plugin frameworkplugin 28plugin frameworkplugin