libs/libksane/libksane
#include <selectionitem.h>
Public Types | |
enum | Intersects { None, Top, TopRight, Right, BottomRight, Bottom, BottomLeft, Left, TopLeft, Move, AddRemove } |
Public Member Functions | |
SelectionItem (QRectF rect) | |
~SelectionItem () | |
QRectF | boundingRect () const |
QPointF | fixTranslation (QPointF dp) |
Intersects | intersects (QPointF point) |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
QRectF | rect () |
void | saveZoom (qreal zoom) |
void | setMaxBottom (qreal maxBottom) |
void | setMaxRight (qreal maxRight) |
void | setRect (QRectF rect) |
void | setSaved (bool isSaved) |
Detailed Description
Definition at line 36 of file selectionitem.h.
Member Enumeration Documentation
Enumerator | |
---|---|
None | |
Top | |
TopRight | |
Right | |
BottomRight | |
Bottom | |
BottomLeft | |
Left | |
TopLeft | |
Move | |
AddRemove |
Definition at line 39 of file selectionitem.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 62 of file selectionitem.cpp.
KSaneIface::SelectionItem::~SelectionItem | ( | ) |
Definition at line 87 of file selectionitem.cpp.
Member Function Documentation
QRectF KSaneIface::SelectionItem::boundingRect | ( | ) | const |
Definition at line 217 of file selectionitem.cpp.
QPointF KSaneIface::SelectionItem::fixTranslation | ( | QPointF | dp | ) |
Definition at line 203 of file selectionitem.cpp.
SelectionItem::Intersects KSaneIface::SelectionItem::intersects | ( | QPointF | point | ) |
Definition at line 135 of file selectionitem.cpp.
void KSaneIface::SelectionItem::paint | ( | QPainter * | painter, |
const QStyleOptionGraphicsItem * | option, | ||
QWidget * | widget | ||
) |
Definition at line 238 of file selectionitem.cpp.
QRectF KSaneIface::SelectionItem::rect | ( | ) |
Definition at line 212 of file selectionitem.cpp.
void KSaneIface::SelectionItem::saveZoom | ( | qreal | zoom | ) |
Definition at line 92 of file selectionitem.cpp.
void KSaneIface::SelectionItem::setMaxBottom | ( | qreal | maxBottom | ) |
Definition at line 128 of file selectionitem.cpp.
void KSaneIface::SelectionItem::setMaxRight | ( | qreal | maxRight | ) |
Definition at line 121 of file selectionitem.cpp.
void KSaneIface::SelectionItem::setRect | ( | QRectF | rect | ) |
Definition at line 185 of file selectionitem.cpp.
void KSaneIface::SelectionItem::setSaved | ( | bool | isSaved | ) |
Definition at line 105 of file selectionitem.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:24 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.