Added the ability to sync the main window and graph window to the flowview window so that while watching the flow the other two windows stay in sync.

This eats processor power. A lot. You probably won't be able to go much faster than 100ms intervals. It won't have any effect.
This commit is contained in:
Collin Kidder
2015-08-23 15:54:47 -04:00
parent e1eb1f9ab1
commit 004b430ca7
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -563,6 +563,7 @@ void FlowViewWindow::updatePosition(bool forward)
memcpy(currBytes, frameCache.at(currentPosition).data, 8);
if (ui->cbSync->checkState() == Qt::Checked) emit sendCenterTimeID(frameCache[currentPosition].ID, frameCache[currentPosition].timestamp / 1000000.0);
}
void FlowViewWindow::updateGraphLocation()
+2 -2
View File
@@ -196,7 +196,7 @@
</widget>
</item>
<item>
<widget class="QCheckBox" name="cbCapture">
<widget class="QCheckBox" name="cbSync">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
@@ -204,7 +204,7 @@
</sizepolicy>
</property>
<property name="text">
<string>Realtime Capture</string>
<string>Synchronize windows</string>
</property>
</widget>
</item>