Source: /app/hbasic/hbasic/gui_db_access/wgt_add_table.h
|
|
|
|
/* **************************************************************************
File: wgt_add_table.h
Desc: Dialog to select table from project database.
----------------------------------------------------------------------------
copyright : (C) 2001 HBasic project (Marcus Engels)
***************************************************************************/
/* **************************************************************************
* *
* 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. *
* *
***************************************************************************/
/* ----------------------------------------------------------------------- */
/* Classlist: List of classes that will be defined in this source file. */
/* ----------------------------------------------------------------------- */
/**
* class WgtAddTable : Dialog to select table from current database.
*/
/* ----------------------------------------------------------------------- */
/* Changelog: Description of important changes within this file. */
/* Please report with date, maintainer and change description. */
/* ----------------------------------------------------------------------- */
#ifndef TABLES_H
#define TABLES_H
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include "../src/structs.h"
#include "../hbdata/hbquery_table.h"
#define STR_LEN 128+1
class wgtAddTable : public QDialog
{
Q_OBJECT
public:
QListView *lv_connect_info;
void popupMenu( void );
wgtAddTable( QWidget *parent = 0, bool single_select = FALSE );
QPtrList *getTableList( void );
QString *getSelectedTable( void );
private:
QLabel *lab_header;
QPushButton *btn_quit;
QPushButton *btn_cancel;
void resizeEvent( QResizeEvent *evt );
void listTables(void);
HBDbTable *getTableDesc( QString *database_name, QString *table_name );
private slots:
void slotDoubleClicked( QListViewItem *lv );
void slotOkClicked( void );
};
#endif
Generated by: root on linux on Sun Jul 13 18:06:35 2003, using kdoc 2.0a54. |