/***************************************************************************
    copyright     : (C) 1999 by Edwin Glaser
    email         : edwin@pannenleiter.de
    version       : $Id: datawidgettest5.h,v 1.1.1.1 2000/02/07 21:41:45 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 DATAWIDGETTEST5_H
#define DATAWIDGETTEST5_H

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

#include "dbgrid.h"
#include "dbvalueadaptor.h"
#include "datawidgettest.h"

/**
  * Shows comboboxes with translations and lookup tables. - Edit the name of a database table and the primaries. - Click select. 
  *
  *@author Edwin Glaser
  */

class DataWidgetTest5.html">DataWidgetTest5 : public DataWidgetTest  {
   Q_OBJECT
protected:
  DBDataSource *lData;
	QGridLayout *mainLayout;
	DBGrid *editArea;

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

protected:
 QLineEdit *query;
 QLineEdit *table1;
 QLineEdit *prim1;
 QLineEdit *col1;
 QLineEdit *table2;
 QLineEdit *prim2;
 QLineEdit *col2;

 DBValueAdaptor *a1;
 DBWidgetFactory *f1;
 DBWidgetFactory *f2;

 void makeEditArea();

protected slots:
  void select();
};

#endif




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