Engauge Digitizer
2
|
Background image state for interval between startup and loading of the image. More...
#include <BackgroundStateUnloaded.h>
Public Member Functions | |
BackgroundStateUnloaded (BackgroundStateContext &context, GraphicsScene &scene) | |
Single constructor. | |
virtual void | begin () |
Method that is called at the exact moment a state is entered. Typically called just after end for the previous state. | |
virtual void | end () |
Method that is called at the exact moment a state is exited. Typically called just before begin for the next state. | |
virtual void | fitInView (GraphicsView &view) |
Zoom so background fills the window. | |
virtual void | setCurveSelected (const Transformation &transformation, const DocumentModelGridRemoval &modelGridRemoval, const DocumentModelColorFilter &colorFilter, const QString &curveSelected) |
Update the currently selected curve name. | |
virtual void | setPixmap (const Transformation &transformation, const DocumentModelGridRemoval &modelGridRemoval, const DocumentModelColorFilter &modelColorFilter, const QPixmap &pixmap, const QString &curveSelected) |
Update the image for this state, after the leaf class processes it appropriately. | |
virtual QString | state () const |
State name for debugging. | |
virtual void | updateColorFilter (const Transformation &transformation, const DocumentModelGridRemoval &modelGridRemoval, const DocumentModelColorFilter &colorFilter, const QString &curveSelected) |
Apply color filter settings. | |
![]() | |
BackgroundStateAbstractBase (BackgroundStateContext &context, GraphicsScene &scene) | |
Single constructor. | |
BackgroundStateContext & | context () |
Reference to the BackgroundStateContext that contains all the BackgroundStateAbstractBase subclasses, without const. | |
const BackgroundStateContext & | context () const |
Reference to the BackgroundStateContext that contains all the BackgroundStateAbstractBase subclasses, without const. | |
QImage | image () const |
Image for the current state. | |
QGraphicsPixmapItem & | imageItem () const |
Graphics image item for the current state. | |
GraphicsScene & | scene () |
Reference to the GraphicsScene, without const. | |
const GraphicsScene & | scene () const |
Reference to the GraphicsScene, without const. | |
Additional Inherited Members | |
![]() | |
void | setImageVisible (bool visible) |
Show/hide background image. | |
void | setProcessedPixmap (const QPixmap &pixmap) |
Save the image for this state after it has been processed by the leaf class. | |
Background image state for interval between startup and loading of the image.
Definition at line 13 of file BackgroundStateUnloaded.h.