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
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);
/*******************************************************************************
* 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