AvatarImage class creates avatar images. More...
#include "ui/avatarimage.h"
Public Types | |
| enum | ImageHeight { Large = 100, Small = 50 } |
ImageHeight used to separate friend and user images in function calls. | |
Static Public Member Functions | |
| static QPixmap | create (const QPixmap &image, ImageHeight height) |
| Create avatar image from pixmap. | |
AvatarImage class creates avatar images.
| QPixmap AvatarImage::create | ( | const QPixmap & | image, | |
| ImageHeight | height | |||
| ) | [static] |
Create avatar image from pixmap.
| image | image to use in avatar image | |
| height | used to scale image |
1.6.1