"Fossies" - the Fresh Open Source Software Archive

Member "fet-5.48.0/src/interface/addconstraintactivitypreferredroomsform.h" (12 Feb 2020, 1931 Bytes) of package /linux/privat/fet-5.48.0.tar.bz2:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "addconstraintactivitypreferredroomsform.h" see the Fossies "Dox" file reference documentation.

    1 /***************************************************************************
    2                           addconstraintactivitypreferredroomsform.h  -  description
    3                              -------------------
    4     begin                : March 28, 2005
    5     copyright            : (C) 2005 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 ADDCONSTRAINTACTIVITYPREFERREDROOMSFORM_H
   19 #define ADDCONSTRAINTACTIVITYPREFERREDROOMSFORM_H
   20 
   21 #include "ui_addconstraintactivitypreferredroomsform_template.h"
   22 #include "timetable_defs.h"
   23 #include "timetable.h"
   24 #include "fet.h"
   25 
   26 class AddConstraintActivityPreferredRoomsForm : public QDialog, Ui::AddConstraintActivityPreferredRoomsForm_template  {
   27     Q_OBJECT
   28 public:
   29     AddConstraintActivityPreferredRoomsForm(QWidget* parent);
   30     ~AddConstraintActivityPreferredRoomsForm();
   31 
   32     void updateRoomsListWidget();
   33     
   34     bool filterOk(Activity* a);
   35 
   36 public slots:
   37     void addRoom();
   38     void removeRoom();
   39 
   40     void addConstraint();
   41 
   42     void filterChanged();
   43     
   44     void clear();
   45     
   46 private:
   47     //the id's of the activities listed in the activities combo
   48     QList<int> activitiesList;
   49 };
   50 
   51 #endif