/****************************************************************************
** Form interface generated from reading ui file 'formdatasourcedialog.ui'
**
** Created: Son Mär 28 13:35:43 2004
**      by: The User Interface Compiler ($Id: hk_kdeformdatasourcedialogbase.h,v 1.17 2004/03/28 20:04:33 knorr Exp $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef HK_KDEFORMDATASOURCEBASEDIALOG_H
#define HK_KDEFORMDATASOURCEBASEDIALOG_H

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

class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QCheckBox;
class QComboBox;
class QFrame;
class QLabel;
class QLineEdit;
class QListView;
class QListViewItem;
class QMultiLineEdit;
class QPushButton;
class QTextEdit;
class QToolButton;

class hk_kdeformdatasourcebasedialog : public QDialog
{
    Q_OBJECT

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

    QPushButton* Addbutton;
    QPushButton* alterbutton;
    QPushButton* deletebutton;
    QPushButton* buttonCancel;
    QFrame* Frame17;
    QLabel* filtertext;
    QMultiLineEdit* filterfield;
    QFrame* Frame6;
    QLabel* sortingtext;
    QLineEdit* sortingfield;
    QFrame* Frame3;
    QListView* dependingfieldlist;
    QToolButton* deletefieldbutton;
    QLabel* dependingmodelabel;
    QToolButton* addfieldbutton;
    QLabel* dependingontext;
    QLabel* thistext;
    QLabel* mastertext;
    QComboBox* thisfield;
    QComboBox* masterfield;
    QComboBox* dependingonfield;
    QComboBox* dependingmodefield;
    QCheckBox* react_on_changesfield;
    QCheckBox* readonlyfield;
    QFrame* Frame15;
    QComboBox* datasourcefield;
    QComboBox* sourcetypefield;
    QLabel* basedontext;
    QTextEdit* sqlfield;
    QLabel* sqltext;

public slots:
    virtual void add_dependingfields();
    virtual void alter_datasource();
    virtual void check_buttons();
    virtual void datasource_selected();
    virtual void delete_dependingfields();
    virtual void dependingon_selected();
    virtual void new_datasource();
    virtual void delete_datasource();
    virtual void set_datasourcelist();
    virtual void sql_changed();

protected:
    QGridLayout* hk_kdeformdatasourcebasedialogLayout;
    QVBoxLayout* Layout8;
    QHBoxLayout* Frame17Layout;
    QHBoxLayout* Frame6Layout;
    QGridLayout* Frame3Layout;
    QGridLayout* Layout12;
    QGridLayout* Frame15Layout;

protected slots:
    virtual void languageChange();
};

#endif // HK_KDEFORMDATASOURCEBASEDIALOG_H
