Back to index

fet  5.18.0
helponstudentsminhoursdaily.cpp
Go to the documentation of this file.
00001 /***************************************************************************
00002                           helponstudentsminhoursdaily.cpp  -  description
00003                              -------------------
00004     begin                : 2010
00005     copyright            : (C) 2010 by Lalescu Liviu
00006     email                : Please see http://lalescu.ro/liviu/ for details about contacting Liviu Lalescu (in particular, you can find here the e-mail address)
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #include "helponstudentsminhoursdaily.h"
00019 
00020 #include "longtextmessagebox.h"
00021 
00022 #include <QApplication>
00023 
00024 void HelpOnStudentsMinHoursDaily::help(QWidget* parent)
00025 {
00026        QString s=tr("Important information about constraints students (set) min hours daily:");
00027        
00028        s+="\n\n";
00029        
00030        s+=tr("Normally, these constraints do not allow empty days for students (and the check boxes in the dialogs are not selectable).");
00031        s+=" ";
00032        s+=tr("If you really need this constraint to allow empty days for students, you must enable the option from Settings->Advanced menu and select the check box.");
00033        s+="\n\n";
00034        s+=tr("Be very careful: if your school does not allow empty days for students or if a timetable does not exist with empty days for students, you MUST"
00035               " keep the constraints the usual way, without allowing empty days.");
00036        s+=" ";
00037        s+=tr("The reason is performance: speed of generation and the ability of FET to find a solution.");
00038        s+=" ";
00039        s+=tr("If you allow empty days to these constraints and a solution exists only with non-empty days, FET might not be able to find it.");
00040        s+="\n\n";
00041        s+=tr("For normal schools or high-schools, probably you won't need to enable this option. Maybe for universities you will need to enable this option.");
00042        s+="\n\n";
00043        s+=tr("So, remember: don't allow empty days unless you need it.");
00044        
00045        LongTextMessageBox::largeInformation(parent, tr("FET information"), s);
00046 }