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

#1
hi, I'm interested in this topic,
and I need more help at this point:

If you mean you want the timetable from a week to week to be similar, it is not possible directly - you can try that by tricks/constraints.

anyone know what tricks to use.

situation
Week 264 days, marking time restrictions:
-a set of activities has a set of prefered time slots
-a set of activities has same starting hour (any days)
with this two constrains the activity is in the same hour, bat not in the same "day", becouse in the SET week-264 all days are diferent, no diferent days. T
#2
Programming Help / Re: Increase MAX_DAYS_PER_WEEK
October 10, 2013, 11:21:37 AM
src/interface/modifyactivityform.cpp, after line 88 and 128, add similar to above.
ok!! runtime no erro when clic modify activity bouton

Now is time to test FET whit end users.
I will explain the idea of ​​a week of 264 days, and that they try to apply it. And I let you know.

one more thing that could help us:
Restrictions may like putting massively? because I feel that this part of the work will be the heaviest.
#3
Programming Help / Re: Increase MAX_DAYS_PER_WEEK
October 09, 2013, 12:39:54 PM
In addactivitityform.cpp after line 108 add to above similar, then after line 148 add similar to above.
I have
Then, open addactivityform_template.ui with Qt designer. In subactivitiesTabWidget add similar tabs.
I have too

Compile ok, in run time I can make activities. but modify activities the program close.
I work in ububtu 12.04

then i open modifyactivityform_template.ui with Qt designer. and In subactivitiesTabWidget I added similar tabs

but spend the same in run time when clic modify activities.

I not know how run FET in QT-dessigner for follow errors in runtime (my programing experiance is qbasic, and years ago, litle conceps in C)

no other rutines that should be modified?

thank you very much
#4
Programming Help / Re: Increase MAX_DAYS_PER_WEEK
September 24, 2013, 09:53:32 PM
thanks for the reply so fast

I'll prove what you say and will comment

Xavier
#5
Programming Help / Increase MAX_DAYS_PER_WEEK
September 24, 2013, 04:02:35 PM
Hi,

We need make a timmetable witn a variable duration subjects. I read forum and i undestand is need to have all scolar period as a one week.

I increase  MAX_DAYS_PER_WEEK in timetable_defs.h, compile, modify the FET file and not open the days dialog box never.  And i thik ok this.

But wen i add activities, i need inrease MAX_SPLIT_OF_AN_ACTIVITY too. For this, i changed this value in timetable_defs.h too, and with qt4 change code in addactivityform.cpp, adding similars lines in functions AddActivityForm::AddActivityForm. wen i compile show error:

interface/addactivityform.cpp:114:17: error: 'duration36SpinBox' was not declared in this scope

for each line: 36, 37, 38.... to 200 i need.

Can you help me?

thank you very much