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

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

    00001 /****************************************************************************
    00002 ** ui.h extension file, included from the uic-generated form implementation.
    00003 **
    00004 ** If you wish to add, delete or rename functions or slots use
    00005 ** Qt Designer which will update this file, preserving your code. Create an
    00006 ** init() function in place of a constructor, and a destroy() function in
    00007 ** place of a destructor.
    00008 *****************************************************************************/
    00009
    00010 #define MENUHONO        0
    00011 #define MENUBANQUE      1
    00012 #define MENUVOITURE     2
    00013 #define MENUACTES       3
    00014 #define MENULIVRES      4
    00015 #define MENUPARAM       5
    00016 #define MENUABOUT       6
    00017
    00018
    00019
    00020 #define TR QObject::tr
    00021
    00022 //------------------------------------- init ----------------------------------------------------------------
    00023 void FormListMenu::init()
    00024 {
    00025 }
    00026
    00027
    00028 void FormListMenu::ListView_Doc_clicked( QListBoxItem *pItem )
    00029 { if (pItem <= 0) return;
    00030   ListView_Doc_currentChanged(pItem);
    00031 }
    00032
    00033
    00034 void FormListMenu::ListView_Doc_currentChanged( QListBoxItem *pItem )
    00035 { if (pItem <= 0) return;
    00036   if ( pItem->text() == TR("Honoraires") ) emit honorairesSelected();
    00037   else if ( pItem->text() == TR("Remise") ) emit banqueSelected();
    00038   else if ( pItem->text() == TR("Mouvements") ) emit mouvementsSelected();
    00039   else if ( pItem->text() == TR("Actes") ) emit actesSelected();
    00040   else if ( pItem->text() == TR("Gestion DAF") ) emit gestionDAFSelected();
    00041   else if ( pItem->text() == TR("Relevés de comptes") ) emit releveSelected();
    00042   else if ( pItem->text() == TR("Livre et Bilan") ) emit livresSelected();
    00043   else if ( pItem->text() == TR("Paramètres") ) emit paramSelected();
    00044   else if ( pItem->text() == TR("A propos") ) emit aboutSelected();
    00045 }