Using TO-DO plugin in QT.

This commit is contained in:
liranbg 2014-10-12 07:03:34 +03:00
parent 60fa80aa5c
commit bec16503b7
8 changed files with 19 additions and 6 deletions

View file

@ -1,5 +1,8 @@
#include "coursestablemanager.h" #include "coursestablemanager.h"
/*
* TODO: revert gpa to origin
*
*/
coursesTableManager::coursesTableManager(QTableWidget *ptr, user *usrPtr) coursesTableManager::coursesTableManager(QTableWidget *ptr, user *usrPtr)
{ {
this->gp = NULL; this->gp = NULL;

View file

@ -5,6 +5,8 @@
#include "../src/appDatabase/savedata.h" #include "../src/appDatabase/savedata.h"
#include "../src/appDatabase/jce_logger.h" #include "../src/appDatabase/jce_logger.h"
//TODO: Project todo list
//update translation, update site spelling, release notes, update help
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
#ifdef QT_DEBUG // Incase QtCreator is in Debug mode all qDebug messages will go to terminal #ifdef QT_DEBUG // Incase QtCreator is in Debug mode all qDebug messages will go to terminal

View file

@ -1,6 +1,6 @@
#include "mainscreen.h" #include "mainscreen.h"
#include "ui_mainscreen.h" #include "ui_mainscreen.h"
//TODO: busy flag to aboid overload request
MainScreen::MainScreen(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainScreen) MainScreen::MainScreen(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainScreen)
{ {

View file

@ -8,7 +8,7 @@
* Message types cam be: * Message types cam be:
* *
* - DEBUG * - DEBUG
* - WARNING * - WARNINGS
* - CRITICAL * - CRITICAL
* - FATAL * - FATAL
* *

View file

@ -1,5 +1,8 @@
#include "examDialog.h" #include "examDialog.h"
#include "ui_examDialog.h" #include "ui_examDialog.h"
/*
*TODO: exam revert, add to csv exportation, dialog size
*/
/** /**
* @brief examDialog::examDialog * @brief examDialog::examDialog
* @param parent * @param parent

View file

@ -1,5 +1,7 @@
#include "calendarSchedule.h" #include "calendarSchedule.h"
/*
* BUG: fix resizing when showing error on dates validation
*/
calendarSchedule::calendarSchedule(QWidget *parent) : QTableWidget(parent) calendarSchedule::calendarSchedule(QWidget *parent) : QTableWidget(parent)
{ {
QStringList days,hours; QStringList days,hours;

View file

@ -1,6 +1,9 @@
#include "gradegraph.h" #include "gradegraph.h"
#include "ui_gradegraph.h" #include "ui_gradegraph.h"
/*
* TODO: make graph understandable
* BUG: graph bug when theres small range of years
*/
gradegraph::gradegraph(QWidget *parent) : gradegraph::gradegraph(QWidget *parent) :
QDialog(parent), QDialog(parent),
ui(new Ui::gradegraph) ui(new Ui::gradegraph)

View file

@ -14088,7 +14088,7 @@ void QCPColorScale::rescaleDataRange(bool onlyVisibleMaps)
QList<QCPColorMap*> maps = colorMaps(); QList<QCPColorMap*> maps = colorMaps();
QCPRange newRange; QCPRange newRange;
bool haveRange = false; bool haveRange = false;
int sign = 0; // TODO: should change this to QCPAbstractPlottable::SignDomain later (currently is protected, maybe move to QCP namespace) int sign = 0; // should change this to QCPAbstractPlottable::SignDomain later (currently is protected, maybe move to QCP namespace)
if (mDataScaleType == QCPAxis::stLogarithmic) if (mDataScaleType == QCPAxis::stLogarithmic)
sign = (mDataRange.upper < 0 ? -1 : 1); sign = (mDataRange.upper < 0 ? -1 : 1);
for (int i=0; i<maps.size(); ++i) for (int i=0; i<maps.size(); ++i)