add icon the date dialog. dates changed by default. translate update. still bugged

This commit is contained in:
Liran BN 2014-09-11 22:58:08 +03:00
parent 078f885909
commit 375b72feac
12 changed files with 332 additions and 157 deletions

BIN
jce_en.qm

Binary file not shown.

View file

@ -1,6 +1,46 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="en_US"> <TS version="2.1" language="en_US">
<context>
<name>CalendarDialog</name>
<message>
<location filename="src/jceData/Calendar/calendardialog.ui" line="14"/>
<source>Dialog</source>
<translation>Dates</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendardialog.ui" line="22"/>
<source>&lt;h1&gt;&lt;b&gt;For The Best CSV Export, Please Enter Correctly</source>
<translation>&lt;h1&gt;&lt;b&gt;For The Best CSV Export, Please Enter Correctly</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendardialog.ui" line="35"/>
<source>Semester Starts At:</source>
<translation>&lt;b&gt;Semester Starts At:</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendardialog.ui" line="42"/>
<source>Semester Ends At:</source>
<translation>&lt;b&gt;Semester Ends At:</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendardialog.ui" line="73"/>
<source>[ ! ] Start &amp; End cannot be the same</source>
<translation>[ ! ] Start &amp; End cannot be set at the same day</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendardialog.cpp" line="46"/>
<location filename="src/jceData/Calendar/calendardialog.cpp" line="78"/>
<source>The End of the semester can NOT be equal or before semester begins.</source>
<translation>The End of the semester can NOT be equal or before semester begins.</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendardialog.cpp" line="52"/>
<location filename="src/jceData/Calendar/calendardialog.cpp" line="84"/>
<source>Looks ok, Press OK</source>
<translation>Looks ok, Press OK</translation>
</message>
</context>
<context> <context>
<name>MainScreen</name> <name>MainScreen</name>
<message> <message>
@ -189,80 +229,80 @@
<translation>Missmatching Data</translation> <translation>Missmatching Data</translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="284"/> <location filename="main/mainscreen.cpp" line="286"/>
<source>CREDITS-ROOL-UP1</source> <source>CREDITS-ROOL-UP1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="285"/> <location filename="main/mainscreen.cpp" line="287"/>
<source>CREDITS-ROOL-UP2</source> <source>CREDITS-ROOL-UP2</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="286"/> <location filename="main/mainscreen.cpp" line="288"/>
<source>CREDITS-ROOL-UP3</source> <source>CREDITS-ROOL-UP3</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="288"/> <location filename="main/mainscreen.cpp" line="290"/>
<source>CREDITS-ROOL-UP4</source> <source>CREDITS-ROOL-UP4</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="289"/> <location filename="main/mainscreen.cpp" line="291"/>
<source>DevBy</source> <source>DevBy</source>
<translation>Developed By</translation> <translation>Developed By</translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="291"/> <location filename="main/mainscreen.cpp" line="293"/>
<source>Liran</source> <source>Liran</source>
<translation>Liran Ben Gida</translation> <translation>Liran Ben Gida</translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="292"/> <location filename="main/mainscreen.cpp" line="294"/>
<source>Sagi</source> <source>Sagi</source>
<translation>Sagi Dayan</translation> <translation>Sagi Dayan</translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="304"/> <location filename="main/mainscreen.cpp" line="306"/>
<source>HELP1</source> <source>HELP1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="305"/> <location filename="main/mainscreen.cpp" line="307"/>
<source>HELP2</source> <source>HELP2</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="306"/> <location filename="main/mainscreen.cpp" line="308"/>
<source>HELP3</source> <source>HELP3</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="307"/> <location filename="main/mainscreen.cpp" line="309"/>
<source>HELP4</source> <source>HELP4</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="308"/> <location filename="main/mainscreen.cpp" line="310"/>
<source>HELP5</source> <source>HELP5</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="309"/> <location filename="main/mainscreen.cpp" line="311"/>
<source>HELP6</source> <source>HELP6</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="322"/> <location filename="main/mainscreen.cpp" line="327"/>
<location filename="main/mainscreen.cpp" line="351"/> <location filename="main/mainscreen.cpp" line="356"/>
<source>Settings</source> <source>Settings</source>
<translation>Settings</translation> <translation>Settings</translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="322"/> <location filename="main/mainscreen.cpp" line="327"/>
<location filename="main/mainscreen.cpp" line="336"/> <location filename="main/mainscreen.cpp" line="341"/>
<location filename="main/mainscreen.cpp" line="351"/> <location filename="main/mainscreen.cpp" line="356"/>
<source>Your settings will take effect next time you start the program</source> <source>Your settings will take effect next time you start the program</source>
<translation>Your settings will take effect next time you start the program</translation> <translation>Your settings will take effect next time you start the program</translation>
</message> </message>
@ -270,14 +310,19 @@
<context> <context>
<name>QObject</name> <name>QObject</name>
<message> <message>
<location filename="main/CalendarTab/CalendarManager.cpp" line="17"/> <location filename="main/CalendarTab/CalendarManager.cpp" line="25"/>
<source>Exported Successfuly!</source> <source>Exported Successfuly!</source>
<translation>Exported Successfuly!</translation> <translation>Exported Successfuly!</translation>
</message> </message>
<message> <message>
<location filename="main/CalendarTab/CalendarManager.cpp" line="23"/> <location filename="main/CalendarTab/CalendarManager.cpp" line="30"/>
<source>&lt;center&gt;Something went wrong...&lt;br&gt;&lt;/center&gt;Maybe: &lt;ul&gt;&lt;li&gt;You Canceled&lt;/li&gt;&lt;li&gt;Unable to save the File - try again&lt;/li&gt;&lt;/ul&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;&lt;center&gt;In case of a serious problem, please file a bug report.&lt;br&gt;thank you. OpenJCE teem</source> <source>Error on exporting. please check your file system.</source>
<translation type="unfinished"></translation> <translation>Error on exporting. Please check your file system.</translation>
</message>
<message>
<location filename="main/CalendarTab/CalendarManager.cpp" line="38"/>
<source>Dates not valid</source>
<translation>Invalid Dates</translation>
</message> </message>
<message> <message>
<location filename="main/CourseTab/coursestablemanager.cpp" line="15"/> <location filename="main/CourseTab/coursestablemanager.cpp" line="15"/>

