Merge branch 'engine' into dev
authorKaj Wallin <kaj.wallin@ixonos.com>
Wed, 28 Apr 2010 08:24:17 +0000 (11:24 +0300)
committerKaj Wallin <kaj.wallin@ixonos.com>
Wed, 28 Apr 2010 08:24:17 +0000 (11:24 +0300)
Conflicts:
src/src.pro
src/ui/listviewscreen.cpp
src/ui/listviewscreen.h

1  2 
src/src.pro
src/ui/listviewscreen.cpp
src/ui/listviewscreen.h
src/ui/mapviewscreen.cpp

diff --cc src/src.pro
@@@ -25,9 -24,8 +26,10 @@@ SOURCES += main.cpp 
      ui/infotab.cpp \
      ui/updatelocation/updatelocationdialog.cpp \
      ui/updatelocation/texteditautoresizer.cpp \
 -    engine/engine.cpp \
 -    user/user.cpp
 +    user/user.cpp \
 +    ui/buttonitem.cpp \
-     ui/situareuser.cpp
++    ui/situareuser.cpp \
++    engine/engine.cpp
  HEADERS += ui/mainwindow.h \
      ui/mapviewscreen.h \
      ui/listviewscreen.h \
      facebookservice/facebookcredentials.h \
      facebookservice/facebookauthentication.h \
      facebookservice/facebookcommon.h \
-     user/user.h \
 +    ui/buttonitem.h \
-     ui/situareuser.h
++    ui/situareuser.h \
+     engine/engine.h \
+     user/user.h
  QT += network \
      webkit
  
@@@ -47,10 -42,7 +47,10 @@@ ListViewScreen::ListViewScreen(QWidget 
      m_personalInfo->setTime("1 hour ago");
      m_personalInfo->setAddress("Kiviharjunlenkki 1E, 91910 Oulu");
  
 +    qDebug() << "InfoTab width: " << m_personalInfo->width();
 +    qDebug() << "InfoTab heigth: " << m_personalInfo->height();
  
-     m_locationDialog = new UpdateLocationDialog(this);
++//    m_locationDialog = new UpdateLocationDialog(this);
      m_widgetProxy = new QGraphicsProxyWidget();
      m_widgetProxy->setWidget(m_personalInfo);
  
@@@ -62,14 -62,12 +62,17 @@@ public slots
  /*******************************************************************************
   * DATA MEMBERS
   ******************************************************************************/
+ public:
+     InfoTab *m_personalInfo;    ///< Personal info tab
  private:
      QVBoxLayout *m_vbox;    ///< Holds the graphics view
-     InfoTab *m_personalInfo;    ///< Personal info tab
 -    Pixmap *m_arrowbutton;    ///< Button which reveals/hides the info tab when pressed
++//    InfoTab *m_personalInfo;    ///< Personal info tab
 +    Pixmap *m_leftSideBar;
 +    Pixmap *m_slidingLeftSideBar;
 +    Pixmap *m_personalInfoBackGround;
 +    Pixmap *m_arrowLeft;
 +    Pixmap *m_arrowRight;
      QGraphicsProxyWidget *m_widgetProxy; ///< Embeds InfoTab to graphics view
      QAbstractTransition *m_trans1;    ///< Animation transition from hidden state to visible
      QAbstractTransition *m_trans2;    ///< Animation transition from visible to hidden
      QPropertyAnimation *m_anim2;    ///< Animation for arrowbutton from hidden to visible
      QPropertyAnimation *m_anim3;    ///< Animation for infotab from visible to hidden
      QPropertyAnimation *m_anim4;    ///< Animation for arrowbutton from visible to hidden
 +    QPropertyAnimation *m_anim5;    ///< Animation
 +    QPropertyAnimation *m_anim6;    ///< Animation for arrowbutton from visible to hidden
 +    QPropertyAnimation *m_anim7;
 +    QPropertyAnimation *m_anim8;
 +    QPropertyAnimation *m_anim9;
-     UpdateLocationDialog *m_locationDialog; ///< Message dialog
++//    UpdateLocationDialog *m_locationDialog; ///< Message dialog
  };
  
  #endif // LISTVIEWTAB_H
Simple merge