Workspace 7.1.0
Signals | Public Member Functions | Protected Member Functions | List of all members
ImageTileItem Class Reference

#include <DataAnalysis/Widgets/ImageTileView/imagetileitem.h>

Inherits QObject, and QGraphicsPixmapItem.

Signals

void tileClicked (const ImageTileClickEvent &clickEvent)
 

Public Member Functions

 ImageTileItem (const ImageTileItem &other)=delete
 
 ImageTileItem (int x, int y, QGraphicsItem *parent=nullptr)
 
 ~ImageTileItem () override
 
QRectF getTransfomedBoundingRect () const
 
ImageTileItemoperator= (const ImageTileItem &rhs)=delete
 
void setImage (const QImage &image)
 
void setImage (const QString &fileName)
 

Protected Member Functions

void mousePressEvent (QGraphicsSceneMouseEvent *event) override
 

Constructor & Destructor Documentation

◆ ImageTileItem() [1/2]

ImageTileItem ( int  x,
int  y,
QGraphicsItem *  parent = nullptr 
)

◆ ~ImageTileItem()

~ImageTileItem ( )
override

◆ ImageTileItem() [2/2]

ImageTileItem ( const ImageTileItem other)
delete

Member Function Documentation

◆ getTransfomedBoundingRect()

QRectF getTransfomedBoundingRect ( ) const

◆ mousePressEvent()

void mousePressEvent ( QGraphicsSceneMouseEvent *  event)
overrideprotected

◆ operator=()

ImageTileItem & operator= ( const ImageTileItem rhs)
delete

◆ setImage() [1/2]

void setImage ( const QImage image)

◆ setImage() [2/2]

void setImage ( const QString &  fileName)

◆ tileClicked

void tileClicked ( const ImageTileClickEvent clickEvent)
signal