BIN
jce_he.qm

Binary file not shown.

View file

@ -1,6 +1,46 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="he_IL"> <TS version="2.1" language="he_IL">
<context>
<name>CalendarDialog</name>
<message>
<location filename="src/jceData/Calendar/calendardialog.ui" line="14"/>
<source>Dialog</source>
<translation>בחירת תאריכים</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendardialog.ui" line="22"/>
<source>&lt;h1&gt;&lt;b&gt;For The Best CSV Export, Please Enter Correctly</source>
<translation>&lt;h1&gt;&lt;b&gt;על מנת לקבל קובץ נכון, הקפד על התאריכים</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendardialog.ui" line="35"/>
<source>Semester Starts At:</source>
<translation>&lt;b&gt; הסמסטר מתחיל ב:</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendardialog.ui" line="42"/>
<source>Semester Ends At:</source>
<translation>&lt;b&gt;הסמסטר נגמר ב:</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendardialog.ui" line="73"/>
<source>[ ! ] Start &amp; End cannot be the same</source>
<translation>[!] התחלה וסוף לא יכולים להיות באותו היום</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendardialog.cpp" line="46"/>
<location filename="src/jceData/Calendar/calendardialog.cpp" line="78"/>
<source>The End of the semester can NOT be equal or before semester begins.</source>
<translation>סוף סמסטר לא יכול להיות לפני או באותו היום בו הסמסטר מתחיל.</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendardialog.cpp" line="52"/>
<location filename="src/jceData/Calendar/calendardialog.cpp" line="84"/>
<source>Looks ok, Press OK</source>
<translation>נראה טוב, לחץ על המשך</translation>
</message>
</context>
<context> <context>
<name>MainScreen</name> <name>MainScreen</name>
<message> <message>
@ -103,7 +143,7 @@
<message> <message>
<location filename="main/mainscreen.ui" line="602"/> <location filename="main/mainscreen.ui" line="602"/>
<source>Export to CSV</source> <source>Export to CSV</source>
<translation type="unfinished">CSV ייצא אל קובץ</translation> <translation>.CSV ייצא אל קובץ</translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.ui" line="642"/> <location filename="main/mainscreen.ui" line="642"/>
@ -189,80 +229,80 @@
<translation>שגיאה בהכנסת נתונים</translation> <translation>שגיאה בהכנסת נתונים</translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="284"/> <location filename="main/mainscreen.cpp" line="286"/>
<source>CREDITS-ROOL-UP1</source> <source>CREDITS-ROOL-UP1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="285"/> <location filename="main/mainscreen.cpp" line="287"/>
<source>CREDITS-ROOL-UP2</source> <source>CREDITS-ROOL-UP2</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="286"/> <location filename="main/mainscreen.cpp" line="288"/>
<source>CREDITS-ROOL-UP3</source> <source>CREDITS-ROOL-UP3</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="288"/> <location filename="main/mainscreen.cpp" line="290"/>
<source>CREDITS-ROOL-UP4</source> <source>CREDITS-ROOL-UP4</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="289"/> <location filename="main/mainscreen.cpp" line="291"/>
<source>DevBy</source> <source>DevBy</source>
<translation>פותח על ידי</translation> <translation>פותח על ידי</translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="291"/> <location filename="main/mainscreen.cpp" line="293"/>
<source>Liran</source> <source>Liran</source>
<translation>לירן בן גידה</translation> <translation>לירן בן גידה</translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="292"/> <location filename="main/mainscreen.cpp" line="294"/>
<source>Sagi</source> <source>Sagi</source>
<translation>שגיא דיין</translation> <translation>שגיא דיין</translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="304"/> <location filename="main/mainscreen.cpp" line="306"/>
<source>HELP1</source> <source>HELP1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="305"/> <location filename="main/mainscreen.cpp" line="307"/>
<source>HELP2</source> <source>HELP2</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="306"/> <location filename="main/mainscreen.cpp" line="308"/>
<source>HELP3</source> <source>HELP3</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="307"/> <location filename="main/mainscreen.cpp" line="309"/>
<source>HELP4</source> <source>HELP4</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="308"/> <location filename="main/mainscreen.cpp" line="310"/>
<source>HELP5</source> <source>HELP5</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="309"/> <location filename="main/mainscreen.cpp" line="311"/>
<source>HELP6</source> <source>HELP6</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="322"/> <location filename="main/mainscreen.cpp" line="327"/>
<location filename="main/mainscreen.cpp" line="351"/> <location filename="main/mainscreen.cpp" line="356"/>
<source>Settings</source> <source>Settings</source>
<translation>הגדרות</translation> <translation>הגדרות</translation>
</message> </message>
<message> <message>
<location filename="main/mainscreen.cpp" line="322"/> <location filename="main/mainscreen.cpp" line="327"/>
<location filename="main/mainscreen.cpp" line="336"/> <location filename="main/mainscreen.cpp" line="341"/>
<location filename="main/mainscreen.cpp" line="351"/> <location filename="main/mainscreen.cpp" line="356"/>
<source>Your settings will take effect next time you start the program</source> <source>Your settings will take effect next time you start the program</source>
<translation>ההגדרות שלך ייכנסו לתוקפן בפעם הבאה שתפעיל את התוכנה</translation> <translation>ההגדרות שלך ייכנסו לתוקפן בפעם הבאה שתפעיל את התוכנה</translation>
</message> </message>
@ -270,14 +310,19 @@
<context> <context>
<name>QObject</name> <name>QObject</name>
<message> <message>
<location filename="main/CalendarTab/CalendarManager.cpp" line="17"/> <location filename="main/CalendarTab/CalendarManager.cpp" line="25"/>
<source>Exported Successfuly!</source> <source>Exported Successfuly!</source>
<translation>הייצוא הושלם!</translation> <translation>הייצוא הושלם!</translation>
</message> </message>
<message> <message>
<location filename="main/CalendarTab/CalendarManager.cpp" line="23"/> <location filename="main/CalendarTab/CalendarManager.cpp" line="30"/>
<source>&lt;center&gt;Something went wrong...&lt;br&gt;&lt;/center&gt;Maybe: &lt;ul&gt;&lt;li&gt;You Canceled&lt;/li&gt;&lt;li&gt;Unable to save the File - try again&lt;/li&gt;&lt;/ul&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;&lt;center&gt;In case of a serious problem, please file a bug report.&lt;br&gt;thank you. OpenJCE teem</source> <source>Error on exporting. please check your file system.</source>
<translation type="unfinished"></translation> <translation>טעות בעת ייצוא הקובץ. אנא בדוק אם הקובץ פתוח.</translation>
</message>
<message>
<location filename="main/CalendarTab/CalendarManager.cpp" line="38"/>
<source>Dates not valid</source>
<translation>תאריכים לא חוקיים</translation>
</message> </message>
<message> <message>
<location filename="main/CourseTab/coursestablemanager.cpp" line="15"/> <location filename="main/CourseTab/coursestablemanager.cpp" line="15"/>

