Engauge Digitizer
2
|
Divider that can be dragged, in a dialog QGraphicsView. More...
#include <ViewProfileDivider.h>
Signals | |
void | signalMovedLow (double xSceneOther) |
Signal used when divider is dragged and m_isLowerBoundary is true. | |
void | signalMovedHigh (double xSceneOther) |
Signal used when divider is dragged and m_isLowerBoundary is false. | |
Public Member Functions | |
ViewProfileDivider (QGraphicsScene &scene, QGraphicsView &view, int sceneWidth, int sceneHeight, int yCenter, bool isLowerBoundary) | |
Single constructor. | |
virtual QVariant | itemChange (GraphicsItemChange change, const QVariant &value) |
Intercept changes so divider movement can be restricted to horizontal direction only. | |
virtual void | mousePressEvent (QGraphicsSceneMouseEvent *event) |
Save paddle position at start of click-and-drag. | |
void | setX (double x, double xLow, double xHigh) |
Set the position by specifying the new x coordinate. | |
Divider that can be dragged, in a dialog QGraphicsView.
Click on the paddle to drag. There are three parts:
Definition at line 23 of file ViewProfileDivider.h.