Back to index

fet  5.18.0
constraintsubactivitiespreferredtimeslotsform.h
Go to the documentation of this file.
00001 /***************************************************************************
00002                           constraintsubactivitiespreferredtimeslots.h  -  description
00003                              -------------------
00004     begin                : 2008
00005     copyright            : (C) 2008 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 #ifndef CONSTRAINTSUBACTIVITIESPREFERREDTIMESLOTSFORM_H
00019 #define CONSTRAINTSUBACTIVITIESPREFERREDTIMESLOTSFORM_H
00020 
00021 #include "ui_constraintsubactivitiespreferredtimeslotsform_template.h"
00022 #include "timetable_defs.h"
00023 #include "timetable.h"
00024 #include "fet.h"
00025 
00026 class ConstraintSubactivitiesPreferredTimeSlotsForm : public QDialog, Ui::ConstraintSubactivitiesPreferredTimeSlotsForm_template  {
00027        Q_OBJECT
00028 public:
00029        TimeConstraintsList visibleConstraintsList;
00030 
00031        ConstraintSubactivitiesPreferredTimeSlotsForm(QWidget* parent);
00032        ~ConstraintSubactivitiesPreferredTimeSlotsForm();
00033 
00034        void refreshConstraintsListWidget();
00035 
00036        bool filterOk(TimeConstraint* ctr);
00037        
00038 public slots:
00039        void constraintChanged(int index);
00040        void addConstraint();
00041        void modifyConstraint();
00042        void removeConstraint();
00043        
00044        void help();
00045 };
00046 
00047 #endif