View file

@ -27,11 +27,10 @@ void CalendarManager::exportCalendarCSV()
}else }else
{ {
msgBox.setIcon(QMessageBox::Critical); msgBox.setIcon(QMessageBox::Critical);
msgBox.setText(QObject::tr("Error on exporting. please check your file system.")); msgBox.setText(QObject::tr("Error on exporting."));
msgBox.exec(); msgBox.exec();
} }
} }
else else
{ {
msgBox.setIcon(QMessageBox::Critical); msgBox.setIcon(QMessageBox::Critical);

View file

@ -5,5 +5,6 @@
<file>redStatusIcon.png</file> <file>redStatusIcon.png</file>
<file>icon.ico</file> <file>icon.ico</file>
<file>iconX.png</file> <file>iconX.png</file>
<file>iconV.png</file>
</qresource> </qresource>
</RCC> </RCC>

BIN
resources/iconV.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 379 B

After

Width:  |  Height:  |  Size: 683 B

View file

@ -50,7 +50,7 @@ bool CSV_Exporter::exportCalendar(calendarSchedule *calSched, CalendarDialog *ca
if(line != NULL) if(line != NULL)
out << line << char(0x0A); out << line << char(0x0A);
#endif #endif
#ifdef Q_OS_OSX #ifdef Q_OS_OSX
if(line != NULL) if(line != NULL)
out << line << char(0x0A); out << line << char(0x0A);
#endif #endif
@ -59,11 +59,9 @@ bool CSV_Exporter::exportCalendar(calendarSchedule *calSched, CalendarDialog *ca
out << line << char(0x0D) << char(0x0A); out << line << char(0x0D) << char(0x0A);
#endif #endif
} }
out.flush();
} }
here:
out.flush();
file.close(); file.close();
qDebug() << "Saved Successfuly! - HazZaA!"; qDebug() << "Saved Successfuly! - HazZaA!";

