kexi
KexiAlterTableDialog Class Reference
Inheritance diagram for KexiAlterTableDialog:

Detailed Description
Definition at line 34 of file kexialtertabledialog.h.
Public Member Functions | |
KexiAlterTableDialog (KexiMainWindow *win, QWidget *parent, const char *name=0) | |
virtual | ~KexiAlterTableDialog () |
KexiTablePart::TempData * | tempData () const |
Protected Slots | |
void | updateActions () |
virtual void | slotUpdateRowActions (int row) |
void | slotBeforeCellChanged (KexiTableItem *item, int colnum, QVariant &newValue, KexiDB::ResultInfo *result) |
void | slotRowUpdated (KexiTableItem *item) |
void | slotAboutToInsertRow (KexiTableItem *item, KexiDB::ResultInfo *result, bool repaint) |
void | slotAboutToDeleteRow (KexiTableItem &item, KexiDB::ResultInfo *result, bool repaint) |
void | slotPropertyChanged (KoProperty::Set &set, KoProperty::Property &property) |
void | slotTogglePrimaryKey () |
Protected Member Functions | |
virtual void | updateActions (bool activated) |
void | initData () |
KoProperty::Set * | createPropertySet (int row, KexiDB::Field *field, bool newOne=false) |
virtual tristate | beforeSwitchTo (int mode, bool &dontStore) |
virtual tristate | afterSwitchFrom (int mode) |
virtual KoProperty::Set * | propertySet () |
void | removeCurrentPropertySet () |
virtual KexiDB::SchemaData * | storeNewData (const KexiDB::SchemaData &sdata, bool &cancel) |
virtual tristate | storeData (bool dontAsk=false) |
tristate | buildSchema (KexiDB::TableSchema &schema) |
QString | messageForSavingChanges (bool &emptyTable) |
void | setPrimaryKey (KoProperty::Set &propertySet, bool set, bool aWasPKey=false) |
void | getSubTypeListData (KexiDB::Field::TypeGroup fieldTypeGroup, QStringList &stringsList, QStringList &namesList) |
Constructor & Destructor Documentation
|
Creates a new alter table dialog. Definition at line 108 of file kexialtertabledialog.cpp. |
Member Function Documentation
|
called by KexiDialogBase::switchToViewMode() right after dialog is switched to new mode By default does nothing. Reimplement this if you need to do something after switching to this view.
Reimplemented from KexiViewBase. Definition at line 592 of file kexialtertabledialog.cpp. |
|
called by KexiDialogBase::switchToViewMode() right before dialog is switched to new mode By default does nothing. Reimplement this if you need to do something before switching to this view.
Reimplemented from KexiViewBase. Definition at line 546 of file kexialtertabledialog.cpp. |
|
Definition at line 884 of file kexialtertabledialog.cpp. |
|
Creates a new property set for field. The property set will be asigned to row, and owned by this dialog. If newOne is true, the property set will be marked as newly created.
Definition at line 335 of file kexialtertabledialog.cpp. |
|
Gets subtype strings and names for type fieldType.
Definition at line 317 of file kexialtertabledialog.cpp. |
|
called whenever data should be reloaded (on switching to this view mode)
Definition at line 191 of file kexialtertabledialog.cpp. |
|
Reimplemented from KexiViewBase. Definition at line 600 of file kexialtertabledialog.cpp. |
|
Helper, used for slotTogglePrimaryKey() and slotPropertyChanged(). Assigns primary key icon and value for property set propertySet, and deselects it from previous pkey's row. aWasPKey is internal. Definition at line 472 of file kexialtertabledialog.cpp. |
|
Called before row deleting in tableview.
Definition at line 875 of file kexialtertabledialog.cpp. |
|
Called before row inserting in tableview.
Definition at line 868 of file kexialtertabledialog.cpp. |
|
Called before cell change in tableview.
Definition at line 621 of file kexialtertabledialog.cpp. |
|
Called after any property has been changed in the current property set, to perform some actions (like updating other dependent properties) Definition at line 791 of file kexialtertabledialog.cpp. |
|
Called on row change in a tableview.
Definition at line 725 of file kexialtertabledialog.cpp. |
|
Toggles primary key for currently selected field. Does nothing for empty row. Definition at line 459 of file kexialtertabledialog.cpp. |
|
Reimplemented from KexiViewBase, because table storage is more complex. Reimplemented from KexiViewBase. Definition at line 1083 of file kexialtertabledialog.cpp. |
|
Reimplemented from KexiViewBase, because tables creation is more complex. Reimplemented from KexiViewBase. Definition at line 1047 of file kexialtertabledialog.cpp. |
|
Reimplemented from KexiDataAwareView. Definition at line 440 of file kexialtertabledialog.cpp. |
|
Equivalent to updateActions(false). Called on row insert/delete in a KexiDataAwarePropertySet. Definition at line 786 of file kexialtertabledialog.cpp. |
The documentation for this class was generated from the following files: