1 #ifndef MEETPEOPLEPANEL_H
2 #define MEETPEOPLEPANEL_H
6 #include "situareservice/message.h"
12 class MessageListView;
15 class MeetPeoplePanel : public PanelBase
21 * @brief Default constructor
25 MeetPeoplePanel(QWidget *parent = 0);
29 * @brief Slot to update friend item's image
33 void friendImageReady(User *user);
36 * @brief Populates interesting people list view.
38 * @param interestingPeople list of interesting people
40 void populateInterestingPeopleListView(QList<User *> &interestingPeople);
43 * @brief Populates message list view.
45 * @param messages list of user messages
47 void populateMessageListView(QList<Message> &messages);
51 * @brief Sets chat button disabled.
53 * Disabled if there isn't any list item selected.
55 void setChatButtonDisabled();
59 * @brief Requests interesting people from current map viewport.
61 * Interesting people is defined by people with same tags as user has.
63 void requestInterestingPeople();
66 FriendListView *m_interestingPeopleListView;///< Interesting people list view
67 MessageListView *m_messageListView; ///< Message list view
68 ImageButton *m_chatButton; ///< Chat button
71 #endif // MEETPEOPLEPANEL_H