#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 14 of file UImageView.h.
UImageView::UImageView | ( | QWidget * | parent = 0 | ) | [inline] |
Definition at line 18 of file UImageView.h.
UImageView::~UImageView | ( | ) | [inline] |
Definition at line 19 of file UImageView.h.
void UImageView::computeScaleOffsets | ( | float & | scale, |
float & | offsetX, | ||
float & | offsetY | ||
) | [inline, private] |
Definition at line 30 of file UImageView.h.
virtual void UImageView::paintEvent | ( | QPaintEvent * | event | ) | [inline, protected, virtual] |
Definition at line 67 of file UImageView.h.
void UImageView::setBackgroundBrush | ( | const QBrush & | brush | ) | [inline] |
Definition at line 20 of file UImageView.h.
void UImageView::setImage | ( | const QImage & | image | ) | [inline, slot] |
Definition at line 23 of file UImageView.h.
QBrush UImageView::brush_ [private] |
Definition at line 92 of file UImageView.h.
QPixmap UImageView::pixmap_ [private] |
Definition at line 91 of file UImageView.h.