~ubuntu-branches/ubuntu/quantal/fet/quantal

« back to all changes in this revision

Viewing changes to src/interface/constraintteachermaxhourscontinuouslyform.h

  • Committer: Bazaar Package Importer
  • Author(s): Iain Lane
  • Date: 2008-05-05 22:28:46 UTC
  • mfrom: (1.1.6 upstream) (3.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20080505222846-l34al11t2vivuh3h
Tags: 5.5.5-1ubuntu1
* Merge from debian unstable (LP: #227080), remaining changes:
  - Include .desktop file and logo

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
                          constraintteachermaxhourscontinuouslyform.h  -  description
 
3
                             -------------------
 
4
    begin                : July 19, 2007
 
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
 ***************************************************************************/
 
8
 
 
9
/***************************************************************************
 
10
 *                                                                         *
 
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.                                   *
 
15
 *                                                                         *
 
16
 ***************************************************************************/
 
17
 
 
18
#ifndef CONSTRAINTTEACHERMAXHOURSCONTINUOUSLYFORM_H
 
19
#define CONSTRAINTTEACHERMAXHOURSCONTINUOUSLYFORM_H
 
20
 
 
21
#include "constraintteachermaxhourscontinuouslyform_template.h"
 
22
#include "timetable_defs.h"
 
23
#include "timetable.h"
 
24
#include "fet.h"
 
25
//#include "fetmainform.h"
 
26
 
 
27
#include <q3combobox.h>
 
28
#include <qmessagebox.h>
 
29
#include <q3groupbox.h>
 
30
#include <qspinbox.h>
 
31
#include <qcheckbox.h>
 
32
#include <qpushbutton.h>
 
33
#include <qlineedit.h>
 
34
#include <q3textedit.h>
 
35
#include <q3listbox.h>
 
36
 
 
37
class ConstraintTeacherMaxHoursContinuouslyForm : public ConstraintTeacherMaxHoursContinuouslyForm_template  {
 
38
public:
 
39
        TimeConstraintsList visibleConstraintsList;
 
40
 
 
41
        ConstraintTeacherMaxHoursContinuouslyForm();
 
42
        ~ConstraintTeacherMaxHoursContinuouslyForm();
 
43
 
 
44
        void constraintChanged(int index);
 
45
        void addConstraint();
 
46
        void modifyConstraint();
 
47
        void removeConstraint();
 
48
 
 
49
        void filterChanged();
 
50
 
 
51
        bool filterOk(TimeConstraint* ctr);
 
52
};
 
53
 
 
54
#endif