View file

@ -7,10 +7,8 @@ CalendarDialog::CalendarDialog(QWidget *parent) :
ui(new Ui::CalendarDialog) ui(new Ui::CalendarDialog)
{ {
ui->setupUi(this); ui->setupUi(this);
ui->calEnd->showToday(); changeLabeStatusIcon(true);//be default the dates are ok, i Updated it according to jce official dates
ui->calStart->showToday(); this->isOK = true;
this->isOK = false;
} }
CalendarDialog::~CalendarDialog() CalendarDialog::~CalendarDialog()
@ -32,22 +30,18 @@ bool CalendarDialog::ok()
{ {
return this->isOK; return this->isOK;
} }
void CalendarDialog::on_calStart_clicked(const QDate &date)
{
}
void CalendarDialog::on_calStart_selectionChanged() void CalendarDialog::on_calStart_selectionChanged()
{ {
if(ui->calStart->selectedDate() > ui->calEnd->selectedDate()){ if(ui->calStart->selectedDate() >= ui->calEnd->selectedDate())
ui->lbl_status->setText("[ X ] The End of the semester is before it starts... "); {
changeLabeStatusIcon(false);
ui->lbl_status->setText(tr("The End of the semester can NOT be equal or before semester begins."));
this->isOK = false; this->isOK = false;
}else if(ui->calStart->selectedDate() == ui->calEnd->selectedDate()){ }
ui->lbl_status->setText("[ ! ] Semester Cannot start and end on the same date... Where are you studying?! :)"); else
this->isOK = false; {
}else{ changeLabeStatusIcon(true);
ui->lbl_status->setText("[ V ] Looks ok, Press OK"); ui->lbl_status->setText(tr("Looks ok, Press OK"));
this->isOK = true; this->isOK = true;
} }
} }
@ -58,26 +52,28 @@ void CalendarDialog::on_buttonBox_accepted()
qDebug() << "start bigger than end!"; qDebug() << "start bigger than end!";
} }
void CalendarDialog::on_calEnd_clicked(const QDate &date)
{
}
void CalendarDialog::on_calStart_activated(const QDate &date)
{
//null
}
void CalendarDialog::on_calEnd_selectionChanged() void CalendarDialog::on_calEnd_selectionChanged()
{ {
if(ui->calStart->selectedDate() > ui->calEnd->selectedDate()){ if(ui->calStart->selectedDate() >= ui->calEnd->selectedDate())
ui->lbl_status->setText("[ X ] The End of the semester is before it starts... "); {
changeLabeStatusIcon(false);
ui->lbl_status->setText(tr("The End of the semester can NOT be equal or before semester begins."));
this->isOK = false; this->isOK = false;
}else if(ui->calStart->selectedDate() == ui->calEnd->selectedDate()){ }
ui->lbl_status->setText("[ ! ] Semester Cannot start and end on the same date... Where are you studying?! :)"); else
this->isOK = false; {
}else{ changeLabeStatusIcon(true);
ui->lbl_status->setText("[ V ] Looks ok, Press OK"); ui->lbl_status->setText(tr("Looks ok, Press OK"));
this->isOK = true; this->isOK = true;
} }
}
void CalendarDialog::changeLabeStatusIcon(bool goodOrBad)
{
if (goodOrBad == true) //good date!
iconPixStatus.load(":/icons/iconV.png");
else
iconPixStatus.load(":/icons/iconX.png");
this->ui->labelIconStatus->setPixmap(iconPixStatus);
} }

