diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/qml/Font.qml | 28 | ||||
-rw-r--r-- | framework/qmldir | 2 |
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 | |||
19 | pragma Singleton | ||
20 | |||
21 | import QtQuick 2.7 | ||
22 | |||
23 | Item { | ||
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 | |||
22 | singleton Colors 1.0 Colors.qml | 22 | singleton Colors 1.0 Colors.qml |
23 | singleton Icons 1.0 Icons.qml | 23 | singleton Icons 1.0 Icons.qml |
24 | singleton Units 1.0 Units.qml | 24 | singleton Units 1.0 Units.qml |
25 | singleton Font 1.0 Font.qml | ||
26 | |||
25 | 27 | ||
26 | plugin frameworkplugin | 28 | plugin frameworkplugin |