diff --git a/mainwindow.cpp b/mainwindow.cpp
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -55,6 +55,9 @@ MainWindow::MainWindow(QWidget *parent)
QObject::connect(ui->actionExportCsv, &QAction::triggered,
this, &MainWindow::onExportCsv);
+ QObject::connect(ui->actionQuit, &QAction::triggered,
+ this, &MainWindow::close);
+
QObject::connect(&portControl, &PortControl::portToggled,
this, &MainWindow::onPortToggled);
diff --git a/mainwindow.ui b/mainwindow.ui
--- a/mainwindow.ui
+++ b/mainwindow.ui
@@ -466,6 +466,8 @@
File
+
+
@@ -524,6 +526,14 @@
Export plot data to CSV
+
+
+ Quit
+
+
+ Ctrl+Q
+
+