version update

This commit is contained in:
liranbg 2014-10-16 11:15:23 +03:00
parent 3f43e576c7
commit faade294ab
2 changed files with 10 additions and 55 deletions

View file

@ -1,6 +1,8 @@
#include "mainscreen.h" #include "mainscreen.h"
#include "ui_mainscreen.h" #include "ui_mainscreen.h"
#define VERSION "1.1.0"
MainScreen::MainScreen(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainScreen) MainScreen::MainScreen(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainScreen)
{ {
ui->setupUi(this); ui->setupUi(this);
@ -314,49 +316,6 @@ void MainScreen::on_exportToCVSBtn_clicked()
} }
} }
//EVENTS ON MENU BAR
//void MainScreen::on_actionHebrew_triggered()
//{
// qDebug() << Q_FUNC_INFO;
// if (ui->actionEnglish->isChecked() || ui->actionOS_Default->isChecked())
// {
// ui->actionEnglish->setChecked(false);
// ui->actionOS_Default->setChecked(false);
// qDebug() << Q_FUNC_INFO << "Changed Language to hebrew";
// data->setLocal("he");
// QMessageBox::information(this,tr("Settings"),tr("Your settings will take effect next time you start the program"),QMessageBox::Ok);
// }
// else
// ui->actionHebrew->setChecked(true);
//}
//void MainScreen::on_actionEnglish_triggered()
//{
// qDebug() << Q_FUNC_INFO;
// if (ui->actionHebrew->isChecked() || ui->actionOS_Default->isChecked())
// {
// ui->actionHebrew->setChecked(false);
// ui->actionOS_Default->setChecked(false);
// qDebug() << Q_FUNC_INFO << "Changed Language to English";
// data->setLocal("en");
// QMessageBox::information(this,"Settings",tr("Your settings will take effect next time you start the program"),QMessageBox::Ok);
// }
// else
// ui->actionEnglish->setChecked(true);
//}
//void MainScreen::on_actionOS_Default_triggered()
//{
// qDebug() << Q_FUNC_INFO;
// if (ui->actionHebrew->isChecked() || ui->actionEnglish->isChecked())
// {
// ui->actionHebrew->setChecked(false);
// ui->actionEnglish->setChecked(false);
// qDebug() << Q_FUNC_INFO << "Changed Language to OS Default";
// data->setLocal("default");
//
// }
// else
// ui->actionOS_Default->setChecked(true);
//}
//MAIN SCREEN //MAIN SCREEN
void MainScreen::on_labelMadeBy_linkActivated(const QString &link) void MainScreen::on_labelMadeBy_linkActivated(const QString &link)
{ {
@ -409,18 +368,14 @@ void MainScreen::on_creditButton_clicked()
{ {
qDebug() << Q_FUNC_INFO; qDebug() << Q_FUNC_INFO;
QMessageBox::about(this, "About", QMessageBox::about(this, "About",
"<a href='http://liranbg.github.io/JceManager/'>Jce Manager</a> v1.0.0<br><br>" "<a href='http://liranbg.github.io/JceManager/'>Jce Manager</a> "
+tr("License:")+ + QString("Version: " + QString(VERSION)) +"<br><br>"
"<br>GNU LESSER GENERAL PUBLIC LICENSE V2.1<br>" +tr("License: ")+ "LGPL v2.1<br>"
+"<br>"+ "<br><a href='https://github.com/liranbg/JceManager'>JceManager Repository</a>"
"<a href='https://github.com/liranbg/JceManager'>JceManager Repository</a>"+ +"<br><br>" + tr("Developed By: ")+
"<br><br>" "<ul>"+
+tr("Powered By: ")+ "<li><a href='mailto:liranbg@gmail.com'>"+tr("Liran Ben Gida")+"</a></li>"+
"<a href='https://github.com/liranbg/jceConnection'> Jce Connection</a><br><br>" "<li><a href='mailto:sagidayan@gmail.com'>"+tr("Sagi Dayan")+"</a></li></ul>"
+tr("Developed By")+
":<ul>"+
"<li><a href='mailto:liranbg@gmail.com'>"+tr("Liran")+"</a></li>"+
"<li><a href='mailto:sagidayan@gmail.com'>"+tr("Sagi")+"</a></li></ul>"
); );
} }