Added more control options to graphing window, updated version number

The graphing window now can be zoomed via the context menu or with the
+ and - keys. Also, you can reset to a "good" view of all the graphs
from the context menu.
This commit is contained in:
Collin Kidder
2015-10-29 22:32:27 -04:00
parent 4dc8c5b434
commit 0d5c370bc4
4 changed files with 103 additions and 3 deletions
+4 -2
View File
@@ -87,14 +87,14 @@ FlowViewWindow::FlowViewWindow(const QVector<CANFrame> *frames, QWidget *parent)
connect(ui->flowView, SIGNAL(customContextMenuRequested(QPoint)), this, SLOT(contextMenuRequestFlow(QPoint)));
playbackTimer->setInterval(ui->spinPlayback->value()); //set the timer to the default value of the control
installEventFilter(this);
}
void FlowViewWindow::showEvent(QShowEvent* event)
{
QDialog::showEvent(event);
installEventFilter(this);
readSettings();
refreshIDList();
@@ -109,6 +109,8 @@ void FlowViewWindow::showEvent(QShowEvent* event)
FlowViewWindow::~FlowViewWindow()
{
removeEventFilter(this);
delete ui;
playbackTimer->stop();