From b7faa2028801703964253434796654ccaaadd9e8 Mon Sep 17 00:00:00 2001 From: Liran BN Date: Sun, 22 Jun 2014 15:43:31 +0300 Subject: [PATCH] add how-to --- main/mainscreen.cpp | 26 +++++++++++++++++++++++++- main/mainscreen.h | 2 ++ main/mainscreen.ui | 6 ++++++ 3 files changed, 33 insertions(+), 1 deletion(-) diff --git a/main/mainscreen.cpp b/main/mainscreen.cpp index c3291c2..a43c4cf 100644 --- a/main/mainscreen.cpp +++ b/main/mainscreen.cpp @@ -231,7 +231,7 @@ void MainScreen::setLabelConnectionStatus(jceLogin::jceStatus statusDescription) } void MainScreen::on_actionCredits_triggered() { - QMessageBox::about(this, "About", "A tiny application to calculate your grades average.

" + QMessageBox::about(this, "About", "A tiny Application to calculate your grades average. v1.0

" "This software is licensed under Qt5's
GNU LESSER GENERAL PUBLIC LICENSE V2
" "The source code is available at github:
" "jceAverageCalculator Repository" @@ -268,3 +268,27 @@ void MainScreen::on_keepLogin_clicked() else SaveData::deleteData(); } + +void MainScreen::on_actionHow_To_triggered() +{ + QMessageBox::information(this,"How To", + "How To.." + "" + "

הסבר" + ""); + +} diff --git a/main/mainscreen.h b/main/mainscreen.h index 18f5c8f..4957a1c 100644 --- a/main/mainscreen.h +++ b/main/mainscreen.h @@ -54,6 +54,8 @@ private slots: void on_keepLogin_clicked(); + void on_actionHow_To_triggered(); + private: void updateDates(); diff --git a/main/mainscreen.ui b/main/mainscreen.ui index 44007b2..46b1ff9 100644 --- a/main/mainscreen.ui +++ b/main/mainscreen.ui @@ -682,6 +682,7 @@ font-size: 15px; &About + @@ -711,6 +712,11 @@ font-size: 15px; Exit + + + How-To + +