diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index acbd13046..389df3def 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -469,6 +469,16 @@ void MainWindow::on_actionNextDC_triggered()
redrawProfile();
}
+void MainWindow::on_actionFullScreen_triggered(bool checked)
+{
+ if (checked) {
+ setWindowState(windowState() | Qt::WindowFullScreen);
+ }
+ else {
+ setWindowState(windowState() & ~Qt::WindowFullScreen);
+ }
+}
+
void MainWindow::on_actionSelectEvents_triggered()
{
qDebug("actionSelectEvents");
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index 7d14fc7fe..7da4dbceb 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -87,6 +87,7 @@ private slots:
void on_actionViewAll_triggered();
void on_actionPreviousDC_triggered();
void on_actionNextDC_triggered();
+ void on_actionFullScreen_triggered(bool checked);
/* other menu actions */
void on_actionSelectEvents_triggered();
diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui
index 3748f5950..854c9cdd3 100644
--- a/qt-ui/mainwindow.ui
+++ b/qt-ui/mainwindow.ui
@@ -178,6 +178,7 @@
+