1 /***************************************************************************
2                           modifyconstraintactivitytagpreferredroomsform.h  -  description
3                              -------------------
4     begin                : 2009
5     copyright            : (C) 2009 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 MODIFYCONSTRAINTACTIVITYTAGPREFERREDROOMSFORM_H
19 #define MODIFYCONSTRAINTACTIVITYTAGPREFERREDROOMSFORM_H
20 
21 #include "ui_modifyconstraintactivitytagpreferredroomsform_template.h"
22 #include "timetable_defs.h"
23 #include "timetable.h"
24 #include "fet.h"
25 
26 class ModifyConstraintActivityTagPreferredRoomsForm : public QDialog, Ui::ModifyConstraintActivityTagPreferredRoomsForm_template  {
27 	Q_OBJECT
28 public:
29 	ModifyConstraintActivityTagPreferredRoomsForm(QWidget* parent, ConstraintActivityTagPreferredRooms* ctr);
30 	~ModifyConstraintActivityTagPreferredRoomsForm();
31 
32 	void updateRoomsListWidget();
33 
34 public slots:
35 	void addRoom();
36 	void removeRoom();
37 
38 	void ok();
39 	void cancel();
40 
41 	void clear();
42 private:
43 	ConstraintActivityTagPreferredRooms* _ctr;
44 };
45 
46 #endif
47