Back to index

fet  5.18.0
splityearform.h
Go to the documentation of this file.
00001 /***************************************************************************
00002                           splityearform.h  -  description
00003                              -------------------
00004     begin                : 10 Aug 2007
00005     copyright            : (C) 2007 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 SPLITYEARFORM_H
00019 #define SPLITYEARFORM_H
00020 
00021 #include <QString>
00022 
00023 #include "ui_splityearform_template.h"
00024 
00025 #include "timetable_defs.h"
00026 #include "timetable.h"
00027 #include "fet.h"
00028 
00029 class SplitYearForm : public QDialog, Ui::SplitYearForm_template  {
00030        Q_OBJECT
00031 
00032 private:
00033        QString _sep;
00034 
00035        int _nCategories;
00036        
00037        int _nDiv1;
00038        int _nDiv2;
00039        int _nDiv3;
00040        
00041        QString _cat1div1;
00042        QString _cat1div2;
00043        QString _cat1div3;
00044        QString _cat1div4;
00045        QString _cat1div5;
00046        QString _cat1div6;
00047        QString _cat1div7;
00048        QString _cat1div8;
00049        QString _cat1div9;
00050        QString _cat1div10;
00051        QString _cat1div11;
00052        QString _cat1div12;
00053 
00054        QString _cat2div1;
00055        QString _cat2div2;
00056        QString _cat2div3;
00057        QString _cat2div4;
00058        QString _cat2div5;
00059        QString _cat2div6;
00060 
00061        QString _cat3div1;
00062        QString _cat3div2;
00063        QString _cat3div3;
00064        QString _cat3div4;
00065        QString _cat3div5;
00066        QString _cat3div6;
00067        
00068 public:
00069        QString year;
00070        
00071        SplitYearForm(QWidget* parent, const QString year);
00072        ~SplitYearForm();
00073        
00074 public slots:
00075        void ok();
00076        void numberOfCategoriesChanged();
00077        void category1Changed();
00078        void category2Changed();
00079        void category3Changed();
00080        
00081        void help();
00082        void reset();
00083 };
00084 
00085 #endif