diff --git a/main/CourseTab/coursestablemanager.cpp b/main/CourseTab/coursestablemanager.cpp index 155ea52..aff749f 100644 --- a/main/CourseTab/coursestablemanager.cpp +++ b/main/CourseTab/coursestablemanager.cpp @@ -17,7 +17,7 @@ coursesTableManager::coursesTableManager(QTableWidget *ptr, user *usrPtr) courseTBL->verticalHeader()->setVisible(false); courseTBL->setSelectionMode(QAbstractItemView::SingleSelection); courseTBL->setShowGrid(true); - courseTBL->setStyleSheet("QTableView {selection-background-color: red;}"); + courseTBL->setStyleSheet("QTableView {selection-background-color: #004080;}"); graph = new gradegraph(ptr); } @@ -56,6 +56,7 @@ void coursesTableManager::setCoursesList(QString &html) gp = new GradePage(html); this->gpCpy = new GradePage(*gp); insertJceCoursesIntoTable(); + this->courseTBL->setCurrentCell(0,0); } /** * @brief coursesTableManager::changes when user changes the table manually it updates it @@ -144,6 +145,7 @@ bool coursesTableManager::changes(QString change, int row, int col) break; } } + this->courseTBL->setCurrentCell(row+1,col); //set focus to next grade return isNumFlag; } diff --git a/main/HelpBox/helpbox.ui b/main/HelpBox/helpbox.ui index 743a8a7..987cf28 100644 --- a/main/HelpBox/helpbox.ui +++ b/main/HelpBox/helpbox.ui @@ -11,7 +11,7 @@ - Help Dialog + JCE Manager @@ -40,7 +40,7 @@ - + <html> <head></head> @@ -127,7 +127,7 @@ - + 0 @@ -135,7 +135,7 @@ - <html><head/><body><p align="center"><span style=" font-size:18pt; font-weight:600; text-decoration: underline;">Help Dialog</span></p></body></html> + <html><head/><body><p><center><img src=":/icons/help.png" height="18" width="18"/><span style=" font-size:18pt; font-weight:600;"> Help Dialog </span><img src=":/icons/help.png" height="18" width="18"/></p></body></html> diff --git a/main/mainscreen.cpp b/main/mainscreen.cpp index d42f611..4acb76a 100644 --- a/main/mainscreen.cpp +++ b/main/mainscreen.cpp @@ -383,19 +383,6 @@ void MainScreen::on_howtoButton_clicked() { helpBox help(this); help.exec(); -// qDebug() << Q_FUNC_INFO; -// QMessageBox::information( -// this,"How To", -// "" -// +tr("Help Guide")+ -// "