#include <UImageView.h>
Public Slots | |
void | setImage (const QImage &image) |
Public Member Functions | |
void | setBackgroundBrush (const QBrush &brush) |
UImageView (QWidget *parent=0) | |
~UImageView () | |
Protected Member Functions | |
virtual void | paintEvent (QPaintEvent *event) |
Private Member Functions | |
void | computeScaleOffsets (float &scale, float &offsetX, float &offsetY) |
Private Attributes | |
QBrush | brush_ |
QPixmap | pixmap_ |
Definition at line 16 of file UImageView.h.
UImageView::UImageView | ( | QWidget * | parent = 0 | ) | [inline] |
Definition at line 20 of file UImageView.h.
UImageView::~UImageView | ( | ) | [inline] |
Definition at line 21 of file UImageView.h.
void UImageView::computeScaleOffsets | ( | float & | scale, |
float & | offsetX, | ||
float & | offsetY | ||
) | [inline, private] |
Definition at line 32 of file UImageView.h.
virtual void UImageView::paintEvent | ( | QPaintEvent * | event | ) | [inline, protected, virtual] |
Definition at line 69 of file UImageView.h.
void UImageView::setBackgroundBrush | ( | const QBrush & | brush | ) | [inline] |
Definition at line 22 of file UImageView.h.
void UImageView::setImage | ( | const QImage & | image | ) | [inline, slot] |
Definition at line 25 of file UImageView.h.
QBrush UImageView::brush_ [private] |
Definition at line 94 of file UImageView.h.
QPixmap UImageView::pixmap_ [private] |
Definition at line 93 of file UImageView.h.