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

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

Aller à la documentation de ce fichier.

    00001  /********************************* Depots.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 DEPOTS_H
    00037 #define DEPOTS_H
    00038
    00039 #include <qobject.h>
    00040 #include <qdialog.h>
    00041 #include <qwidget.h>
    00042 #include <qlayout.h>
    00043 #include <qmessagebox.h>
    00044 #include <qlabel.h>
    00045 #include <qpushbutton.h>
    00046 #include <qpopupmenu.h>
    00047 #include <qcombobox.h>
    00048 #include <qdatetime.h>
    00049 #include <qtable.h>
    00050 #include <qlineedit.h>
    00051 #include <qstring.h>
    00052 #include <qhbox.h>
    00053 #include <qpainter.h>
    00054 #include <qprinter.h>
    00055 #include <qfont.h>
    00056 #include <qlabel.h>
    00057 #include <qsimplerichtext.h>
    00058 #include <qpaintdevicemetrics.h>
    00059
    00060
    00061 #include "Listes.h"
    00062 #include "CApp.h"
    00063 #include "ComptaMoteurBase.h"
    00064 #include "EspecesCalculator.h"
    00065 #include "ui/depots_validation.h"
    00066
    00067
    00072 class Depots_Ui : public QWidget
    00073 {
    00074     Q_OBJECT
    00075
    00076 public:
    00077     Depots_Ui ( ComptaMoteurBase* pComptaMoteurBase, QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
    00078
    00079     ~Depots_Ui ();
    00080
    00081
    00082         void    setTableWithHonoListe   ();
    00083         void    getListForComboDepots   ();
    00084         void    createHonoHTMLTable     (QString& retour, bool avecEntete = TRUE, int nbChequesParPages = 0);
    00085         void    getComboComptes         ();
    00086
    00087 public slots:
    00088
    00089         void popupTableDepots( int r, int c, const QPoint &p );
    00090         void trieAsc();
    00091         void trieDesc();
    00092         void chqDelete();
    00093         void viewDepot(int id);
    00094
    00095
    00096         void fermer();
    00097         void especesCalcul();
    00098         void sauvDepot();
    00099         void createFileDepot();
    00100         void imprimeDepot();
    00101
    00102 signals:
    00103         void depotsChange1();
    00104
    00105 public:
    00106
    00107     // DONNEES
    00108         ComptaMoteurBase*       m_pComptaMoteurBase;
    00109         HONO_LISTE*     m_Hono_Liste_Depot;
    00110         DEPOTS_LISTE*   m_Depots_Liste;
    00111         COMPTES_LISTE*  m_Comptes_Liste;
    00112         QTable*         m_TableauDepot;
    00113         double          m_totalDepot;
    00114         QLineEdit*      m_LineEdit_Total;
    00115         QLineEdit*      m_LineEdit_nbChq;
    00116         int             m_colTrie;
    00117         bool            m_popupEnable;
    00119         QComboBox*      m_Combo_ListeDepots;
    00120         QComboBox*      m_Combo_ListeComptes;
    00121         QPushButton*    btEsp;
    00122         QPushButton*    btImp;
    00123         QPushButton*    btSauv;
    00124         QPushButton*    btFich;
    00125         QPushButton*    btAnn;
    00126         QLabel*         m_Label_Periode;
    00127         QPopupMenu*     m_Popup;
    00128
    00129 };
    00130
    00131 #endif