/****************************************************************************
** Form interface generated from reading ui file 'DockFormUserListDoc.ui'
**
** Created: Tue Jun 9 19:15:47 2009
**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.8   edited Jan 11 14:47 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef DOCKFORMUSERLISTDOC_H
#define DOCKFORMUSERLISTDOC_H

#include <qvariant.h>
#include <qwidget.h>
#include <qpopupmenu.h>
#include "../../drtux/src/CMoteur_Base.h"
#include "Rubriques.h"

class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QSpacerItem;
class QListView;
class QListViewItem;
class QPushButton;

class DockFormUserListDoc : public QWidget
{
    Q_OBJECT

public:
    DockFormUserListDoc( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
    ~DockFormUserListDoc();

    QListView* ListView_Doc;
    QPushButton* pushButtonDelete;
    QPushButton* pushButton_InportProfil;
    QPushButton* pushButton_ExportProfil;
    QPushButton* pushButtonNewDoc;

    CMoteurBase* m_pCMoteurBase;
    QString m_PkRef;

    virtual QListViewItem * ListViewDoc_FirstTypeFind( int type, const char * name );
    virtual QListViewItem * ListViewDoc_FirstTypeFind( const char * typeIn, const char * nameIn );

public slots:
    virtual void init();
    virtual void SetData( const char * prim_key );
    virtual void ListView_Doc_clicked( QListViewItem * pQListViewItem );
    virtual void ListView_Doc_currentChanged( QListViewItem * pQListViewItem );
    virtual void pushButtonNewDoc_clicked();
    virtual void NewObserv();
    virtual void NewParam();
    virtual void NewCertif();
    virtual void NewOrdo();
    virtual void pushButtonDelete_clicked();

signals:
    void Sign_UserDocSelected(const char* , const char* , const char*, const char*);
    void Sign_RubListMustBeDeleted(const char*);

protected:
    QGridLayout* DockFormUserListDocLayout;
    QSpacerItem* spacer1;

protected slots:
    virtual void languageChange();

};

#endif // DOCKFORMUSERLISTDOC_H
