"Fossies" - the Fresh Open Source Software Archive

Member "fet-5.48.0/src/interface/addconstraintactivitiespreferredtimeslotsform.h" (9 Oct 2017, 2132 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 "addconstraintactivitiespreferredtimeslotsform.h" see the Fossies "Dox" file reference documentation.

    1 /***************************************************************************
    2                           addconstraintactivitiespreferredtimeslotsform.h  -  description
    3                              -------------------
    4     begin                : 15 May 2004
    5     copyright            : (C) 2004 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 ADDCONSTRAINTACTIVITIESPREFERREDTIMESLOTSFORM_H
   19 #define ADDCONSTRAINTACTIVITIESPREFERREDTIMESLOTSFORM_H
   20 
   21 #include "ui_addconstraintactivitiespreferredtimeslotsform_template.h"
   22 #include "timetable_defs.h"
   23 #include "timetable.h"
   24 #include "fet.h"
   25 
   26 class AddConstraintActivitiesPreferredTimeSlotsForm : public QDialog, Ui::AddConstraintActivitiesPreferredTimeSlotsForm_template  {
   27     Q_OBJECT
   28 
   29 public:
   30     AddConstraintActivitiesPreferredTimeSlotsForm(QWidget* parent);
   31     ~AddConstraintActivitiesPreferredTimeSlotsForm();
   32 
   33     void updateTeachersComboBox();
   34     void updateStudentsComboBox();
   35     void updateSubjectsComboBox();
   36     void updateActivityTagsComboBox();
   37 
   38     void colorItem(QTableWidgetItem* item);
   39 
   40 public slots:
   41     void addConstraint();
   42     
   43     void itemClicked(QTableWidgetItem* item);
   44     void horizontalHeaderClicked(int col);
   45     void verticalHeaderClicked(int row);
   46     
   47     void setAllSlotsAllowed();
   48     void setAllSlotsNotAllowed();
   49 
   50     void on_durationCheckBox_toggled();
   51 };
   52 
   53 #endif