1 /*************************************************************************** 2 constraintactivitiessameroomifconsecutiveform.h - description 3 ------------------- 4 begin : Sept 14, 2013 5 copyright : (C) 2013 by Lalescu Liviu 6 email : Please see https://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 Affero General Public License as * 13 * published by the Free Software Foundation, either version 3 of the * 14 * License, or (at your option) any later version. * 15 * * 16 ***************************************************************************/ 17 18 #ifndef CONSTRAINTACTIVITIESSAMEROOMIFCONSECUTIVEFORM_H 19 #define CONSTRAINTACTIVITIESSAMEROOMIFCONSECUTIVEFORM_H 20 21 #include "ui_constraintactivitiessameroomifconsecutiveform_template.h" 22 #include "timetable_defs.h" 23 #include "timetable.h" 24 #include "fet.h" 25 26 class ConstraintActivitiesSameRoomIfConsecutiveForm : public QDialog, Ui::ConstraintActivitiesSameRoomIfConsecutiveForm_template { 27 Q_OBJECT 28 public: 29 SpaceConstraintsList visibleConstraintsList; 30 31 ConstraintActivitiesSameRoomIfConsecutiveForm(QWidget* parent); 32 ~ConstraintActivitiesSameRoomIfConsecutiveForm(); 33 34 bool filterOk(SpaceConstraint* ctr); 35 36 public slots: 37 void constraintChanged(int index); 38 void addConstraint(); 39 void modifyConstraint(); 40 void removeConstraint(); 41 42 void filterChanged(); 43 44 // void help(); 45 }; 46 47 #endif 48