kexi
KexiRelationWidget Class Reference
Inheritance diagram for KexiRelationWidget:

Detailed Description
Definition at line 44 of file kexirelationwidget.h.
Public Slots | |
void | addTable (KexiDB::TableSchema *t, const QRect &rect=QRect()) |
void | addConnection (const SourceConnection &conn) |
void | removeSelectedObject () |
void | clear () |
void | removeAllConnections () |
void | hideAllTablesExcept (KexiDB::TableSchema::List *tables) |
Signals | |
void | tableAdded (KexiDB::TableSchema &t) |
void | tableHidden (KexiDB::TableSchema &t) |
void | tablePositionChanged (KexiRelationViewTableContainer *) |
void | aboutConnectionRemove (KexiRelationViewConnection *) |
void | tableFieldDoubleClicked (KexiDB::TableSchema *table, const QString &fieldName) |
Public Member Functions | |
KexiRelationWidget (KexiMainWindow *win, QWidget *parent, const char *name=0) | |
virtual | ~KexiRelationWidget () |
TablesDict * | tables () const |
KexiRelationViewTableContainer * | table (const QString &name) const |
const ConnectionList * | connections () const |
void | addTable (QString t) |
virtual QSize | sizeHint () const |
void | objectCreated (const QCString &mime, const QCString &name) |
void | objectDeleted (const QCString &mime, const QCString &name) |
void | objectRenamed (const QCString &mime, const QCString &name, const QCString &newName) |
Protected Slots | |
void | slotAddTable () |
void | tableViewGotFocus () |
void | connectionViewGotFocus () |
void | emptyAreaGotFocus () |
void | tableContextMenuRequest (const QPoint &pos) |
void | connectionContextMenuRequest (const QPoint &pos) |
void | emptyAreaContextMenuRequest (const QPoint &pos) |
void | openSelectedTable () |
void | designSelectedTable () |
void | slotTableHidden (KexiDB::TableSchema &table) |
void | aboutToShowPopupMenu () |
void | slotTableFieldDoubleClicked (QListViewItem *i, const QPoint &, int) |
Protected Member Functions | |
void | executePopup (QPoint pos=QPoint(-1,-1)) |
void | invalidateActions () |
void | fillTablesCombo () |
Member Function Documentation
|
Definition at line 328 of file kexirelationwidget.cpp. |
|
Adds a connection con to the area. This changes only visual representation.
Definition at line 202 of file kexirelationwidget.cpp. |
|
Adds a table t to the area. This changes only visual representation. If rect is valid, table widget rgeometry will be initialized. Definition at line 165 of file kexirelationwidget.cpp. |
|
Removes all tables and coonections from the widget. Definition at line 351 of file kexirelationwidget.cpp. |
|
Definition at line 297 of file kexirelationwidget.cpp. |
|
executes popup menu at pos, or, if pos not specified: at center of selected table view (if any selected), or at center point of the relations view. Definition at line 270 of file kexirelationwidget.cpp. |
|
Fills table's combo box with all available table names.
Definition at line 364 of file kexirelationwidget.cpp. |
|
Hides all tables except tables. Definition at line 420 of file kexirelationwidget.cpp. |
|
Invalidates all actions availability.
Definition at line 265 of file kexirelationwidget.cpp. |
|
Used to add newly created object information to the combo box. Definition at line 373 of file kexirelationwidget.cpp. |
|
Definition at line 383 of file kexirelationwidget.cpp. |
|
Definition at line 404 of file kexirelationwidget.cpp. |
|
Definition at line 287 of file kexirelationwidget.cpp. |
|
Removes all coonections from the view. Definition at line 358 of file kexirelationwidget.cpp. |
|
Definition at line 139 of file kexirelationwidget.cpp. |
The documentation for this class was generated from the following files: