Initial Commit
[HECS.git] / HeatingDialog.h
blob26ec450fcaddc4bbcbfcc066ecc65ce713320801
1 /***************************************************************************
2 * *
3 * HeatingDialog.h Copyright (C) 2008 by Jon Rumble *
4 * j.w.rumble@reading.ac.uk *
5 * *
6 * *
7 * This file is part of HECS, *
8 * *
9 * HECS is free software: you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation, either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 * *
15 * HECS is distributed in the hope that it will be useful, *
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
18 * GNU General Public License for more details. *
19 * *
20 * You should have received a copy of the GNU General Public License *
21 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
22 ***************************************************************************/
24 #ifndef HEATINGDIALOG_H
25 #define HEATINGDIALOG_H
27 #include "ui_heating.h"
28 #include "RdSap.h"
29 #include "Misc.h"
30 #include <QDialog>
31 #include <QString>
32 #include <QRegExp>
33 #include <QRegExpValidator>
34 #include <QHash>
35 #include <QHashIterator>
36 #include <QList>
37 //#include "Boiler.h"
38 #include "Sedbuk.h"
40 class HeatingDialog : public QDialog
43 Q_OBJECT
45 public:
46 HeatingDialog (QWidget *parent =0);
47 void setModel(RdSap *modelIn);
48 //virtual ~HeatingDialog ();
50 public slots:
51 void onBoilerFuelTypeCbxChange();
52 void onBoilerModelCbxChange();
53 void onBoilerManufacturerCbxChange();
56 signals:
58 private:
59 Ui::HeatingDialog ui;
60 RdSap *sapModel;
61 //SedbukList *sedbukHash;
62 void initVars();
63 int m_fuelFlag;
65 void buildModelTable();
66 //Internal Vars for widget
71 #endif //END OF HEATINGDIALOG_H