mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add time step slider to 3d views (#9695)
Add new toolbar with slider that controls visible timestep in the view
This commit is contained in:
@@ -377,6 +377,8 @@ void AnimationToolBar::slotUpdateAnimationGuiFromFrameIndex( int value )
|
||||
m_timestepCombo->setCurrentIndex( value );
|
||||
updateAnimationButtons();
|
||||
connect( m_timestepCombo, SIGNAL( currentIndexChanged( int ) ), m_activeAnimationControl, SLOT( setCurrentFrame( int ) ) );
|
||||
|
||||
emit frameChanged( value );
|
||||
}
|
||||
|
||||
} // End namespace caf
|
||||
|
||||
@@ -72,6 +72,9 @@ public:
|
||||
|
||||
void setCurrentTimeStepIndex( int index );
|
||||
|
||||
signals:
|
||||
void frameChanged( int frameIndex );
|
||||
|
||||
public slots:
|
||||
void slotUpdateTimestepList( int frameCount );
|
||||
void playPauseChanged();
|
||||
|
||||
Reference in New Issue
Block a user