From b4e1dcab8764c68c5af4a30dde9b6e14df2527a6 Mon Sep 17 00:00:00 2001
From: "Javier S. Pedro" <maemo@javispedro.com>
Date: Tue, 3 Jan 2012 23:39:59 +0100
Subject: new mwpage qml component

---
 metawatch/metawatchdigital.cpp                            | 2 +-
 metawatch/qml/com/javispedro/sowatch/metawatch/MWPage.qml | 7 +++++++
 metawatch/qml/com/javispedro/sowatch/metawatch/qmldir     | 1 +
 3 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100644 metawatch/qml/com/javispedro/sowatch/metawatch/MWPage.qml

diff --git a/metawatch/metawatchdigital.cpp b/metawatch/metawatchdigital.cpp
index 50ce301..befdaea 100644
--- a/metawatch/metawatchdigital.cpp
+++ b/metawatch/metawatchdigital.cpp
@@ -171,7 +171,7 @@ void MetaWatchDigital::renderIdleScreen()
 void MetaWatchDigital::renderIdleWeather()
 {
 	_paintMode = IdleMode;
-	QFont sf("MetaWatch Small caps 8pt", 6);
+	QFont sf("MetaWatch Small caps 8pt");
 	QFont lf("MetaWatch Large 16pt");
 	QPainter p(this);
 
diff --git a/metawatch/qml/com/javispedro/sowatch/metawatch/MWPage.qml b/metawatch/qml/com/javispedro/sowatch/metawatch/MWPage.qml
new file mode 100644
index 0000000..f3901af
--- /dev/null
+++ b/metawatch/qml/com/javispedro/sowatch/metawatch/MWPage.qml
@@ -0,0 +1,7 @@
+import Qt 4.7
+
+Rectangle {
+	width: 96
+	height: 96
+	color: "white"
+}
diff --git a/metawatch/qml/com/javispedro/sowatch/metawatch/qmldir b/metawatch/qml/com/javispedro/sowatch/metawatch/qmldir
index 02221c3..91ee6dc 100644
--- a/metawatch/qml/com/javispedro/sowatch/metawatch/qmldir
+++ b/metawatch/qml/com/javispedro/sowatch/metawatch/qmldir
@@ -1,2 +1,3 @@
+MWPage 1.0 MWPage.qml
 MWTitle 1.0 MWTitle.qml
 MWListView 1.0 MWListView.qml
-- 
cgit v1.2.3