Source: sqlguipart/adddata.h
|
|
|
|
/****************************************************************************
** Form interface generated from reading ui file 'adddata.ui'
**
** Created: Sun Apr 21 14:33:29 2002
** by: The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#ifndef ADDDATA_H
#define ADDDATA_H
#include
#include
#include
class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QFrame;
class QPushButton;
class QTable;
class QCheckBox;
class KLocale;
class AddData : public QDialog
{
Q_OBJECT
public:
AddData( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0, int columns = 1 );
~AddData();
QFrame* Frame3;
QTable* TableData;
QPushButton* buttonOk;
QPushButton* buttonCancel;
QString* tableName;
QString* dbName;
QCheckBox* autoCheck;
public:
void setTab(QString * tabname);
void addCol(QString * colname, bool isPrim, bool isAuto);
void setDb(QString * dbname);
public slots:
void slotQueryFailed();
void slotQuerySucceded();
private slots:
virtual void doInsert();
virtual void slotAddRow(int row, int col);
virtual void slotTabMenu(int row, int col, const QPoint & pos);
virtual void slotRemoveRow();
virtual void slotDoNothin();
virtual void slotClearSucceded();
virtual void slotRemoveRowNum( int num );
protected:
QVBoxLayout* AddDataLayout;
QHBoxLayout* Frame3Layout;
QHBoxLayout* Layout1;
KLocale* kl;
signals:
void insertRequest( QString* db, QString* sql );
void allRequestsFired();
void allRequestsSucceded();
void allRequestsFinished();
private:
QBitArray* isPrimary;
QBitArray* isAutoInc;
QBitArray* rowSucceded;
int clickedRow;
QString* tooltip;
int numQuerySucceded;
int numQueryFailed;
int numQueryRow;
int allQueries;
};
#endif // ADDDATA_H
Generated by: marcus on voyager on Mon Sep 16 15:31:33 2002, using kdoc 2.0a53. |