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-11-23 09:19:47 -05:00
parent 3ed0ac4880
commit 2916fb92eb
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();