summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Qt3DStudio/Palettes/TimelineGraphicsView/ui/RowTimelinePropertyGraph.h
diff options
context:
space:
mode:
authorMahmoud Badri <mahmoud.badri@qt.io>2019-08-09 08:29:17 +0300
committerMahmoud Badri <mahmoud.badri@qt.io>2019-08-09 11:40:23 +0300
commit3a3f61df0bd2716082eaf2d95276d547dda2b9d0 (patch)
tree394c1301412037f057c26bd4cee320e83b589222 /src/Authoring/Qt3DStudio/Palettes/TimelineGraphicsView/ui/RowTimelinePropertyGraph.h
parent227af5c33b6c0cfbef27aae189c5f82e27175c21 (diff)
Improve how graph channel filtering work
Task-number: QT3DS-3813 Change-Id: I0a7e4e91aa268e2df28fb68d42e9e357ae3de1f0 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/Authoring/Qt3DStudio/Palettes/TimelineGraphicsView/ui/RowTimelinePropertyGraph.h')
-rw-r--r--src/Authoring/Qt3DStudio/Palettes/TimelineGraphicsView/ui/RowTimelinePropertyGraph.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Authoring/Qt3DStudio/Palettes/TimelineGraphicsView/ui/RowTimelinePropertyGraph.h b/src/Authoring/Qt3DStudio/Palettes/TimelineGraphicsView/ui/RowTimelinePropertyGraph.h
index f845d418..5e84f5b1 100644
--- a/src/Authoring/Qt3DStudio/Palettes/TimelineGraphicsView/ui/RowTimelinePropertyGraph.h
+++ b/src/Authoring/Qt3DStudio/Palettes/TimelineGraphicsView/ui/RowTimelinePropertyGraph.h
@@ -64,6 +64,7 @@ public:
void setExpandHeight(int h);
void selectBezierKeyframesInRange(const QRectF &rect);
void deselectAllBezierKeyframes();
+ void updateChannelFiltering(const QVector<bool> &activeChannels);
private:
enum class BezierControlType {None, In, Out};
@@ -83,6 +84,8 @@ private:
int m_expandHeight = TimelineConstants::ROW_GRAPH_H; // height when expanded
qt3dsdm::Qt3DSDMKeyframeHandle m_hoveredBezierKeyframe;
QSet<qt3dsdm::Qt3DSDMKeyframeHandle> m_selectedBezierKeyframes;
+ QVector<qt3dsdm::Qt3DSDMAnimationHandle> m_activeChannels; // active channels anim. handles
+ QVector<int> m_activeChannelsIndex;
QTimer m_fitCurveTimer;
};