kexi
KexiQueryDesignerGuiEditor Class Reference
Inheritance diagram for KexiQueryDesignerGuiEditor:

Detailed Description
Definition at line 60 of file kexiquerydesignerguieditor.h.
Public Slots | |
virtual void | setFocus () |
Public Member Functions | |
KexiQueryDesignerGuiEditor (KexiMainWindow *mainWin, QWidget *parent, const char *name=0) | |
virtual | ~KexiQueryDesignerGuiEditor () |
KexiRelationWidget * | relationView () const |
virtual QSize | sizeHint () const |
Protected Slots | |
void | slotDragOverTableRow (KexiTableItem *item, int row, QDragMoveEvent *e) |
void | slotDroppedAtRow (KexiTableItem *item, int row, QDropEvent *ev, KexiTableItem *&newItem) |
void | slotTableAdded (KexiDB::TableSchema &t) |
void | slotTableHidden (KexiDB::TableSchema &t) |
void | slotBeforeCellChanged (KexiTableItem *item, int colnum, QVariant &newValue, KexiDB::ResultInfo *result) |
void | slotRowInserted (KexiTableItem *item, uint row, bool repaint) |
void | slotTablePositionChanged (KexiRelationViewTableContainer *) |
void | slotAboutConnectionRemove (KexiRelationViewConnection *) |
void | slotTableFieldDoubleClicked (KexiDB::TableSchema *table, const QString &fieldName) |
bool | loadLayout () |
bool | storeLayout () |
void | showTablesForQuery (KexiDB::QuerySchema *query) |
void | showFieldsOrRelationsForQueryInternal (KexiDB::QuerySchema *query, bool showFields, bool showRelations) |
void | showFieldsAndRelationsForQuery (KexiDB::QuerySchema *query) |
void | showFieldsForQuery (KexiDB::QuerySchema *query) |
void | showRelationsForQuery (KexiDB::QuerySchema *query) |
void | addConnection (KexiDB::Field *masterField, KexiDB::Field *detailsField) |
void | slotPropertyChanged (KoProperty::Set &list, KoProperty::Property &property) |
void | slotNewItemStored (KexiPart::Item &) |
void | slotItemRemoved (const KexiPart::Item &item) |
void | slotItemRenamed (const KexiPart::Item &item, const QCString &oldName) |
Protected Member Functions | |
void | initTableColumns () |
void | initTableRows () |
virtual tristate | beforeSwitchTo (int mode, bool &dontStore) |
virtual tristate | afterSwitchFrom (int mode) |
virtual KexiDB::SchemaData * | storeNewData (const KexiDB::SchemaData &sdata, bool &cancel) |
virtual tristate | storeData (bool dontAsk=false) |
void | updateColumnsData () |
virtual KoProperty::Set * | propertySet () |
KoProperty::Set * | createPropertySet (int row, const QString &tableName, const QString &fieldName, bool newOne=false) |
bool | buildSchema (QString *errMsg=0) |
KexiQueryPart::TempData * | tempData () const |
KexiTableItem * | createNewRow (const QString &tableName, const QString &fieldName, bool visible=true) const |
KexiDB::BaseExpr * | parseExpressionString (const QString &fullString, int &token, bool allowRelationalOperator) |
QCString | generateUniqueAlias () const |
void | updatePropertiesVisibility (KoProperty::Set &buf) |
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 523 of file kexiquerydesignerguieditor.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 475 of file kexiquerydesignerguieditor.cpp. |
|
Builds query schema out of information provided by gui. The schema is stored in temp->query member. errMsg is optional error message returned.
Definition at line 329 of file kexiquerydesignerguieditor.cpp. |
|
Helper: allocates and initializes new table view's row. Doesn't insert it, just returns. tableName and fieldName shoudl be provided. visible flag sets value for "Visible" column. Definition at line 1015 of file kexiquerydesignerguieditor.cpp. |
|
Definition at line 1494 of file kexiquerydesignerguieditor.cpp. |
|
Called just once.
Definition at line 177 of file kexiquerydesignerguieditor.cpp. |
|
Called to have all rows empty.
Definition at line 230 of file kexiquerydesignerguieditor.cpp. |
|
Loads layout of relation GUI diagram. Definition at line 902 of file kexiquerydesignerguieditor.cpp. |
|
Definition at line 1114 of file kexiquerydesignerguieditor.cpp. |
|
Reimplemented from KexiViewBase. Definition at line 1468 of file kexiquerydesignerguieditor.cpp. |
|
convenience method equal to showFieldsOrRelationsForQueryInternal(query, true, true)
Definition at line 668 of file kexiquerydesignerguieditor.cpp. |
|
convenience method equal to showFieldsOrRelationsForQueryInternal(query, true, false)
Definition at line 658 of file kexiquerydesignerguieditor.cpp. |
|
Definition at line 673 of file kexiquerydesignerguieditor.cpp. |
|
convenience method equal to showFieldsOrRelationsForQueryInternal(query, false, true)
Definition at line 663 of file kexiquerydesignerguieditor.cpp. |
|
Called before cell change in tableview. allowSignals allowSignals allowSignals Definition at line 1236 of file kexiquerydesignerguieditor.cpp. |
|
Tells this view to store data changes on the backend. Called by KexiDialogBase::storeData(). Default implementation:
Reimpelment this for your needs. Should return true on success or cancelled when the task should be cancelled.
Reimplemented from KexiViewBase. Definition at line 611 of file kexiquerydesignerguieditor.cpp. |
|
Stores layout of relation GUI diagram. Definition at line 960 of file kexiquerydesignerguieditor.cpp. |
|
Tells this dialog to create and store data of the new object pointed by sdata on the backend. Called by KexiDialogBase::storeNewData(). Default implementation:
Reimplemented from KexiViewBase. Definition at line 581 of file kexiquerydesignerguieditor.cpp. |
|
Updates data in columns depending on tables that are currently inserted. Tabular Data in combo box popups is updated as well. Definition at line 242 of file kexiquerydesignerguieditor.cpp. |
The documentation for this class was generated from the following files: