Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Rk

#1
Yes, I got the interface working. Thanks for your help. Here is what I have done (just collecting what you instructed in one place)

1) In src/interface/hoursform.cpp, replace 60 by 96 in all 4 places, then add more lines after line 119, in a similar manner.

2) Edit src/interface/hoursform_template.ui. You can modify it with a text/XML editor (maybe difficult), or open it with Qt Designer. There are 60 slots, add 36 more, similar to ones existing. Additional advice: the form is locked in a layout. Right click and select "Break layout". Then, after you finish work, select everything and put into a grid layout. It may also work without breaking the layout, but I am not sure.

3. In src/engine/timetable_defs.h, line 129, instead of 60 put how much you need (in my case 96)
eg: const int MAX_HOURS_PER_DAY=96;

4. recompile, of course, then run the new modified FET.

Here I am attaching a screenshot of the hours per day Window and the modified ui file (in case it helps any other).

Thanks a bunch :-)

Rk
#2
Thanks again.

Regarding the interface change, I am having some issues with copy/paste in Qt designer. Will check further on it and will let you know the result.

Regarding my exact requirement (creating that custom timetable), I succeeded creating it with your help and the only issue I found was that in the generated timetable, a single period shows all those time slots. i.e. the first period 8.00 to 8.45 shows 8.00, 8.05, 8.10 up to  8.45 on the page. Not sure it can be removed.

Anyways, thanks for all your helps.

Rk
#3
Thanks again for all your helps.

1. I will fix the duplicate entries and will try it out.

2. I am not a c++ programmer but I am very much interested to try it out, if you can provide step by step instructions. Please do that only if time permits.

Again, thanks :-)

Rk
#4
Thanks :-)

I have created the data.fet file and changed the Hours_List as follows:

<Hours_List>
        <Number>96</Number>
        <Name>08:00</Name>
        <Name>08:05</Name>
        ------
        ------
</Hours_List>

Then opened it with FET but still the max hours per day (FET -> Data -> Basic -> Days and Hours) is 60 and cannot be increased. Not sure what I am missing. I am attaching the data.fet file and hoping that you can point me to the right direction.

Thanks a bunch for your help.

Rk.
#5
Thanks for the quick reply but I am still confused. Here are my questions:

1. As you mentioned, I created an empty file data.fet but not sure about its structure. I need 96 hours per day, so do I need a file just like this?

<Hours_List>
        <Number>96</Number>
        <Name>08:00</Name>
        <Name>08:05</Name>
        -----
        -----
        <Name>16:00</Name>
</Hours_List>

Is that correct?

2. Where do I place this data.fet file? In the same location where the fet executable located?

Also I think the change I made in  src/engine/timetable_defs.h (   const int MAX_HOURS_PER_DAY=96) before compiling is correct.

Thanks,
Rk
#6
It take only 45 minutes to compile.  I am using a Macbook pro 13inch note book. 
I changed this line
const int MAX_HOURS_PER_DAY=96;
and compiled it.  I am not able to understand the procedure to creat .fet file.  Can you pls provide some more detials

Regards,
Rk
#7
Thanks for the help.  I will change the code and compile it.  It takes around 2 hours in my laptop to compile.  I will let you know result by tomorrow

Rk
#8
Pls i need advice to increase it to 96
Thanks for your help

Rk
#9
Thanks for the help

Lest common devisor will be 5 minutes according to our time and we have 8 hours every day so it will be more than 60 hours per day ! which i dont think can be accommodated,rt?

Rk
#10
Thanks but there is one more issue

On wed.day the duration of the periods also different.

Eg: Other days 1 hour is 9:30 - 10:15
on wed.days 1 hour will be 10:- 11:30, like there are some differences

Rk
#11
Get Help / Time and number of periods different
May 03, 2011, 07:04:11 AM
Hi

In my school on wed.day the  duration of the period and number is periods different from other days.  How to add this constrains?

Thanks in advance

Regards,
Rk
#12
Get Help / Re: Teacher substitution
April 18, 2011, 06:32:18 AM
Thanks for the reply.

Rk
#13
Get Help / Teacher substitution
April 18, 2011, 06:14:03 AM
HI

Fet is wonderful!!!!, its saves tons of time for us. 

I was just wondering if there is any way to find a teacher substitution in FET. There are situations where teachers will take leave for a day without any notice, and find it very hard to find a substitute teacher for the affected classes.  Is there is any way to find the teachers available on the particular times so that we can assign a substitute teacher in the existing time table

Thanks for the help
Rk