KexiRelationWidget Class Reference
#include <kexirelationwidget.h>
Inheritance diagram for KexiRelationWidget:

Public Slots | |
| void | addTable (KexiDB::TableSchema *t, const QRect &rect=QRect()) |
| void | addConnection (const SourceConnection &conn) |
| Adds a connection con to the area. This changes only visual representation. | |
| 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 (const 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 () |
| Invalidates all actions availability. | |
| void | fillTablesCombo () |
| Fills table's combo box with all available table names. | |
Constructor & Destructor Documentation
|
||||||||||||||||
|
|
Definition at line 135 of file kexirelationwidget.cpp. |
Member Function Documentation
|
|
Referenced by KexiRelationWidget(). |
|
|
Definition at line 330 of file kexirelationwidget.cpp. References KexiRelationView::focusedTableView(), and KexiRelationView::selectedConnection(). Referenced by KexiRelationWidget(). |
|
|
Adds a connection con to the area. This changes only visual representation.
Definition at line 204 of file kexirelationwidget.cpp. References KexiRelationView::addConnection(). |
|
||||||||||||
|
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. References KexiRelationView::addTableContainer(), KexiDB::SchemaData::name(), slotTableFieldDoubleClicked(), tableAdded(), KexiRelationView::tableContainer(), KexiRelationViewTableContainer::tableView(), and tname(). |
|
|
Definition at line 210 of file kexirelationwidget.cpp. References slotAddTable(). Referenced by KexiRelationMainDlg::KexiRelationMainDlg(), and slotAddTable(). |
|
|
Removes all tables and coonections from the widget. Definition at line 355 of file kexirelationwidget.cpp. References KexiRelationView::clear(), and fillTablesCombo(). |
|
|
Definition at line 254 of file kexirelationwidget.cpp. References executePopup(), and invalidateActions(). Referenced by KexiRelationWidget(). |
|
|
Definition at line 149 of file kexirelationwidget.cpp. References KexiRelationView::connections(). |
|
|
Definition at line 234 of file kexirelationwidget.cpp. References invalidateActions(). Referenced by KexiRelationWidget(). |
|
|
Definition at line 299 of file kexirelationwidget.cpp. References Kexi::DesignViewMode, KexiRelationView::focusedTableView(), and KexiMainWindow::openObject(). Referenced by KexiRelationWidget(). |
|
|
Definition at line 261 of file kexirelationwidget.cpp. References invalidateActions(). |
|
|
Definition at line 239 of file kexirelationwidget.cpp. References invalidateActions(). Referenced by KexiRelationWidget(). |
|
|
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 272 of file kexirelationwidget.cpp. References KexiRelationView::focusedTableView(), and KexiRelationView::selectedConnection(). Referenced by connectionContextMenuRequest(), and tableContextMenuRequest(). |
|
|
Fills table's combo box with all available table names.
Definition at line 368 of file kexirelationwidget.cpp. References KexiDB::Connection::tableNames(). Referenced by clear(), and KexiRelationWidget(). |
|
|
Hides all tables except tables. Definition at line 424 of file kexirelationwidget.cpp. References KexiRelationView::hideAllTablesExcept(). |
|
|
Invalidates all actions availability.
Definition at line 267 of file kexirelationwidget.cpp. References KexiRelationView::focusedTableView(), KexiRelationView::selectedConnection(), and KexiViewBase::setAvailable(). Referenced by connectionContextMenuRequest(), connectionViewGotFocus(), emptyAreaContextMenuRequest(), emptyAreaGotFocus(), KexiRelationWidget(), tableContextMenuRequest(), and tableViewGotFocus(). |
|
||||||||||||
|
Used to add newly created object information to the combo box. Definition at line 377 of file kexirelationwidget.cpp. |
|
||||||||||||
|
Definition at line 387 of file kexirelationwidget.cpp. |
|
||||||||||||||||
|
Definition at line 408 of file kexirelationwidget.cpp. |
|
|
Definition at line 289 of file kexirelationwidget.cpp. References Kexi::DataViewMode, KexiRelationView::focusedTableView(), and KexiMainWindow::openObject(). Referenced by KexiRelationWidget(). |
|
|
Removes all coonections from the view. Definition at line 362 of file kexirelationwidget.cpp. References KexiRelationView::removeAllConnections(). |
|
|
Definition at line 284 of file kexirelationwidget.cpp. References KexiRelationView::removeSelectedObject(). Referenced by KexiRelationWidget(). |
|
|
Definition at line 309 of file kexirelationwidget.cpp. References KexiRelationView::sizeHint(). |
|
|
Definition at line 155 of file kexirelationwidget.cpp. References addTable(), KexiDB::Connection::tableSchema(), and tname(). Referenced by addTable(), and KexiRelationWidget(). |
|
||||||||||||||||
|
Definition at line 344 of file kexirelationwidget.cpp. References KexiFieldListView::schema(), KexiFieldListView::selectedFieldNames(), and tableFieldDoubleClicked(). Referenced by addTable(). |
|
|
Definition at line 314 of file kexirelationwidget.cpp. References KexiDB::SchemaData::name(), and tableHidden(). Referenced by KexiRelationWidget(). |
|
|
Definition at line 144 of file kexirelationwidget.cpp. References KexiRelationView::tables(). |
|
|
Referenced by addTable(). |
|
|
Definition at line 244 of file kexirelationwidget.cpp. References executePopup(), and invalidateActions(). Referenced by KexiRelationWidget(). |
|
||||||||||||
|
Referenced by slotTableFieldDoubleClicked(). |
|
|
Referenced by KexiRelationWidget(), and slotTableHidden(). |
|
|
Referenced by KexiRelationWidget(). |
|
|
Definition at line 139 of file kexirelationwidget.cpp. References KexiRelationView::tables(). |
|
|
Definition at line 222 of file kexirelationwidget.cpp. References invalidateActions(). Referenced by KexiRelationWidget(). |
The documentation for this class was generated from the following files:
