From e78224a7d9ccf70aadde8c0bff1cab72e8cb7438 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 5 Apr 2017 10:07:13 +0200 Subject: Moved theme to framework --- components/theme/contents/ui/Units.qml | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 components/theme/contents/ui/Units.qml (limited to 'components/theme/contents/ui/Units.qml') diff --git a/components/theme/contents/ui/Units.qml b/components/theme/contents/ui/Units.qml deleted file mode 100644 index 96216f82..00000000 --- a/components/theme/contents/ui/Units.qml +++ /dev/null @@ -1,32 +0,0 @@ -/* - Copyright (C) 2017 Michael Bohlender, - Copyright (C) 2017 Christian Mollekopf, - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -*/ - -pragma Singleton - -import QtQuick 2.7 - -Item { - property int gridUnit: fontMetrics.height - property int smallSpacing: gridUnit/4 - property int largeSpacing: gridUnit - property variant fontMetrics: TextMetrics { - text: "M" - } -} - -- cgit v1.2.3