This widget handles the gradient stops above the transfer function.
More...
#include <GradientStopWidget.h>
List of all members.
Private Attributes |
| QGradientStops | _stops |
| | Our gradient stops.
|
| int | _moveIdx |
| | The point which is gonna to be moved (dragged)
|
Detailed Description
This widget handles the gradient stops above the transfer function.
Constructor & Destructor Documentation
| GradientStopWidget::GradientStopWidget |
( |
QWidget * |
parent | ) |
|
| GradientStopWidget::~GradientStopWidget |
( |
void |
| ) |
|
Member Function Documentation
| void GradientStopWidget::fireChanged |
( |
| ) |
|
|
private |
| QGradientStops GradientStopWidget::getGradientStops |
( |
| ) |
|
|
inline |
Returns all gradient stops
| void GradientStopWidget::gradientChanged |
( |
const QGradientStops & |
stops | ) |
|
|
signal |
| void GradientStopWidget::insertPoint |
( |
int |
x | ) |
|
|
private |
| void GradientStopWidget::mouseDoubleClickEvent |
( |
QMouseEvent * |
ev | ) |
|
| void GradientStopWidget::mouseMoveEvent |
( |
QMouseEvent * |
ev | ) |
|
| void GradientStopWidget::mousePressEvent |
( |
QMouseEvent * |
ev | ) |
|
| void GradientStopWidget::mouseReleaseEvent |
( |
QMouseEvent * |
ev | ) |
|
| void GradientStopWidget::paintEvent |
( |
QPaintEvent * |
ev | ) |
|
| int GradientStopWidget::pointNearCoordinate |
( |
int |
x | ) |
|
|
private |
| void GradientStopWidget::removePoint |
( |
int |
idx | ) |
|
|
private |
| void GradientStopWidget::setGradientStops |
( |
const QGradientStops & |
stops | ) |
|
| QSize GradientStopWidget::sizeHint |
( |
| ) |
const |
|
inline |
| void GradientStopWidget::startMovePoint |
( |
int |
idx | ) |
|
|
private |
| void GradientStopWidget::stopMovePoint |
( |
int |
x | ) |
|
|
private |
Member Data Documentation
| int GradientStopWidget::_moveIdx |
|
private |
The point which is gonna to be moved (dragged)
| QGradientStops GradientStopWidget::_stops |
|
private |
The documentation for this class was generated from the following files: