event dialog - details about the Event is displayed in FullScreen mode
authorpavelpa <pavelpa@localhost>
Thu, 21 Jan 2010 09:20:43 +0000 (09:20 +0000)
committerpavelpa <pavelpa@localhost>
Thu, 21 Jan 2010 09:20:43 +0000 (09:20 +0000)
src/gui/eventdialog.cpp
src/gui/eventdialog.ui

index 237345f..74d170c 100644 (file)
@@ -8,6 +8,10 @@ EventDialog::EventDialog(const int &aEventId, QWidget *aParent)
 {
     setupUi(this);
 
+#ifdef MAEMO
+    showFullScreen();
+#endif
+
     const int confId = 1;
     Event event = Event::getById(aEventId,confId);
 
index 5007534..beff0a1 100644 (file)
@@ -41,6 +41,9 @@
        <property name="text" >
         <string>Title goes here</string>
        </property>
+       <property name="alignment" >
+        <set>Qt::AlignCenter</set>
+       </property>
        <property name="wordWrap" >
         <bool>true</bool>
        </property>