Back to index

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