digiKam
Digikam::DSelectionItem Class Reference
+ Inheritance diagram for Digikam::DSelectionItem:

Public Types

enum  Intersects {
  None , Top , TopRight , Right ,
  BottomRight , Bottom , BottomLeft , Left ,
  TopLeft , Move
}
 

Public Member Functions

QRectF boundingRect () const override
 
 DSelectionItem (const QRectF &rect)
 
QPointF fixTranslation (QPointF dp) const
 
Intersects intersects (QPointF &point)
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
 
QRectF rect () const
 
void saveZoom (qreal zoom)
 
void setMaxBottom (qreal maxBottom)
 
void setMaxRight (qreal maxRight)
 
void setRect (const QRectF &rect)
 
 ~DSelectionItem () override
 

Member Enumeration Documentation

◆ Intersects

Enumerator
None 
Top 
TopRight 
Right 
BottomRight 
Bottom 
BottomLeft 
Left 
TopLeft 
Move 

Constructor & Destructor Documentation

◆ DSelectionItem()

Digikam::DSelectionItem::DSelectionItem ( const QRectF &  rect)
explicit

References rect(), and setRect().

◆ ~DSelectionItem()

Digikam::DSelectionItem::~DSelectionItem ( )
override

Member Function Documentation

◆ boundingRect()

QRectF Digikam::DSelectionItem::boundingRect ( ) const
override

◆ fixTranslation()

QPointF Digikam::DSelectionItem::fixTranslation ( QPointF  dp) const

◆ intersects()

DSelectionItem::Intersects Digikam::DSelectionItem::intersects ( QPointF &  point)

◆ paint()

void Digikam::DSelectionItem::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)
override

◆ rect()

QRectF Digikam::DSelectionItem::rect ( ) const

Referenced by DSelectionItem(), and setRect().

◆ saveZoom()

void Digikam::DSelectionItem::saveZoom ( qreal  zoom)

◆ setMaxBottom()

void Digikam::DSelectionItem::setMaxBottom ( qreal  maxBottom)

◆ setMaxRight()

void Digikam::DSelectionItem::setMaxRight ( qreal  maxRight)

◆ setRect()

void Digikam::DSelectionItem::setRect ( const QRectF &  rect)

References rect().

Referenced by DSelectionItem().


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