diff --git a/README.md b/README.md index a1d6952..6392457 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ The next part of the program…okay, this part we will leave open for the future Our team consists of two Software Engineering students from the Jerusalem College of Engineering. Project Manager: [Liran Ben Gida][liran] -
+
Co-developer: [Sagi Dayan][sagi] This open source application was developed in our spare time and is available for and meant to be shared with other students attending our college. @@ -38,9 +38,9 @@ Have you used the application? Do you think there is room for improvement? Do you have ideas on how we can improve? We would love to hear them! For all issues, suggestions and ideas, please contact us at: -
+
[Liran Ben-Gida][liran] -
+
[Sagi Dayan][sagi] If you have some spare time, you know how to code (C++ / QT), diff --git a/jceGrade.pro b/jceGrade.pro index b90471c..33e64bc 100644 --- a/jceGrade.pro +++ b/jceGrade.pro @@ -9,10 +9,17 @@ QT += core gui network widgets CONFIG += qt c++11 TARGET = jceManager -TEMPLATE = app VERSION = 1.0.0 +TEMPLATE = app +DEFINES += APP_VERSION=\\\"$$VERSION\\\" + +win32 { +RC_FILE += winConf.rc +} +unix { +RC_FILE += appConfigure.rc +} -RC_FILE = appConfigure.rc TRANSLATIONS = jce_en.ts \ jce_he.ts diff --git a/main/main.cpp b/main/main.cpp index 84fb2b2..a57848e 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -5,7 +5,6 @@ #include "../src/appDatabase/savedata.h" #include "../src/appDatabase/jce_logger.h" - int main(int argc, char *argv[]) { #ifdef QT_DEBUG // Incase QtCreator is in Debug mode all qDebug messages will go to terminal @@ -36,6 +35,7 @@ int main(int argc, char *argv[]) qDebug() << Q_FUNC_INFO << "Local : English Local Loaded"; } a.installTranslator(&translator); //Setting local + a.setApplicationVersion(APP_VERSION); MainScreen w; w.show(); diff --git a/main/mainscreen.ui b/main/mainscreen.ui index ad37d5b..44833ed 100644 --- a/main/mainscreen.ui +++ b/main/mainscreen.ui @@ -29,6 +29,9 @@ background: qlineargradient(spread:pad, x1:0.496, y1:0, x2:0.508, y2:1, stop:0 rgba(195, 231, 224, 218), stop:1 rgba(255, 255, 255, 255)); } + + + 48 @@ -680,7 +683,7 @@ background: qlineargradient(x1: 0, y1: 0.5, x2: 1, y2: 0.5, stop: 0 green, stop: 0 0 855 - 22 + 21 diff --git a/winConf.rc b/winConf.rc new file mode 100644 index 0000000..9046098 --- /dev/null +++ b/winConf.rc @@ -0,0 +1,31 @@ +IDI_ICON1 ICON DISCARDABLE "./resources/icon.ico" +#include + +VS_VERSION_INFO VERSIONINFO +FILEVERSION 1, 0, 0 +PRODUCTVERSION 1, 0, 0 +FILEFLAGSMASK 0x3fL +FILEFLAGS 0 +FILEOS VOS_NT_WINDOWS32 +FILETYPE VFT_APP +FILESUBTYPE VFT2_UNKNOWN +BEGIN + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "CompanyName", "Jce Manager\0" + VALUE "FileDescription", "\0" + VALUE "FileVersion", "1.0.0\0" + VALUE "InternalName", "jceManager\0" + VALUE "LegalCopyright", "Jce Manager Team, liranbg@gmail.com\0" + VALUE "OriginalFilename", "jceManager\0" + VALUE "ProductName", "Jce Manager\0" + VALUE "ProductVersion", "1.0.0\0" + END + END +END