/****************************************************************************
** Form interface generated from reading ui file 'Dlg_PermsDefine.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 DLG_PERMSDEFINE_H
#define DLG_PERMSDEFINE_H

#include <qvariant.h>
#include <qdialog.h>

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

class Dlg_PermsDefine : public QDialog
{
    Q_OBJECT

public:
    Dlg_PermsDefine( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
    ~Dlg_PermsDefine();

    QPushButton* pushButtonAnnuler;
    QPushButton* pushButtonOk;
    QListView* listViewPermsList;
    QPushButton* pushButtonAllErase;
    QPushButton* pushButtonAllSelect;

public slots:
    virtual void pushButtonOk_clicked();
    virtual void InitDialog( QString * droits, int mode );
    virtual void pushButtonAnnuler_clicked();
    virtual void listViewPermsList_clicked( QListViewItem * pQListViewItem, const QPoint &, int col );
    virtual void pushButtonAllErase_clicked();
    virtual void pushButtonAllSelect_clicked();
    virtual void listViewPermsList_spacePressed( QListViewItem * pQListViewItem );

protected:
    QGridLayout* Dlg_PermsDefineLayout;
    QHBoxLayout* layout1;

protected slots:
    virtual void languageChange();

private:
    QStringList m_ListDroits;
    QString *m_pDroitsIn;
    QString m_Droits;

};

#endif // DLG_PERMSDEFINE_H
