
Multicalendar QTableWidget
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
Can save time sheet on sql database or simple on file import / export.
QDataStream Qt_4_2 run on linux and window.
On Sheet can contain 10 year or more depend from year range setting ...
line 375 from ( void Calendar::init() )
CalendarStructure.cpp
QDate now = QDate::currentDate();
ActiveYear = now.year();
MaxY = ActiveYear + 8;
MinY = ActiveYear - 3;
each year page contain 420 day one year
sheet having 11 year x 420 day.
Any work timeline is saved as id nummer.
int DayCell::ID()
{
QDate unixtime = QDate(1970,1,1);
return dax.toJulianDay() - unixtime.toJulianDay();
}
Day from unixdate null to date x.
Please login or register to add a comment or rating