hk_kdetabledesign Class Reference

KDE widget to alter tables. More...

#include <hk_kdetabledesign.h>

List of all members.

Public Slots

virtual bool alter_table (bool ask=true)
virtual void load_fieldinfo ()
void set_designmode ()
virtual void alterbutton_clicked ()

Signals

void signal_has_changed ()
void signal_tablename_changed ()

Public Member Functions

 hk_kdetabledesign (QWidget *parent=0, const char *name=0, WFlags fl=0)
virtual void set_datasource (hk_datasource *d)
hk_datasource * datasource (void)
bool has_changed () const

Protected Slots

virtual void delete_clicked ()
virtual void index_clicked ()
virtual void name_changed ()
virtual void new_clicked ()
virtual void primary_changed ()
virtual void notnull_changed ()
virtual void selection_changed ()
virtual void indexselection_changed ()
virtual void size_changed ()
virtual void type_changed ()
virtual void new_index ()
virtual void alter_index ()
virtual void delete_index ()
virtual void set_indexlist (void)

Protected Member Functions

virtual void showEvent (QShowEvent *e)
virtual void list_changes (listtype type)
void set_fields_enabled (void)
void create_columntypelist (void)

Protected Attributes

QGridLayout * hk_kdetabledesignLayout
QHBoxLayout * Layoutindexwindow
QVBoxLayout * buttonlayout
QHBoxLayout * Layout8
QHBoxLayout * Layout7
QVBoxLayout * Layout22
QHBoxLayout * Layout25
QVBoxLayout * Layout24
QHBoxLayout * Layout23
QVBoxLayout * editlayout
QVBoxLayout * fieldbuttonlayout
QHBoxLayout * fieldtoplayout
QListView * fieldlist
QPushButton * newbutton
QPushButton * deletebutton
QPushButton * alterbutton
QPushButton * indexdeletebutton
QPushButton * indexnewbutton
QPushButton * indexalterbutton
QLabel * fieldnamelabel
QLabel * columntypelabel
QLabel * sizelabel
QLabel * notnulllabel
QLabel * primaryindexlabel
QLineEdit * namefield
QComboBox * typefield
QSpinBox * sizefield
QCheckBox * primaryfield
QCheckBox * notnullfield
QListView * indexwindow

Classes

class  dictclass
class  fieldstruct


Detailed Description

KDE widget to alter tables.

Version:
Revision
Author:
Horst Knorr (hk_classes@knoda.org)
hk_kdetabledesign is a widget to interactively define and alter the table structure.

Member Function Documentation

bool hk_kdetabledesign::alter_table ( bool  ask = true  )  [virtual, slot]

call this function at the end to alter the table


The documentation for this class was generated from the following files:
Generated on Tue Sep 25 22:39:07 2007 for Databasehandlingdialogclasses by  doxygen 1.5.3