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::UImageView ( QWidget *  parent = 0)
inline

Definition at line 20 of file UImageView.h.

◆ ~UImageView()

UImageView::~UImageView ( )
inline

Definition at line 21 of file UImageView.h.

Member Function Documentation

◆ computeScaleOffsets()

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

Definition at line 32 of file UImageView.h.

◆ paintEvent()

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

Definition at line 69 of file UImageView.h.

◆ setBackgroundBrush()

void UImageView::setBackgroundBrush ( const QBrush &  brush)
inline

Definition at line 22 of file UImageView.h.

◆ setImage

void UImageView::setImage ( const QImage &  image)
inlineslot

Definition at line 25 of file UImageView.h.

Member Data Documentation

◆ brush_

QBrush UImageView::brush_
private

Definition at line 94 of file UImageView.h.

◆ pixmap_

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 Thu Jul 25 2024 02:50:26