Databasehandlingdialogclasses  0.5.3
Classes | Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
hk_kdetabledesign Class Reference

KDE widget to alter tables. More...

#include <hk_kdetabledesign.h>

Inheritance diagram for hk_kdetabledesign:
Inheritance graph
[legend]
Collaboration diagram for hk_kdetabledesign:
Collaboration graph
[legend]

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
 

Detailed Description

KDE widget to alter tables.

Version
Revision
1.22
Author
Horst Knorr (hk_cl.nosp@m.asse.nosp@m.s@kno.nosp@m.da.o.nosp@m.rg)

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

Member Function Documentation

◆ alter_table

bool hk_kdetabledesign::alter_table ( bool  ask = true)
virtualslot

call this function at the end to alter the table

Referenced by hk_kdetablepartwidget::set_datasource().


The documentation for this class was generated from the following files: