The screen in which all Friends are displayed. More...
#include <Friendscreen.h>
Signals | |
| void | focusFriend (QAbstractButton *fpb) |
| void | focusFriendAndMe (QAbstractButton *fpb) |
Public Member Functions | |
| FriendScreen (Friend *f, QHash< QString, Friend * > fl, QWidget *parent=0) | |
| Construct a FriendScreen object. | |
| void | updateFriends (Friend *f, QHash< QString, Friend * > fl) |
| update the user and friend information | |
| void | addFriends (Friend *f, QHash< QString, Friend * > fl) |
| void | removeFriends () |
| void | setSize (int w, int h) |
| Set the Size of the screen. | |
| void | setStatus (QString txt) |
| Display a status message on this screen. | |
| QPushButton * | getBackButton () |
| Get a pointer to the Back Button. | |
| QListWidget * | getListWidget () |
| QHash< int, Friend * > | getFriendIndexHash () |
| Get the friend Index hash which is used to map the friend's offset in the visual element to his pointer. | |
Public Attributes | |
| QHash< QString, QPushButton * > | pbl |
The screen in which all Friends are displayed.
Construct a FriendScreen object.
| f | is a pointer to the user | |
| fl | is a pointer to the friend list |
Add the user an his friends to the Visual Element
| me | is a pointer to the user | |
| fl | is a pointer to the friendlist |
| QPushButton * FriendScreen::getBackButton | ( | ) |
Get a pointer to the Back Button.
| QHash< int, Friend * > FriendScreen::getFriendIndexHash | ( | ) |
Get the friend Index hash which is used to map the friend's offset in the visual element to his pointer.
| QListWidget * FriendScreen::getListWidget | ( | ) |
Get a pointer to the list Widget
| void FriendScreen::removeFriends | ( | ) |
brief Remove all people from the visual element
update the user and friend information
| f | a pointer to the user | |
| fl | a pointer to the friend list |
1.6.3