|
Kinetic Visualization (Visualisierung 2 - S2012)
|
Hoverpoints for manipulating the transfer function (external from a Qt demo) More...
#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 () |
| QRectF | boundingRect () const |
| void | setBoundingRect (const QRectF &boundingRect) |
| QPolygonF | points () const |
| void | setPoints (const QPolygonF &points) |
| 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 () |
Private Member Functions | |
| QRectF | pointBoundingRect (int i) const |
| void | movePoint (int i, const QPointF &newPos, bool emitChange=true) |
Private Attributes | |
| QWidget * | m_widget |
| QPolygonF | m_points |
| QRectF | m_bounds |
| PointShape | m_shape |
| SortType | m_sortType |
| ConnectionType | m_connectionType |
| QVector< uint > | m_locks |
| QSizeF | m_pointSize |
| int | m_currentIndex |
| bool | m_editable |
| bool | m_enabled |
| QHash< int, int > | m_fingerPointMapping |
| QPen | m_pointPen |
| QBrush | m_pointBrush |
| QPen | m_connectionPen |
Hoverpoints for manipulating the transfer function (external from a Qt demo)
| HoverPoints::HoverPoints | ( | QWidget * | widget, |
| PointShape | shape | ||
| ) |
|
inline |
|
inline |
|
inline |
| bool HoverPoints::eventFilter | ( | QObject * | object, |
| QEvent * | event | ||
| ) |
| void HoverPoints::firePointChange | ( | ) |
|
private |
| void HoverPoints::paintPoints | ( | ) |
|
inlineprivate |
|
inline |
|
signal |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineslot |
|
inline |
|
slot |
|
inline |
| void HoverPoints::setPoints | ( | const QPolygonF & | points | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.1