2 Situare - A location system for Facebook
3 Copyright (C) 2010 Ixonos Plc. Authors:
5 Kaj Wallin - kaj.wallin@ixonos.com
6 Jukka Saastamoinen - jukka.saastamoinen@ixonos.com
8 Situare is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License
10 version 2 as published by the Free Software Foundation.
12 Situare is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with Situare; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
30 #include "updatelocation/updatelocationdialog.h"
36 * @brief List View class. Used for displaying List of friends
38 * @class ListViewScreen mainwindow.h "src/ui/mainwindow.h"
40 class ListViewScreen : public QWidget
47 * @param parent Parent
49 ListViewScreen(QWidget *parent = 0);
56 /*******************************************************************************
57 * MEMBER FUNCTIONS AND SLOTS
58 ******************************************************************************/
61 * @brief Slot to open Location update dialog
66 * @brief Slot for new user and friend data.
68 * @param user User object
69 * @param friends list of User objects
71 void userDataChanged(User* user,QList<User*>& friends);
75 * @brief Signal for progress bar indicator toggling.
77 * @param state true if progress bar should be shown, false otherwise
79 void toggleProgressIndicator(bool state);
81 /*******************************************************************************
83 ******************************************************************************/
85 InfoTab *m_personalInfo; ///< Personal info tab
88 QVBoxLayout *m_vbox; ///< Holds the graphics view
89 Pixmap *m_arrowbutton; ///< Button which reveals/hides the info tab when pressed
90 Pixmap *m_leftSideBar;
91 Pixmap *m_slidingLeftSideBar;
92 Pixmap *m_personalInfoBackGround;
95 QGraphicsProxyWidget *m_widgetProxy; ///< Embeds InfoTab to graphics view
96 QAbstractTransition *m_trans1; ///< Animation transition from hidden state to visible
97 QAbstractTransition *m_trans2; ///< Animation transition from visible to hidden
98 QPropertyAnimation *m_anim1; ///< Animation for infotab from hidden to visible
99 QPropertyAnimation *m_anim2; ///< Animation for arrowbutton from hidden to visible
100 QPropertyAnimation *m_anim3; ///< Animation for infotab from visible to hidden
101 QPropertyAnimation *m_anim4; ///< Animation for arrowbutton from visible to hidden
102 QPropertyAnimation *m_anim5; ///< Animation
103 QPropertyAnimation *m_anim6; ///< Animation for arrowbutton from visible to hidden
104 QPropertyAnimation *m_anim7;
105 QPropertyAnimation *m_anim8;
106 QPropertyAnimation *m_anim9;
107 QPropertyAnimation *m_anim10;
108 QPropertyAnimation *m_anim11;
109 QPropertyAnimation *m_anim12;
110 QPropertyAnimation *m_anim13;
111 QPropertyAnimation *m_anim14;
112 UpdateLocationDialog *m_locationDialog; ///< Message dialog
114 FriendListView *m_friendListView; ///< Friend list view
117 #endif // LISTVIEWTAB_H