19 static QByteArray GetLastDialogGeometry() {
return s_LastDialogGeometry; }
21 void SetCurveColor(
const plColor& color);
22 void SetCurveExtents(
double fLower,
bool bLowerFixed,
double fUpper,
bool bUpperFixed);
23 void SetCurveRanges(
double fLower,
double fUpper);
25 virtual void reject()
override;
26 virtual void accept()
override;
33 void OnCpMovedEvent(plUInt32 curveIdx, plUInt32 cpIdx, plInt64 iTickX,
double newPosY);
34 void OnCpDeletedEvent(plUInt32 curveIdx, plUInt32 cpIdx);
35 void OnTangentMovedEvent(plUInt32 curveIdx, plUInt32 cpIdx,
float newPosX,
float newPosY,
bool rightTangent);
36 void OnInsertCpEvent(plUInt32 uiCurveIdx, plInt64 tickX,
double value);
37 void OnTangentLinkEvent(plUInt32 curveIdx, plUInt32 cpIdx,
bool bLink);
38 void OnCpTangentModeEvent(plUInt32 curveIdx, plUInt32 cpIdx,
bool rightTangent,
int mode);
40 void OnBeginCpChangesEvent(QString name);
41 void OnEndCpChangesEvent();
43 void OnBeginOperationEvent(QString name);
44 void OnEndOperationEvent(
bool commit);
46 void on_actionUndo_triggered();
47 void on_actionRedo_triggered();
48 void on_ButtonOk_clicked();
49 void on_ButtonCancel_clicked();
52 static QByteArray s_LastDialogGeometry;
54 void RetrieveCurveState();
59 double m_fLowerExtents = 0.0;
60 double m_fUpperExtents = 1.0;
61 bool m_bLowerFixed =
false;
62 bool m_bUpperFixed =
false;
63 bool m_bCurveLengthIsFixed =
false;
65 plUInt32 m_uiActionsUndoBaseline = 0;
67 QShortcut* m_pShortcutUndo =
nullptr;
68 QShortcut* m_pShortcutRedo =
nullptr;
74 virtual void closeEvent(QCloseEvent* e)
override;
75 virtual void showEvent(QShowEvent* e)
override;