#include <hk_kdetabledesign.h>
Inheritance diagram for hk_kdetabledesign:


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 () |
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 |
|
|
call this function at the end to alter the table |
1.4.1