/***************************************************************************
    copyright     : (C) 1999 by Edwin Glaser
    email         : edwin@pannenleiter.de
    version       : $Id: datawidgettest4.h,v 1.1.1.1 2000/02/07 21:41:44 ege Exp $
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   * 
 *                                                                         *
 ***************************************************************************/



#ifndef DBWIDGETTEST4_H
#define DBWIDGETTEST4_H

#include <qwidget.h>
#include <qlayout.h>
#include <qlabel.h>
#include <qlineedit.h>
#include <qcheckbox.h>

#include "datawidgettest.h"

class DBValueAdaptor;

/**
  * Widget test. - Edit the name of a database table and the primaries. - Click select. 
  *
  *@author Edwin Glaser
  */

class DataWidgetTest4.html">DataWidgetTest4 : public DataWidgetTest  {
   Q_OBJECT

protected:
  DBDataSource *lData;
	QGridLayout *mainLayout;
	QWidget *editArea;

public: 
	DataWidgetTest4(SQLHENV henv, SQLHDBC hdbc, QWidget *parent=0, const char *name=0);
	~DataWidgetTest4();

protected:
 QLineEdit *table1;
 QLineEdit *prim1;
 QLineEdit *col1;
 QLineEdit *table2;
 QLineEdit *prim2;
 QLineEdit *col2;
 QLineEdit *combo;
 QCheckBox *edit;

 DBValueAdaptor *a1;
 DBValueAdaptor *a2;
  
 void makeEditArea();

protected slots:
  void select();

};

#endif































Documentation generated by eg@wonko on Sam Feb 19 00:09:53 MET 2000