summaryrefslogtreecommitdiffstats
path: root/examples/curveeditorapp/examplecurvemodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/curveeditorapp/examplecurvemodel.h')
-rw-r--r--examples/curveeditorapp/examplecurvemodel.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/examples/curveeditorapp/examplecurvemodel.h b/examples/curveeditorapp/examplecurvemodel.h
index 7f0433e..815af5e 100644
--- a/examples/curveeditorapp/examplecurvemodel.h
+++ b/examples/curveeditorapp/examplecurvemodel.h
@@ -31,18 +31,20 @@ namespace DesignTools {
class ExampleCurveModel : public CurveEditorModel
{
+ Q_OBJECT
+
public:
+ ExampleCurveModel();
+
double minimumTime() const override;
double maximumTime() const override;
- double minimumValue() const override;
-
- double maximumValue() const override;
+ CurveEditorStyle style() const override;
- AnimationCurve curve(int i) const override;
+ void createItems();
- CurveEditorStyle style() const override;
+ void curveChangeEmitted(PropertyTreeItem *item);
};
} // End namespace DesignTools.