Back to index

fet  5.18.0
timetableviewteachersform.h
Go to the documentation of this file.
00001 /***************************************************************************
00002                           timetableviewteachersform.h  -  description
00003                              -------------------
00004     begin                : Wed May 14 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 TIMETABLEVIEWTEACHERSFORM_H
00019 #define TIMETABLEVIEWTEACHERSFORM_H
00020 
00021 #include <QResizeEvent>
00022 
00023 #include "ui_timetableviewteachersform_template.h"
00024 
00025 class TimetableViewTeachersForm : public QDialog, public Ui::TimetableViewTeachersForm_template
00026 {
00027        Q_OBJECT
00028 
00029 public:
00030        TimetableViewTeachersForm(QWidget* parent);
00031        ~TimetableViewTeachersForm();
00032        
00033        void lock(bool lockTime, bool lockSpace);
00034        
00035        void resizeRowsAfterShow();
00036 
00037        void detailActivity(QTableWidgetItem* item);
00038 
00039 public slots:
00040        void lockTime();
00041        void lockSpace();
00042        void lockTimeSpace();
00043        void updateTeachersTimetableTable();
00044 
00045        void teacherChanged(const QString& teacherName);
00046 
00047        void currentItemChanged(QTableWidgetItem* current, QTableWidgetItem* previous);
00048 
00049        void help();
00050 
00051 protected:
00052        void resizeEvent(QResizeEvent* event);
00053 };
00054 
00055 #endif