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 - aang

#1
Get Help / Re: overlapping subgroups
January 19, 2011, 03:48:54 AM
What if i have option 3 where a student picks any two of three subjects?
#2
General Stuff / Re: Complex Student Set grouping
February 02, 2011, 10:29:46 AM
just saw your reply. i already found a workaround. Added the control easily thanks to your neat programming. God bless you so.
#3
General Stuff / Re: Complex Student Set grouping
February 01, 2011, 12:27:05 PM
Hi Liviu,

I found out that the method that writeStudents in timetableexport.cpp goes through all the StudentNames set for an activity and writes them. I would like to add a 'display name' field in the modify and add activity dialogs so that this method checks if the display-name is not empty then it writes it to the xhtml rather than adding the individual student-sets. Am not very familiar with Qt (am a .NET C# person). Would you kindly help tell me how many files these changes will affect and which ones they are and how. Will greatly appreciate. I think Volker is not available. I just need the guidance and then i will make the changes and build. Just downloaded Qt 4.7 SDK and the addin for Visual studio (i guess you understand why :) ).

Thanks.
#4
General Stuff / Re: Complex Student Set grouping
January 29, 2011, 04:51:39 AM
Hi Liviu, the method worked and generated the timetable correctly. I have a problem though in the formatting of the html files and consequently the printing. Now, an activity will be printed with six subgroups on the timetable making it unusually wide(or tall) and the subgroup names do not actually reflect the student set that should be displayed e.g Mwaniki-CRE-4 E BIOCRE1, 4 E PHYCRE1, 4 W BIOCRE1, 4 W PHYCRE1, 4 N BIOCRE1, 4 N PHYCRE1, 4 S BIOCRE1, 4 S PHYCRE1
instead of Mwaniki-CRE-4 CRE1 or Mwaniki-CRE-4. This means i edit the timetable manually after every generation to make this changes. I suggest adding a displayname tag to the activity which defaults to the current display name(without the activityID :) ) and using this to determine what is displayed for the activity.

The other thing is can i get a subject color propagated to the entire activity td so that i can color the timetable depending on the subject only. so that every activity of the Subject will have one color and not just the subject span only while the student set, location and teacher spans remain uncolored.

Lastly, for activities with same starting time is it possible to have the in one column/row so that the number of rows/columns is fixed to the either the number of days or lessons(depending on the selected timetable. This way it is easier to print.

I have checked the source code and i could trace where writing to the HTML and CSS files is taking place.

Love your tidy programming!
#5
General Stuff / Re: Complex Student Set grouping
January 21, 2011, 02:26:16 PM
Hi Liviu,

Thanks so much. I'd originally thought of this approach but stalled on seeing so many subgroups.
The last category should be BIOCRE1,BIOCRE2, BIOPHY, PHYCRE1, PHYCRE2

Regards,
#6
General Stuff / Re: Complex Student Set grouping
January 21, 2011, 10:37:25 AM
Allow me to share with you this file.

This is what i was trying originally. The problem is that if you generate, it is overlapping AGR/COMP/BUS/MUS with GEO/HIST or CRE1/CRE2. (try generate from the file). Kindly advise from here.
#7
General Stuff / Re: Complex Student Set grouping
January 21, 2011, 10:18:14 AM
QuoteFor bio, phy and cre, maybe another solution (suggested also here: http://lalescu.ro/liviu/fet/forum/index.php?topic=366.msg2041#msg2041 ):

I think in this case the activities for bio, phy and cre should be non-overlapping. So, just add three activities, subjects bio, phy and cre respectively, with all year 4 for each one, so they will be non-overlapping, and consider for yourself that in each activity there will be only a part of year 4.

they can overlap, this is how the manual timetable works.
Bio and Phy each have 5 lessons [1 theory and 2 double lesson practicals]. When say E/W are taking bio theory, N/S are taking physics theory and all the CRE1 students have CRE simultaneously. Later E/W have phy while N/S have bio and all CRE2 students have CRE.
When E has a bio practical, they take it with one lesson of CRE1 followed by a gap. When E has a phy practical they take one lesson of CRE2 followed by a gap.

I have noticed that the above plan is in err. So i want to currently ignore CRE it will be done manually. But the number of activities are more than the number of available slots. Some of these activities are simultaneous. What am i missing?
#8
General Stuff / Re: Complex Student Set grouping
January 21, 2011, 08:18:48 AM
QuoteI think of this: year 4. The first group of subjects (agr, bus, mus, bus) - you don't need to create a category for them. Just add an activity with Y4, 4 teachers, and maybe consider 3 additional activities with no teachers/students, same starting time, so that they occupy 4 rooms.

Category (geo, hist), maybe same as above.

Category maybe: bio, phy, cre: make 3 divisions: bio_phy, bio_cre, phy_cre, or bio_phy, bio_cre1, bio_cre2, phy_cre1, phy_cre2.

If they swap subjects, maybe you can combine like the first group of subjects (agr, bus, mus, bus above).
Thanks so much for the reply. The last solution seems beautiful and understandable. The category (geo,hist) also seems fine.
Let me try out and give a feedback.
#9
General Stuff / Complex Student Set grouping
January 18, 2011, 03:35:26 PM

This software is quite a piece of work. thank you.
I have a complex scenario that i really need help on.

Our school has 4 years[1,2,3,4]. y 1 and 2 have 5 classes[e,w,n,s,x], year 3 has 6 [e,w,n,s,x,y] and year 4 has 4[e,w,n,s]. In year 4, the setup is as below:

All students choose on of (agr, bus, mus, bus) which are done simultaneously (5 lessons each) and the 4 classes combine in one room for each of the subjects with the same teacher. They all choose between (geo, hist) which are also done at the same time (4 lessons each) and 2 classes are combined for one teacher for each of the subjects.

Also they can take either two of bio, phy and cre but not the 3. Bio and Phy are taught by different teachers for each form but CRE students are divided into two groups taught by two different teachers at either different times or can be simultaneous. Normally the setup is that while two classes take Bio, the other two take Phy and all of the take CRE (with one teacher) in one lesson and the next lesson they swap bio and phy with a different CRE teacher.

The rest of the subjects are compulsory (eng, kis, mat, chem) and are taught by 1 teacher per class per subject.