summaryrefslogtreecommitdiff
path: root/metawatch
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-01-03 23:39:59 +0100
committerJavier S. Pedro <maemo@javispedro.com>2012-01-03 23:39:59 +0100
commitb4e1dcab8764c68c5af4a30dde9b6e14df2527a6 (patch)
tree4d709f50db4fe38c76ae826e18901474cc69cc08 /metawatch
parentecbae703556cd140e096be767f18343bb6b88d88 (diff)
downloadsowatch-b4e1dcab8764c68c5af4a30dde9b6e14df2527a6.tar.gz
sowatch-b4e1dcab8764c68c5af4a30dde9b6e14df2527a6.zip
new mwpage qml component
Diffstat (limited to 'metawatch')
-rw-r--r--metawatch/metawatchdigital.cpp2
-rw-r--r--metawatch/qml/com/javispedro/sowatch/metawatch/MWPage.qml7
-rw-r--r--metawatch/qml/com/javispedro/sowatch/metawatch/qmldir1
3 files changed, 9 insertions, 1 deletions
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