25 #ifndef DIGIKAM_FOCUSPOINT_H
26 #define DIGIKAM_FOCUSPOINT_H
31 #include <QStringList>
34 #include <QExplicitlySharedDataPointer>
63 FocusPoint(
float x_position,
float y_position,
float width,
float height, TypePoint type);
64 FocusPoint(
float x_position,
float y_position,
float width,
float height);
78 void setType(TypePoint type);
79 TypePoint getType()
const;
80 QString getTypeDescription()
const;
85 void setCenterPosition(
float x_position,
float y_position);
86 void setSize(
float width,
float height);
87 void setRect(
const QRectF& rectF);
88 QPointF getCenterPosition()
const;
89 QSizeF getSize()
const;
90 QRectF getRect()
const;
95 QRect getRectBySize(
const QSize& size)
const;
100 QExplicitlySharedDataPointer<Private> d;
118 return (type1 = type1 | type2);
123 return (type1 = type1 & type2);
127 DIGIKAM_EXPORT QDebug
operator<<(QDebug dbg,
const FocusPoint& fp);
Definition: focuspoint.h:45
TypePoint
Definition: focuspoint.h:49
Definition: datefolderview.cpp:43
QDebug operator<<(QDebug dbg, const DbEngineParameters &p)
Definition: dbengineparameters.cpp:863
FocusPoint::TypePoint operator&(FocusPoint::TypePoint type1, FocusPoint::TypePoint type2)
Definition: focuspoint.h:111
FocusPoint::TypePoint & operator|=(FocusPoint::TypePoint &type1, FocusPoint::TypePoint type2)
Definition: focuspoint.h:116
FocusPoint::TypePoint operator|(FocusPoint::TypePoint type1, FocusPoint::TypePoint type2)
Definition: focuspoint.h:106
FocusPoint::TypePoint & operator&=(FocusPoint::TypePoint &type1, FocusPoint::TypePoint type2)
Definition: focuspoint.h:121