From faade294ab97287083c5c7ea1f44f99775a2a4ff Mon Sep 17 00:00:00 2001 From: liranbg Date: Thu, 16 Oct 2014 11:15:23 +0300 Subject: [PATCH] version update --- jceGrade.pro => jceManager.pro | 0 main/mainscreen.cpp | 65 ++++++---------------------------- 2 files changed, 10 insertions(+), 55 deletions(-) rename jceGrade.pro => jceManager.pro (100%) diff --git a/jceGrade.pro b/jceManager.pro similarity index 100% rename from jceGrade.pro rename to jceManager.pro diff --git a/main/mainscreen.cpp b/main/mainscreen.cpp index 0653feb..e105f12 100644 --- a/main/mainscreen.cpp +++ b/main/mainscreen.cpp @@ -1,6 +1,8 @@ #include "mainscreen.h" #include "ui_mainscreen.h" +#define VERSION "1.1.0" + MainScreen::MainScreen(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainScreen) { 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 void MainScreen::on_labelMadeBy_linkActivated(const QString &link) { @@ -409,18 +368,14 @@ void MainScreen::on_creditButton_clicked() { qDebug() << Q_FUNC_INFO; QMessageBox::about(this, "About", - "Jce Manager v1.0.0

" - +tr("License:")+ - "
GNU LESSER GENERAL PUBLIC LICENSE V2.1
" - +"
"+ - "JceManager Repository"+ - "

" - +tr("Powered By: ")+ - " Jce Connection

" - +tr("Developed By")+ - ":" + "Jce Manager " + + QString("Version: " + QString(VERSION)) +"

" + +tr("License: ")+ "LGPL v2.1
" + "
JceManager Repository" + +"

" + tr("Developed By: ")+ + "" ); }