View file

@ -21,16 +21,15 @@ public:
bool ok(); bool ok();
private slots: private slots:
void on_calStart_activated(const QDate &date);
void on_calStart_selectionChanged(); void on_calStart_selectionChanged();
void on_calStart_clicked(const QDate &date);
void on_buttonBox_accepted();
void on_calEnd_clicked(const QDate &date);
void on_calEnd_selectionChanged(); void on_calEnd_selectionChanged();
void on_buttonBox_accepted();
private: private:
void changeLabeStatusIcon(bool goodOrBad);
Ui::CalendarDialog *ui; Ui::CalendarDialog *ui;
bool isOK; bool isOK;
QPixmap iconPixStatus;
}; };
#endif // CALENDARDIALOG_H #endif // CALENDARDIALOG_H

View file

@ -6,79 +6,171 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>671</width> <width>577</width>
<height>343</height> <height>268</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Dialog</string> <string>Dialog</string>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout_3"> <widget class="QWidget" name="">
<item> <property name="geometry">
<layout class="QVBoxLayout" name="verticalLayout_3"> <rect>
<item> <x>10</x>
<widget class="QLabel" name="label_3"> <y>10</y>
<property name="text"> <width>551</width>
<string>&lt;h1&gt;&lt;b&gt;For The Best CSV Export, Please Enter Correctly</string> <height>235</height>
</property> </rect>
</widget> </property>
</item> <layout class="QVBoxLayout" name="verticalLayout_3">
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_2"> <widget class="QLabel" name="label_3">
<item> <property name="text">
<layout class="QVBoxLayout" name="verticalLayout"> <string>&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:9pt; font-weight:600;&quot;&gt;The dates were chosen according to JCE General Academic Calendar for the first semester&lt;/span&gt;&lt;/p&gt;</string>
<item> </property>
<layout class="QHBoxLayout" name="horizontalLayout_2"> </widget>
<item> </item>
<widget class="QLabel" name="label"> <item>
<property name="text"> <layout class="QVBoxLayout" name="verticalLayout_2">
<string>Semester Starts At:</string> <item>
</property> <layout class="QVBoxLayout" name="verticalLayout">
</widget> <item>
</item> <layout class="QHBoxLayout" name="horizontalLayout_2">
<item> <item>
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="labelSemesterStart">
<property name="text"> <property name="text">
<string>Semester Ends At:</string> <string>Semester Starts At:</string>
</property> </property>
</widget> </widget>
</item> </item>
</layout> <item>
</item> <widget class="QLabel" name="labelSemesterEnd">
<item> <property name="text">
<layout class="QHBoxLayout" name="horizontalLayout"> <string>Semester Ends At:</string>
<item> </property>
<widget class="QCalendarWidget" name="calStart"/> </widget>
</item> </item>
<item> </layout>
<widget class="QCalendarWidget" name="calEnd"/> </item>
</item> <item>
</layout> <layout class="QHBoxLayout" name="horizontalLayout">
</item> <item>
</layout> <widget class="QCalendarWidget" name="calStart">
</item> <property name="locale">
<item> <locale language="Hebrew" country="Israel"/>
<widget class="QDialogButtonBox" name="buttonBox"> </property>
<property name="orientation"> <property name="inputMethodHints">
<enum>Qt::Horizontal</enum> <set>Qt::ImhNone</set>
</property> </property>
<property name="standardButtons"> <property name="selectedDate">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> <date>
</property> <year>2014</year>
</widget> <month>10</month>
</item> <day>26</day>
<item> </date>
<widget class="QLabel" name="lbl_status"> </property>
<property name="text"> <property name="minimumDate">
<string>[ ! ] Start &amp; End cannot be the same</string> <date>
</property> <year>2000</year>
</widget> <month>9</month>
</item> <day>14</day>
</layout> </date>
</item> </property>
</layout> <property name="maximumDate">
</item> <date>
</layout> <year>2080</year>
<month>12</month>
<day>31</day>
</date>
</property>
<property name="gridVisible">
<bool>true</bool>
</property>
<property name="verticalHeaderFormat">
<enum>QCalendarWidget::NoVerticalHeader</enum>
</property>
</widget>
</item>
<item>
<widget class="QCalendarWidget" name="calEnd">
<property name="selectedDate">
<date>
<year>2015</year>
<month>2</month>
<day>1</day>
</date>
</property>
<property name="minimumDate">
<date>
<year>2000</year>
<month>9</month>
<day>14</day>
</date>
</property>
<property name="maximumDate">
<date>
<year>2080</year>
<month>12</month>
<day>31</day>
</date>
</property>
<property name="gridVisible">
<bool>true</bool>
</property>
<property name="verticalHeaderFormat">
<enum>QCalendarWidget::NoVerticalHeader</enum>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="labelIconStatus">
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lbl_status">
<property name="text">
<string>&lt;b&gt;Please chose your dates correctly&lt;/b&gt;</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
</widget> </widget>
<resources/> <resources/>
<connections> <connections>