/****************************************************************************
** Form interface generated from reading ui file 'tobrowserconstraintui.ui'
**
** Created: Tue Sep 18 08:21:20 2007
**      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 TOBROWSERCONSTRAINTUI_H
#define TOBROWSERCONSTRAINTUI_H

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

class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QSpacerItem;
class toResultCols;
class toTableSelect;
class QComboBox;
class QLabel;
class QToolButton;
class QPushButton;
class QWidgetStack;
class QWidget;
class QLineEdit;
class QFrame;
class QButtonGroup;
class QRadioButton;

class toBrowserConstraintUI : public QDialog
{
    Q_OBJECT

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

    QComboBox* Name;
    QComboBox* Type;
    QLabel* TextLabel1;
    QToolButton* AddButton;
    QToolButton* DeleteButton;
    QPushButton* PushButton2;
    QWidgetStack* WidgetStack;
    QWidget* ReferentialPage;
    QLabel* TextLabel3;
    QLineEdit* SourceColumns;
    toResultCols* SourceColList;
    QLabel* TextLabel5;
    QLineEdit* ReferedColumns;
    toResultCols* ReferColList;
    QFrame* Line3;
    QFrame* Line1;
    QComboBox* ReferTable;
    QLabel* TextLabel4;
    QWidget* PrimaryPage;
    QButtonGroup* UniqueType;
    QRadioButton* Primary;
    QRadioButton* Unique;
    QLabel* TextLabel2;
    QLineEdit* UniqueCols;
    toResultCols* UniqueColList;
    QWidget* CheckPage;
    QLabel* TextLabel2_2;
    QLabel* TextLabel6;
    QLineEdit* CheckCondition;
    toResultCols* CheckColumn;
    QPushButton* ApplyButton;
    QToolButton* ToolButton1;
    toTableSelect* TableSelect;

public slots:
    virtual void addConstraint();
    virtual void displaySQL();
    virtual void delConstraint();
    virtual void changeConstraint();
    virtual void changeRefered();
    virtual void changeType(int);

protected:
    QGridLayout* toBrowserConstraintUILayout;
    QSpacerItem* Spacer1;
    QHBoxLayout* layout2;
    QHBoxLayout* layout1;
    QGridLayout* ReferentialPageLayout;
    QVBoxLayout* PrimaryPageLayout;
    QGridLayout* UniqueTypeLayout;
    QGridLayout* CheckPageLayout;

protected slots:
    virtual void languageChange();

private:
    QPixmap image0;
    QPixmap image1;
    QPixmap image2;
    QPixmap image3;
    QPixmap image4;

};

#endif // TOBROWSERCONSTRAINTUI_H
