#include <widgets.h>
Public Member Functions |
|
| CurveEditor (QWidget *pParent=0, const char *sName=0, bool bNurbs=false) | |
| void | SelectCP (CPBox *pCP) |
| void | DeleteCP (void) |
| void | AddCP (float x, float y) |
| void | Init (void *pCurve=0) |
Public Attributes |
|
| int | m_iSnapDistance |
| bool | m_bReadOnly |
| bool | m_bNurbs |
| float | m_fGridSizeX |
| float | m_fGridSizeY |
| void * | m_pCurve |
Static Public Attributes |
|
| bool | s_bSnap |
Protected Member Functions |
|
| QSize | sizeHint (void) const |
| void | paintEvent (QPaintEvent *pe) |
| void | resizeEvent (QResizeEvent *pEvent) |
| void | mousePressEvent (QMouseEvent *pEvent) |
| void | mouseReleaseEvent (QMouseEvent *pEvent) |
| void | mouseMoveEvent (QMouseEvent *pEvent) |
| void | contextMenuEvent (QContextMenuEvent *pEvent) |
| int | CanvasToScreenX (float f) |
| int | CanvasToScreenY (float f) |
| float | ScreenToCanvasX (int i) |
| float | ScreenToCanvasY (int i) |
Protected Attributes |
|
| int | m_iCanvasWidth |
| int | m_iCanvasHeight |
| CPBox * | m_aBoxes [16] |
| CPBox * | m_pSelectedBox |
| Vector | m_vDragDistance |
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|