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:
+4
-2
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user