Public Slots | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
UImageView Class Reference

#include <UImageView.h>

Inheritance diagram for UImageView:
Inheritance graph
[legend]

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_
 

Detailed Description

Definition at line 16 of file UImageView.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

void UImageView::computeScaleOffsets ( float &  scale,
float &  offsetX,
float &  offsetY 
)
inlineprivate

Definition at line 32 of file UImageView.h.

virtual void UImageView::paintEvent ( QPaintEvent *  event)
inlineprotectedvirtual

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)
inlineslot

Definition at line 25 of file UImageView.h.

Member Data Documentation

QBrush UImageView::brush_
private

Definition at line 94 of file UImageView.h.

QPixmap UImageView::pixmap_
private

Definition at line 93 of file UImageView.h.


The documentation for this class was generated from the following file:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:08