- Page principale
- Classes
- Fichiers
- Pages associées

# /home/eric/Bureau/MedinTux-V-2.00/Plug/Compta2/compta/EspecesCalculator.h

Aller à la documentation de ce fichier.

    00001  /********************************* EspecesCalculator.h ***************************
    00002  *   This program is free software; you can redistribute it and/or modify         *
    00003  *   it under the terms of the CeCILL Version 2                     *
    00004  *   License (GPL compatible)                                                     *
    00005  *                              http://www.cecill.info/                           *
    00006  *   as published by :                                                            *
    00007  *                                                                                *
    00008  *   Commissariat a l'Energie Atomique                                            *
    00009  *   - CEA,                                                                       *
    00010  *                            31-33 rue de la Federation, 75752 PARIS cedex 15.   *
    00011  *                            FRANCE                                              *
    00012  *   Centre National de la Recherche Scientifique                                 *
    00013  *   - CNRS,                                                                      *
    00014  *                            3 rue Michel-Ange, 75794 Paris cedex 16.            *
    00015  *                            FRANCE                                              *
    00016  *   Institut National de Recherche en Informatique et en Automatique             *
    00017  *   - INRIA,                                                                     *
    00018  *                            Domaine de Voluceau, Rocquencourt, BP 105, 78153    *
    00019  *                            FRANCE                                              *
    00020  *                                                                                *
    00021  *         This program is distributed in the hope that it will be useful,        *
    00022  *         but WITHOUT ANY WARRANTY; without even the implied warranty of         *
    00023  *         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                   *
    00024  *         CeCILL  License (GPL compatible) for more details.                     *
    00025  *                                                                                *
    00026  **********************************************************************************/
    00036 #ifndef ESPECESCALCULATOR_H
    00037 #define ESPECESCALCULATOR_H
    00038 #include <qobject.h>
    00039 #include <qdialog.h>
    00040 #include <qwidget.h>
    00041 #include <qspinbox.h>
    00042 #include <qlabel.h>
    00043 #include <qlayout.h>
    00044 #include <qlineedit.h>
    00045 #include <qpushbutton.h>
    00046 #include <qmessagebox.h>
    00047 #include <qcombobox.h>
    00048 #include <qhbox.h>
    00049 #include <qdatetime.h>
    00050 #include <qtable.h>
    00051
    00052
    00053
    00054 #include "Defines.h"
    00055 #include "CApp.h"
    00056 #include "Listes.h"
    00057
    00064 class EspecesCalculator: public QDialog
    00065 {
    00066     Q_OBJECT
    00067
    00068 public:
    00069     EspecesCalculator( ComptaMoteurBase* pComptaMoteurBase, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
    00070
    00071     ~EspecesCalculator();
    00072
    00073
    00074         QString         getForBlobDepot         ();
    00075         QString         getDateObserv           ();
    00076         void            setDateObserv           (QString dt_str);
    00077         void            setDateObserv           (QDate dt);
    00078         void            getComboComptes         ();
    00079
    00080 public slots:
    00081         double  calculTotalEspeces      ();
    00082         void    saveDepotEspeces        ();
    00083         void    mois_activated          (int id);
    00084         void    annee_activated         (int id);
    00085
    00086 public:
    00087     // DONNEES
    00088     QLineEdit*          m_LineEdit_Total;
    00089     QPushButton*        butSauvDepot;
    00090     QPushButton*        butAnnule;
    00091     QComboBox*          m_Combo_Jour;
    00092     QComboBox*          m_Combo_Mois;
    00093     QComboBox*          m_Combo_Annee;
    00094     QComboBox*          m_Combo_ListeComptes;
    00095     COMPTES_LISTE*      m_Comptes_Liste;
    00096     ComptaMoteurBase*   m_pComptaMoteurBase;
    00097     QTable*             m_tabEsp;
    00098
    00099
    00100
    00101 };
    00102
    00103 #endif