#include "gradients.h"
#include "hoverpoints.h"
Include dependency graph for gradients.cpp:

Go to the source code of this file.
Functions | |
| static bool | x_less_than (const QPointF &p1, const QPointF &p2) |
| static void | set_shade_points (const QPolygonF &points, ShadeWidget *shade) |
| static void set_shade_points | ( | const QPolygonF & | points, | |
| ShadeWidget * | shade | |||
| ) | [static] |
Definition at line 223 of file gradients.cpp.
References ShadeWidget::hoverPoints(), HoverPoints::LockToLeft, HoverPoints::LockToRight, HoverPoints::setPointLock(), HoverPoints::setPoints(), QVector< T >::size(), and QWidget::update().
Referenced by GradientEditor::setGradientStops().
00224 { 00225 shade->hoverPoints()->setPoints(points); 00226 shade->hoverPoints()->setPointLock(0, HoverPoints::LockToLeft); 00227 shade->hoverPoints()->setPointLock(points.size() - 1, HoverPoints::LockToRight); 00228 shade->update(); 00229 }
Here is the call graph for this function:

Definition at line 181 of file gradients.cpp.
References QPointF::x().
Referenced by HoverPoints::firePointChange(), and GradientEditor::pointsUpdated().
Here is the call graph for this function:

1.5.1