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

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

    00001 /****************************************************************************
    00002 ** Form interface generated from reading ui file 'ui/FormSelectionUser.ui'
    00003 **
    00004 ** Created: dim fév 24 16:00:02 2008
    00005 **      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.7   edited Aug 31 2005 $)
    00006 **
    00007 ** WARNING! All changes made in this file will be lost!
    00008 ****************************************************************************/
    00009
    00010 #ifndef FORMSELECTIONUSER_H
    00011 #define FORMSELECTIONUSER_H
    00012
    00013 #include <qvariant.h>
    00014 #include <qpixmap.h>
    00015 #include <qdialog.h>
    00016 #include "../Listes.h"
    00017 #include "../ComptaMoteurBase.h"
    00018 #include "../CApp.h"
    00019 #include "FormLinkTux.h"
    00020
    00021 class QVBoxLayout;
    00022 class QHBoxLayout;
    00023 class QGridLayout;
    00024 class QSpacerItem;
    00025 class QLabel;
    00026 class QLineEdit;
    00027 class QListBox;
    00028 class QListBoxItem;
    00029 class QPushButton;
    00030 class ComptaMoteurBase;
    00031
    00032 class FormSelectionUser : public QDialog
    00033 {
    00034     Q_OBJECT
    00035
    00036 public:
    00037     FormSelectionUser( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
    00038     ~FormSelectionUser();
    00039
    00040     QLabel* lblIntro;
    00041     QLineEdit* Password;
    00042     QLabel* textLabel2;
    00043     QLineEdit* Login;
    00044     QListBox* listUsers;
    00045     QLabel* textLabel2_2;
    00046     QLabel* pixmapLabel1;
    00047     QPushButton* but_Valider;
    00048     QPushButton* but_Creer;
    00049     QPushButton* but_Quitter;
    00050
    00051     FormLinkTux* lkTux;
    00052     QDialog* mQDialog_NewUser;
    00053     UTILISATEURS_LISTE* tux_usr;
    00054
    00055     virtual Utilisateurs * getUser();
    00056
    00057 public slots:
    00058     virtual void setUsersList( UTILISATEURS_LISTE * usersl );
    00059     virtual void setComptaMoteurBase( ComptaMoteurBase * base );
    00060     virtual void createNewUser();
    00061     virtual void but_Valider_clicked();
    00062     virtual void but_Quitter_clicked();
    00063     virtual void listUsers_highlighted( int id );
    00064     virtual void but_Creer_clicked();
    00065     virtual void checkLinkTux();
    00066
    00067 signals:
    00068     void signal_linkDrTuxOk();
    00069
    00070 protected:
    00071     int userSelected;
    00072     UTILISATEURS_LISTE* ul;
    00073
    00074
    00075 protected slots:
    00076     virtual void languageChange();
    00077
    00078 private:
    00079     int selectedUsrId;
    00080     ComptaMoteurBase* m_CBase;
    00081     int nbEssais;
    00082
    00083     QPixmap image0;
    00084
    00085     void init();
    00086     void destroy();
    00087
    00088 };
    00089
    00090 #endif // FORMSELECTIONUSER_H