Added burst mode to the playback window to allow for faster data rates.

This commit is contained in:
Collin Kidder
2015-06-14 10:50:45 -04:00
parent afc4707575
commit 9450ba6c29
2 changed files with 39 additions and 16 deletions
+3
View File
@@ -163,6 +163,8 @@ void FramePlaybackWindow::btnSelectNoneClick()
}
void FramePlaybackWindow::timerTriggered()
{
for (int count = 0; count < ui->spinBurstSpeed->value(); count++)
{
if (!playbackActive)
{
@@ -184,6 +186,7 @@ void FramePlaybackWindow::timerTriggered()
if (currentPosition == (modelFrames->count() - 1)) playbackActive = false;
}
}
}
void FramePlaybackWindow::updatePosition(bool forward)
{
+20
View File
@@ -120,6 +120,26 @@
</property>
</widget>
</item>
<item alignment="Qt::AlignHCenter">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Burst Rate:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBurstSpeed">
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>8</number>
</property>
<property name="value">
<number>1</number>
</property>
</widget>
</item>
<item alignment="Qt::AlignHCenter">
<widget class="QCheckBox" name="cbLoop">
<property name="text">