1
/***************************************************************************
2
constraintteachermaxhourscontinuouslyform.h - description
5
copyright : (C) 2007 by Lalescu Liviu
6
email : Please see http://lalescu.ro/liviu/ for details about contacting Liviu Lalescu (in particular, you can find here the e-mail address)
7
***************************************************************************/
9
/***************************************************************************
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
16
***************************************************************************/
18
#ifndef CONSTRAINTTEACHERMAXHOURSCONTINUOUSLYFORM_H
19
#define CONSTRAINTTEACHERMAXHOURSCONTINUOUSLYFORM_H
21
#include "constraintteachermaxhourscontinuouslyform_template.h"
22
#include "timetable_defs.h"
23
#include "timetable.h"
25
//#include "fetmainform.h"
27
#include <q3combobox.h>
28
#include <qmessagebox.h>
29
#include <q3groupbox.h>
31
#include <qcheckbox.h>
32
#include <qpushbutton.h>
33
#include <qlineedit.h>
34
#include <q3textedit.h>
35
#include <q3listbox.h>
37
class ConstraintTeacherMaxHoursContinuouslyForm : public ConstraintTeacherMaxHoursContinuouslyForm_template {
39
TimeConstraintsList visibleConstraintsList;
41
ConstraintTeacherMaxHoursContinuouslyForm();
42
~ConstraintTeacherMaxHoursContinuouslyForm();
44
void constraintChanged(int index);
46
void modifyConstraint();
47
void removeConstraint();
51
bool filterOk(TimeConstraint* ctr);