|
Engauge Digitizer
2
|
Background image state for showing filter image from current curve. More...
#include <BackgroundStateCurve.h>


Public Member Functions | |
| BackgroundStateCurve (BackgroundStateContext &context, GraphicsScene &scene) | |
| Single constructor. More... | |
| virtual void | begin () |
| Method that is called at the exact moment a state is entered. Typically called just after end for the previous state. More... | |
| virtual void | end () |
| Method that is called at the exact moment a state is exited. Typically called just before begin for the next state. More... | |
| virtual void | fitInView (GraphicsView &view) |
| Zoom so background fills the window. More... | |
| virtual void | setCurveSelected (bool isGnuplot, const Transformation &transformation, const DocumentModelGridRemoval &modelGridRemoval, const DocumentModelColorFilter &colorFilter, const QString &curveSelected) |
| Update the currently selected curve name. More... | |
| virtual void | setPixmap (bool isGnuplot, const Transformation &transformation, const DocumentModelGridRemoval &modelGridRemoval, const DocumentModelColorFilter &modelColorFilter, const QPixmap &pixmapOriginal, const QString &curveSelected) |
| Update the image for this state, after the leaf class processes it appropriately. More... | |
| virtual QString | state () const |
| State name for debugging. More... | |
| virtual void | updateColorFilter (bool isGnuplot, const Transformation &transformation, const DocumentModelGridRemoval &modelGridRemoval, const DocumentModelColorFilter &colorFilter, const QString &curveSelected) |
| Apply color filter settings. More... | |
Public Member Functions inherited from BackgroundStateAbstractBase | |
| BackgroundStateAbstractBase (BackgroundStateContext &context, GraphicsScene &scene) | |
| Single constructor. More... | |
| virtual | ~BackgroundStateAbstractBase () |
| BackgroundStateContext & | context () |
| Reference to the BackgroundStateContext that contains all the BackgroundStateAbstractBase subclasses, without const. More... | |
| const BackgroundStateContext & | context () const |
| Reference to the BackgroundStateContext that contains all the BackgroundStateAbstractBase subclasses, without const. More... | |
| QImage | image () const |
| Image for the current state. More... | |
| QGraphicsPixmapItem & | imageItem () const |
| Graphics image item for the current state. More... | |
| GraphicsScene & | scene () |
| Reference to the GraphicsScene, without const. More... | |
| const GraphicsScene & | scene () const |
| Reference to the GraphicsScene, without const. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from BackgroundStateAbstractBase | |
| void | setImageVisible (bool visible) |
| Show/hide background image. More... | |
| void | setProcessedPixmap (const QPixmap &pixmap) |
| Save the image for this state after it has been processed by the leaf class. More... | |
Background image state for showing filter image from current curve.
Definition at line 13 of file BackgroundStateCurve.h.
| BackgroundStateCurve::BackgroundStateCurve | ( | BackgroundStateContext & | context, |
| GraphicsScene & | scene | ||
| ) |
Single constructor.
Definition at line 18 of file BackgroundStateCurve.cpp.
|
virtual |
Method that is called at the exact moment a state is entered. Typically called just after end for the previous state.
Implements BackgroundStateAbstractBase.
Definition at line 25 of file BackgroundStateCurve.cpp.
|
virtual |
Method that is called at the exact moment a state is exited. Typically called just before begin for the next state.
Implements BackgroundStateAbstractBase.
Definition at line 32 of file BackgroundStateCurve.cpp.
|
virtual |
Zoom so background fills the window.
Implements BackgroundStateAbstractBase.
Definition at line 39 of file BackgroundStateCurve.cpp.
|
virtual |
Update the currently selected curve name.
Implements BackgroundStateAbstractBase.
Definition at line 76 of file BackgroundStateCurve.cpp.
|
virtual |
Update the image for this state, after the leaf class processes it appropriately.
Implements BackgroundStateAbstractBase.
Definition at line 94 of file BackgroundStateCurve.cpp.
|
virtual |
State name for debugging.
Implements BackgroundStateAbstractBase.
Definition at line 111 of file BackgroundStateCurve.cpp.
|
virtual |
Apply color filter settings.
Implements BackgroundStateAbstractBase.
Definition at line 116 of file BackgroundStateCurve.cpp.
1.8.14