Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

hk_kdetabledesign Class Reference

KDE widget to alter tables. More...

#include <hk_kdetabledesign.h>

Inheritance diagram for hk_kdetabledesign:

hk_dsvisible hk_visible hk_class 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 ~hk_kdetabledesign ()
virtual void set_datasource (hk_datasource *d)
hk_datasourcedatasource (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
1.22
Author:
Horst Knorr (hk_classes@knoda.org)
hk_kdetabledesign is a widget to interactively define and alter the table structure.


Constructor & Destructor Documentation

hk_kdetabledesign::hk_kdetabledesign QWidget *  parent = 0,
const char *  name = 0,
WFlags  fl = 0
 

virtual hk_kdetabledesign::~hk_kdetabledesign  )  [virtual]
 


Member Function Documentation

virtual void hk_kdetabledesign::alter_index  )  [protected, virtual, slot]
 

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

call this function at the end to alter the table

virtual void hk_kdetabledesign::alterbutton_clicked  )  [virtual, slot]
 

void hk_kdetabledesign::create_columntypelist void   )  [protected]
 

hk_datasource* hk_kdetabledesign::datasource void   ) 
 

Reimplemented from hk_dsvisible.

virtual void hk_kdetabledesign::delete_clicked  )  [protected, virtual, slot]
 

virtual void hk_kdetabledesign::delete_index  )  [protected, virtual, slot]
 

bool hk_kdetabledesign::has_changed  )  const
 

virtual void hk_kdetabledesign::index_clicked  )  [protected, virtual, slot]
 

virtual void hk_kdetabledesign::indexselection_changed  )  [protected, virtual, slot]
 

virtual void hk_kdetabledesign::list_changes listtype  type  )  [protected, virtual]
 

Reimplemented from hk_dsvisible.

virtual void hk_kdetabledesign::load_fieldinfo  )  [virtual, slot]
 

virtual void hk_kdetabledesign::name_changed  )  [protected, virtual, slot]
 

virtual void hk_kdetabledesign::new_clicked  )  [protected, virtual, slot]
 

virtual void hk_kdetabledesign::new_index  )  [protected, virtual, slot]
 

virtual void hk_kdetabledesign::notnull_changed  )  [protected, virtual, slot]
 

virtual void hk_kdetabledesign::primary_changed  )  [protected, virtual, slot]
 

virtual void hk_kdetabledesign::selection_changed  )  [protected, virtual, slot]
 

virtual void hk_kdetabledesign::set_datasource hk_datasource d  )  [virtual]
 

Reimplemented from hk_dsvisible.

void hk_kdetabledesign::set_designmode  )  [slot]
 

void hk_kdetabledesign::set_fields_enabled void   )  [protected]
 

virtual void hk_kdetabledesign::set_indexlist void   )  [protected, virtual, slot]
 

virtual void hk_kdetabledesign::showEvent QShowEvent *  e  )  [protected, virtual]
 

void hk_kdetabledesign::signal_has_changed  )  [signal]
 

void hk_kdetabledesign::signal_tablename_changed  )  [signal]
 

virtual void hk_kdetabledesign::size_changed  )  [protected, virtual, slot]
 

virtual void hk_kdetabledesign::type_changed  )  [protected, virtual, slot]
 


Member Data Documentation

QPushButton* hk_kdetabledesign::alterbutton [protected]
 

QVBoxLayout* hk_kdetabledesign::buttonlayout [protected]
 

QLabel* hk_kdetabledesign::columntypelabel [protected]
 

QPushButton* hk_kdetabledesign::deletebutton [protected]
 

QVBoxLayout* hk_kdetabledesign::editlayout [protected]
 

QVBoxLayout* hk_kdetabledesign::fieldbuttonlayout [protected]
 

QListView* hk_kdetabledesign::fieldlist [protected]
 

QLabel* hk_kdetabledesign::fieldnamelabel [protected]
 

QHBoxLayout* hk_kdetabledesign::fieldtoplayout [protected]
 

QGridLayout* hk_kdetabledesign::hk_kdetabledesignLayout [protected]
 

QPushButton* hk_kdetabledesign::indexalterbutton [protected]
 

QPushButton* hk_kdetabledesign::indexdeletebutton [protected]
 

QPushButton* hk_kdetabledesign::indexnewbutton [protected]
 

QListView* hk_kdetabledesign::indexwindow [protected]
 

QVBoxLayout* hk_kdetabledesign::Layout22 [protected]
 

QHBoxLayout* hk_kdetabledesign::Layout23 [protected]
 

QVBoxLayout* hk_kdetabledesign::Layout24 [protected]
 

QHBoxLayout* hk_kdetabledesign::Layout25 [protected]
 

QHBoxLayout* hk_kdetabledesign::Layout7 [protected]
 

QHBoxLayout* hk_kdetabledesign::Layout8 [protected]
 

QHBoxLayout* hk_kdetabledesign::Layoutindexwindow [protected]
 

QLineEdit* hk_kdetabledesign::namefield [protected]
 

QPushButton* hk_kdetabledesign::newbutton [protected]
 

QCheckBox* hk_kdetabledesign::notnullfield [protected]
 

QLabel* hk_kdetabledesign::notnulllabel [protected]
 

QCheckBox* hk_kdetabledesign::primaryfield [protected]
 

QLabel* hk_kdetabledesign::primaryindexlabel [protected]
 

QSpinBox* hk_kdetabledesign::sizefield [protected]
 

QLabel* hk_kdetabledesign::sizelabel [protected]
 

QComboBox* hk_kdetabledesign::typefield [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Mar 9 18:40:42 2006 for hk_classes by  doxygen 1.4.1