Back to index

fet  5.18.0
activitiesform.h
Go to the documentation of this file.
00001 /***************************************************************************
00002                           activitiesform.h  -  description
00003                              -------------------
00004     begin                : Wed Apr 23 2003
00005     copyright            : (C) 2003 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 ACTIVITIESFORM_H
00019 #define ACTIVITIESFORM_H
00020 
00021 #include "ui_activitiesform_template.h"
00022 
00023 #include "activity.h"
00024 
00025 #include <QSet>
00026 #include <QString>
00027 
00028 class ActivitiesForm : public QDialog, Ui::ActivitiesForm_template{
00029        Q_OBJECT
00030        
00031 private:
00032        QSet<QString> showedStudents;
00033        
00034 public:
00035        ActivitiesList visibleActivitiesList;
00036 
00037        ActivitiesForm(QWidget* parent, const QString& teacherName, const QString& studentsSetName, const QString& subjectName, const QString& activityTagName);
00038        ~ActivitiesForm();
00039 
00040        bool filterOk(Activity* act);
00041 
00042 public slots:
00043        void addActivity();
00044        void removeActivity();
00045        void modifyActivity();
00046        void activityChanged();
00047        void filterChanged();
00048        
00049        void studentsFilterChanged();
00050        
00051        void help();
00052        
00053        void activityComments();
00054 };
00055 
00056 #endif