|
GOFIGURE2
0.9.0
|
#include <Code/GUI/lib/TransferFunctionEditor/hoverpoints.h>
Public Types | |
| enum | ConnectionType { NoConnection, LineConnection, CurveConnection } |
| enum | LockType { LockToLeft = 0x01, LockToRight = 0x02, LockToTop = 0x04, LockToBottom = 0x08 } |
| enum | PointShape { CircleShape, RectangleShape } |
| enum | SortType { NoSort, XSort, YSort } |
Public Slots | |
| void | setEnabled (bool enabled) |
Signals | |
| void | pointsChanged (const QPolygonF &points) |
Public Member Functions | |
| QRectF | boundingRect () const |
| ConnectionType | connectionType () const |
| bool | editable () const |
| bool | eventFilter (QObject *object, QEvent *event) |
| void | firePointChange () |
| HoverPoints (QWidget *widget, PointShape shape) | |
| void | paintPoints () |
| QPolygonF | points () const |
| QSizeF | pointSize () const |
| void | setBoundingRect (const QRectF &boundingRect) |
| void | setConnectionPen (const QPen &pen) |
| void | setConnectionType (ConnectionType connectionType) |
| void | setEditable (bool editable) |
| void | setPointLock (int pos, LockType lock) |
| void | setPoints (const QPolygonF &points) |
| void | setPointSize (const QSizeF &size) |
| void | setShapeBrush (const QBrush &brush) |
| void | setShapePen (const QPen &pen) |
| void | setSortType (SortType sortType) |
| SortType | sortType () const |
Public Member Functions inherited from QObject | |
| bool | blockSignals (bool block) |
| QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
| const QObjectList & | children () const |
| const char * | className () const |
| bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
| void | deleteLater () |
| void | destroyed (QObject *obj) |
| bool | disconnect (const QObject *receiver, const char *method) |
| bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
| void | dumpObjectInfo () |
| void | dumpObjectTree () |
| QList< QByteArray > | dynamicPropertyNames () const |
| virtual bool | event (QEvent *e) |
| T | findChild (const QString &name) const |
| QList< T > | findChildren (const QRegExp ®Exp) const |
| QList< T > | findChildren (const QString &name) const |
| bool | inherits (const char *className) const |
| void | insertChild (QObject *object) |
| void | installEventFilter (QObject *filterObj) |
| bool | isA (const char *className) const |
| bool | isWidgetType () const |
| void | killTimer (int id) |
| virtual const QMetaObject * | metaObject () const |
| void | moveToThread (QThread *targetThread) |
| const char * | name () const |
| const char * | name (const char *defaultName) const |
| QString | objectName () const |
| QObject * | parent () const |
| QVariant | property (const char *name) const |
| QObject (QObject *parent) | |
| QObject (QObject *parent, const char *name) | |
| void | removeChild (QObject *object) |
| void | removeEventFilter (QObject *obj) |
| void | setName (const char *name) |
| void | setObjectName (const QString &name) |
| void | setParent (QObject *parent) |
| bool | setProperty (const char *name, const QVariant &value) |
| bool | signalsBlocked () const |
| int | startTimer (int interval) |
| QThread * | thread () const |
| virtual | ~QObject () |
Private Member Functions | |
| void | movePoint (int i, const QPointF &newPos, bool emitChange=true) |
| QRectF | pointBoundingRect (int i) const |
Private Attributes | |
| QRectF | m_bounds |
| QPen | m_connectionPen |
| ConnectionType | m_connectionType |
| int | m_currentIndex |
| bool | m_editable |
| bool | m_enabled |
| QHash< int, int > | m_fingerPointMapping |
| QVector< uint > | m_locks |
| double | m_oldSize [2] |
| QBrush | m_pointBrush |
| QPen | m_pointPen |
| QPolygonF | m_points |
| QSizeF | m_pointSize |
| PointShape | m_shape |
| SortType | m_sortType |
| QWidget * | m_widget |
Additional Inherited Members | |
Static Public Member Functions inherited from QObject | |
| bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
| bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
| bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
| bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
| QString | tr (const char *sourceText, const char *disambiguation, int n) |
| QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Protected Member Functions inherited from QObject | |
| bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
| virtual void | childEvent (QChildEvent *event) |
| virtual void | connectNotify (const char *signal) |
| virtual void | customEvent (QEvent *event) |
| virtual void | disconnectNotify (const char *signal) |
| int | receivers (const char *signal) const |
| QObject * | sender () const |
| int | senderSignalIndex () const |
| virtual void | timerEvent (QTimerEvent *event) |
Static Protected Member Functions inherited from QObject | |
| QByteArray | normalizeSignalSlot (const char *signalSlot) |
Properties inherited from QObject | |
| objectName | |
Definition at line 83 of file hoverpoints.h.
| Enumerator | |
|---|---|
| NoConnection | |
| LineConnection | |
| CurveConnection | |
Definition at line 105 of file hoverpoints.h.
| Enumerator | |
|---|---|
| LockToLeft | |
| LockToRight | |
| LockToTop | |
| LockToBottom | |
Definition at line 92 of file hoverpoints.h.
| Enumerator | |
|---|---|
| CircleShape | |
| RectangleShape | |
Definition at line 87 of file hoverpoints.h.
| Enumerator | |
|---|---|
| NoSort | |
| XSort | |
| YSort | |
Definition at line 99 of file hoverpoints.h.
| HoverPoints::HoverPoints | ( | QWidget * | widget, |
| PointShape | shape | ||
| ) |
Definition at line 84 of file hoverpoints.cpp.
|
inline |
Definition at line 189 of file hoverpoints.h.
|
inline |
Definition at line 129 of file hoverpoints.h.
|
inline |
Definition at line 139 of file hoverpoints.h.
Reimplemented from QObject.
Definition at line 124 of file hoverpoints.cpp.
| void HoverPoints::firePointChange | ( | ) |
Definition at line 415 of file hoverpoints.cpp.
|
private |
Definition at line 396 of file hoverpoints.cpp.
| void HoverPoints::paintPoints | ( | ) |
Definition at line 336 of file hoverpoints.cpp.
|
inlineprivate |
Definition at line 179 of file hoverpoints.h.
|
inline |
Definition at line 120 of file hoverpoints.h.
|
signal |
|
inline |
Definition at line 123 of file hoverpoints.h.
|
inline |
Definition at line 118 of file hoverpoints.h.
|
inline |
Definition at line 132 of file hoverpoints.h.
|
inline |
Definition at line 130 of file hoverpoints.h.
|
inline |
Definition at line 138 of file hoverpoints.h.
|
slot |
Definition at line 115 of file hoverpoints.cpp.
|
inline |
Definition at line 136 of file hoverpoints.h.
| void HoverPoints::setPoints | ( | const QPolygonF & | points | ) |
Definition at line 379 of file hoverpoints.cpp.
|
inline |
Definition at line 124 of file hoverpoints.h.
|
inline |
Definition at line 134 of file hoverpoints.h.
|
inline |
Definition at line 133 of file hoverpoints.h.
|
inline |
Definition at line 127 of file hoverpoints.h.
|
inline |
Definition at line 126 of file hoverpoints.h.
|
private |
Definition at line 157 of file hoverpoints.h.
|
private |
Definition at line 173 of file hoverpoints.h.
|
private |
Definition at line 160 of file hoverpoints.h.
|
private |
Definition at line 165 of file hoverpoints.h.
|
private |
Definition at line 166 of file hoverpoints.h.
|
private |
Definition at line 167 of file hoverpoints.h.
|
private |
Definition at line 169 of file hoverpoints.h.
|
private |
Definition at line 162 of file hoverpoints.h.
|
private |
Definition at line 175 of file hoverpoints.h.
|
private |
Definition at line 172 of file hoverpoints.h.
|
private |
Definition at line 171 of file hoverpoints.h.
|
private |
Definition at line 156 of file hoverpoints.h.
|
private |
Definition at line 164 of file hoverpoints.h.
|
private |
Definition at line 158 of file hoverpoints.h.
|
private |
Definition at line 159 of file hoverpoints.h.
|
private |
Definition at line 154 of file hoverpoints.h.
1.8.5