# class hk_kdetabledesign

KDE widget to alter tables. More...

Definition | `#include <hk_kdeclasses/hk_kdeclasses/hk_kdetabledesign.h>`
Inherits | QWidget (unknown) [public ], hk_dsvisible [public ]
List of all Methods

Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

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

#### Public Slots

- virtual bool alter_table ()
- virtual void load_fieldinfo ()
- void set_designmode ()

#### Protected Methods

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

#### Protected Slots

- virtual void delete_clicked ()
- virtual void index_clicked ()
- virtual void alterbutton_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 Members

- 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

## Detailed Description

hk_kdetabledesign is a widget to interactively define and alter the table structure.

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

### hk_kdetabledesign

~hk_kdetabledesign ()

### ~hk_kdetabledesign

[virtual]

void set_datasource (hk_datasource* d)

### set_datasource

[virtual]

Reimplemented from hk_dsvisible.

hk_datasource* datasource (void)

### datasource

Reimplemented from hk_dsvisible.

bool alter_table ()

### alter_table

[virtual slot]

call this function at the end to alter the table

void load_fieldinfo ()

### load_fieldinfo

[virtual slot]

void set_designmode ()

### set_designmode

[slot]

void delete_clicked ()

### delete_clicked

[protected slots virtual slot]

void index_clicked ()

### index_clicked

[protected slots virtual slot]

void alterbutton_clicked ()

### alterbutton_clicked

[protected slots virtual slot]

void name_changed ()

### name_changed

[protected slots virtual slot]

void new_clicked ()

### new_clicked

[protected slots virtual slot]

void primary_changed ()

### primary_changed

[protected slots virtual slot]

void notnull_changed ()

### notnull_changed

[protected slots virtual slot]

void selection_changed ()

### selection_changed

[protected slots virtual slot]

void indexselection_changed ()

### indexselection_changed

[protected slots virtual slot]

void size_changed ()

### size_changed

[protected slots virtual slot]

void type_changed ()

### type_changed

[protected slots virtual slot]

void new_index ()

### new_index

[protected slots virtual slot]

void alter_index ()

### alter_index

[protected slots virtual slot]

void delete_index ()

### delete_index

[protected slots virtual slot]

void set_indexlist (void)

### set_indexlist

[protected slots virtual slot]

void showEvent (QShowEvent* e)

### showEvent

[protected virtual]

void list_changes (filetype type)

### list_changes

[protected virtual]

Reimplemented from hk_dsvisible.

void set_fields_enabled (void)

### set_fields_enabled

[protected]

QGridLayout* hk_kdetabledesignLayout

### hk_kdetabledesignLayout

[protected]

QHBoxLayout* Layoutindexwindow

### Layoutindexwindow

[protected]

QVBoxLayout* buttonlayout

### buttonlayout

[protected]

QHBoxLayout* Layout8

### Layout8

[protected]

QHBoxLayout* Layout7

### Layout7

[protected]

QVBoxLayout* Layout22

### Layout22

[protected]

QHBoxLayout* Layout25

### Layout25

[protected]

QVBoxLayout* Layout24

### Layout24

[protected]

QHBoxLayout* Layout23

### Layout23

[protected]

QVBoxLayout* editlayout

### editlayout

[protected]

QVBoxLayout* fieldbuttonlayout

### fieldbuttonlayout

[protected]

QHBoxLayout* fieldtoplayout

### fieldtoplayout

[protected]

QListView* fieldlist

### fieldlist

[protected]

QPushButton* newbutton

### newbutton

[protected]

QPushButton* deletebutton

### deletebutton

[protected]

QPushButton* alterbutton

### alterbutton

[protected]

QPushButton* indexdeletebutton

### indexdeletebutton

[protected]

QPushButton* indexnewbutton

### indexnewbutton

[protected]

QPushButton* indexalterbutton

### indexalterbutton

[protected]

QLabel* fieldnamelabel

### fieldnamelabel

[protected]

QLabel* columntypelabel

### columntypelabel

[protected]

QLabel* sizelabel

### sizelabel

[protected]

QLabel* notnulllabel

### notnulllabel

[protected]

QLabel* primaryindexlabel

### primaryindexlabel

[protected]

QLineEdit* namefield

### namefield

[protected]

QComboBox* typefield

### typefield

[protected]

QSpinBox* sizefield

### sizefield

[protected]

QCheckBox* primaryfield

### primaryfield

[protected]

QCheckBox* notnullfield

### notnullfield

[protected]

QListView* indexwindow

### indexwindow

[protected]

void create_columntypelist (void)

### create_columntypelist

[protected]

- Version: $Revision: 1.17 $
- Author: Horst Knorr (hk_classes@knoda.org)
- Generated: horst on horstnotebook on Tue Mar 30 19:06:43 2004, using kdoc 2.0a54.