diff --git a/RepRaptor.pro b/RepRaptor.pro index 50e7e87..1d65d70 100644 --- a/RepRaptor.pro +++ b/RepRaptor.pro @@ -1,6 +1,7 @@ #------------------------------------------------- # # Project created by QtCreator 2015-02-26T16:14:20 +# Licenced on terms of GNU GPL v2 licence # #------------------------------------------------- diff --git a/graphics.qrc b/graphics.qrc index 84edab9..b04c82a 100644 --- a/graphics.qrc +++ b/graphics.qrc @@ -8,5 +8,6 @@ icons/sd.png icons/settings.png icons/about.png + icons/exit.png diff --git a/icons/exit.png b/icons/exit.png new file mode 100644 index 0000000..6b9fa6d Binary files /dev/null and b/icons/exit.png differ diff --git a/mainwindow.cpp b/mainwindow.cpp index d3e20c9..e84a442 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -724,3 +724,8 @@ void MainWindow::on_estepspin_valueChanged(const QString &arg1) else if(arg1.toFloat() >=10) ui->estepspin->setSingleStep(10); else if(arg1.toFloat() >= 1) ui->estepspin->setSingleStep(1); } + +void MainWindow::on_actionAbout_Qt_triggered() +{ + qApp->aboutQt(); +} diff --git a/mainwindow.h b/mainwindow.h index 4e480de..3b33f34 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -123,6 +123,8 @@ private slots: void serialError(QSerialPort::SerialPortError error); void on_actionPrint_from_SD_triggered(); + void on_actionAbout_Qt_triggered(); + signals: void sdReady(); }; diff --git a/mainwindow.ui b/mainwindow.ui index 941f993..fe64b9f 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -554,6 +554,7 @@ Help + @@ -633,6 +634,10 @@ + + + :/icons/exit.png:/icons/exit.png + Exit @@ -653,6 +658,10 @@ + + + :/icons/about.png:/icons/about.png + About @@ -669,6 +678,11 @@ Print from SD... + + + About Qt + +