#include <HoverPoints.h>
Public Types | |
enum | PointShape { CircleShape, RectangleShape } |
enum | LockType { LockToLeft = 0x01, LockToRight = 0x02, LockToTop = 0x04, LockToBottom = 0x08 } |
enum | SortType { NoSort, XSort, YSort } |
enum | ConnectionType { NoConnection, LineConnection, CurveConnection } |
Public Slots | |
void | setEnabled (bool enabled) |
void | setDisabled (bool disabled) |
Signals | |
void | pointsChanged (const QPolygonF &points) |
Public Member Functions | |
HoverPoints (QWidget *widget, PointShape shape) | |
bool | eventFilter (QObject *object, QEvent *event) |
void | paintPoints () |
QPolygonF | points () const |
void | setPoints (const QPolygonF &points) |
QVector< QColor > | colors () |
QSizeF | pointSize () const |
void | setPointSize (const QSizeF &size) |
SortType | sortType () const |
void | setSortType (SortType sortType) |
ConnectionType | connectionType () const |
void | setConnectionType (ConnectionType connectionType) |
void | setConnectionPen (const QPen &pen) |
void | setShapePen (const QPen &pen) |
void | setShapeBrush (const QBrush &brush) |
void | setPointLock (int pos, LockType lock) |
void | setEditable (bool editable) |
bool | editable () const |
void | firePointChange () |
HoverPoints::HoverPoints | ( | QWidget * | widget, | |
PointShape | shape | |||
) |
QVector<QColor> HoverPoints::colors | ( | ) | [inline] |
ConnectionType HoverPoints::connectionType | ( | ) | const [inline] |
bool HoverPoints::editable | ( | ) | const [inline] |
bool HoverPoints::eventFilter | ( | QObject * | object, | |
QEvent * | event | |||
) |
void HoverPoints::firePointChange | ( | ) |
void HoverPoints::paintPoints | ( | ) |
QPolygonF HoverPoints::points | ( | ) | const [inline] |
void HoverPoints::pointsChanged | ( | const QPolygonF & | points | ) | [signal] |
QSizeF HoverPoints::pointSize | ( | ) | const [inline] |
void HoverPoints::setConnectionPen | ( | const QPen & | pen | ) | [inline] |
void HoverPoints::setConnectionType | ( | ConnectionType | connectionType | ) | [inline] |
void HoverPoints::setDisabled | ( | bool | disabled | ) | [inline, slot] |
void HoverPoints::setEditable | ( | bool | editable | ) | [inline] |
void HoverPoints::setEnabled | ( | bool | enabled | ) | [slot] |
void HoverPoints::setPointLock | ( | int | pos, | |
LockType | lock | |||
) | [inline] |
void HoverPoints::setPoints | ( | const QPolygonF & | points | ) |
void HoverPoints::setPointSize | ( | const QSizeF & | size | ) | [inline] |
void HoverPoints::setShapeBrush | ( | const QBrush & | brush | ) | [inline] |
void HoverPoints::setShapePen | ( | const QPen & | pen | ) | [inline] |
void HoverPoints::setSortType | ( | SortType | sortType | ) | [inline] |
SortType HoverPoints::sortType | ( | ) | const [inline] |