00001 /**************************************************************************** 00002 ** Created: Sun Jul 21 18:59:50 2002 00003 ** by: L.J. Potter <ljp@llornkcor.com> 00004 ** copyright : (C) 2002 by ljp 00005 email : ljp@llornkcor.com 00006 * This program is free software; you can redistribute it and/or modify * 00007 * it under the terms of the GNU General Public License as published by * 00008 * the Free Software Foundation; either version 2 of the License, or * 00009 * (at your option) any later version. * 00010 ***************************************************************************/ 00011 #ifndef BACDIALOG_H 00012 #define BACDIALOG_H 00013 00014 #include <qvariant.h> 00015 #include <qdialog.h> 00016 class QVBoxLayout; 00017 class QHBoxLayout; 00018 class QGridLayout; 00019 class QComboBox; 00020 class QLCDNumber; 00021 class QLabel; 00022 class QPushButton; 00023 class QSpinBox; 00024 00025 class BacDialog : public QDialog 00026 { 00027 Q_OBJECT 00028 00029 public: 00030 BacDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); 00031 ~BacDialog(); 00032 00033 QSpinBox* NumberSpinBox; 00034 QLabel* TextLabel1; 00035 QSpinBox* WeightSpinBox; 00036 QLabel* TextLabel2; 00037 QSpinBox* TimeSpinBox; 00038 QLabel* TextLabel3; 00039 QComboBox* GenderComboBox; 00040 QLabel* TextLabel4; 00041 QComboBox* TypeDrinkComboBox; 00042 QLabel* TextLabel1_2; 00043 QPushButton* PushButton1; 00044 QLCDNumber* LCDNumber1; 00045 QComboBox *weightUnitsCombo; 00046 QLabel *weightUnitsLabel; 00047 protected: 00048 QVBoxLayout* Layout7; 00049 QHBoxLayout* Layout1; 00050 QHBoxLayout* Layout2; 00051 QHBoxLayout* Layout3; 00052 QHBoxLayout* Layout4; 00053 QHBoxLayout* Layout6; 00054 00055 protected slots: 00056 void calculate(); 00057 00058 }; 00059 00060 #endif // BACDIALOG_H
1.4.2