#include <kexidatatable.h>
Public Slots | |
| void | setData (KexiDB::Cursor *cursor) |
| Public Slots inherited from KexiDataAwareView | |
| void | deleteAllRows () |
| void | deleteCurrentRow () |
| void | deleteAndStartEditCurrentCell () |
| void | startEditOrToggleValue () |
| bool | acceptRowEdit () |
| void | cancelRowEdit () |
| void | sortAscending () |
| void | sortDescending () |
| void | copySelection () |
| void | cutSelection () |
| void | paste () |
| void | slotGoToFirstRow () |
| void | slotGoToPreviusRow () |
| void | slotGoToNextRow () |
| void | slotGoToLastRow () |
| void | slotGoToNewRow () |
| Public Slots inherited from KexiViewBase | |
| virtual void | setFocus () |
| virtual void | propertySetSwitched () |
| void | setDirty (bool set) |
| void | setDirty () |
Public Member Functions | |
| KexiDataTable (KexiMainWindow *mainWin, TQWidget *parent, const char *name=0, bool dbAware=true) | |
| KexiDataTable (KexiMainWindow *mainWin, TQWidget *parent, KexiDB::Cursor *cursor, const char *name=0) | |
| KexiTableView * | tableView () const |
| Public Member Functions inherited from KexiDataAwareView | |
| KexiDataAwareView (KexiMainWindow *mainWin, TQWidget *parent, const char *name=0) | |
| TQWidget * | mainWidget () |
| virtual TQSize | minimumSizeHint () const |
| virtual TQSize | sizeHint () const |
| KexiDataAwareObjectInterface * | dataAwareObject () const |
| virtual bool | setupFindAndReplace (TQStringList &columnNames, TQStringList &columnCaptions, TQString ¤tColumnName) |
| virtual tristate | find (const TQVariant &valueToFind, const KexiSearchAndReplaceViewInterface::Options &options, bool next) |
| virtual tristate | findNextAndReplace (const TQVariant &valueToFind, const TQVariant &replacement, const KexiSearchAndReplaceViewInterface::Options &options, bool replaceAll) |
| Public Member Functions inherited from KexiViewBase | |
| KexiViewBase (KexiMainWindow *mainWin, TQWidget *parent, const char *name=0) | |
| KexiMainWindow * | mainWin () const |
| KexiDialogBase * | parentDialog () const |
| KexiPart::Part * | part () const |
| virtual TQSize | preferredSizeHint (const TQSize &otherSize) |
| virtual bool | eventFilter (TQObject *o, TQEvent *e) |
| void | addChildView (KexiViewBase *childView) |
| virtual bool | dirty () const |
| int | viewMode () const |
| virtual TDEAction * | sharedAction (const char *action_name) |
| virtual void | setAvailable (const char *action_name, bool set) |
| Public Member Functions inherited from KexiActionProxy | |
| KexiActionProxy (TQObject *receiver, KexiSharedActionHost *host=0) | |
| bool | activateSharedAction (const char *action_name, bool alsoCheckInChildren=true) |
| void | setSharedActionHost (KexiSharedActionHost &host) |
| bool | isAvailable (const char *action_name, bool alsoCheckInChildren=true) const |
| bool | isSupported (const char *action_name) const |
| void | setActionProxyParent_internal (KexiActionProxy *parent) |
Protected Slots | |
| void | filter () |
| Protected Slots inherited from KexiDataAwareView | |
| void | slotCellSelected (int col, int row) |
| void | reloadActions () |
| void | slotUpdateRowActions (int row) |
| void | slotClosing (bool &cancel) |
Protected Member Functions | |
| void | init () |
| Protected Member Functions inherited from KexiDataAwareView | |
| void | init (TQWidget *viewWidget, KexiSharedActionClient *actionClient, KexiDataAwareObjectInterface *dataAwareObject, bool noDataAware=false) |
| void | initActions () |
| virtual void | updateActions (bool activated) |
| Protected Member Functions inherited from KexiViewBase | |
| virtual tristate | beforeSwitchTo (int mode, bool &dontStore) |
| virtual tristate | afterSwitchFrom (int mode) |
| virtual void | closeEvent (TQCloseEvent *e) |
| virtual KoProperty::Set * | propertySet () |
| void | propertySetReloaded (bool preservePrevSelection=false, const TQCString &propertyToSelect=TQCString()) |
| virtual KexiDB::SchemaData * | storeNewData (const KexiDB::SchemaData &sdata, bool &cancel) |
| bool | loadDataBlock (TQString &dataString, const TQString &dataID=TQString(), bool canBeEmpty=false) |
| virtual tristate | storeData (bool dontAsk=false) |
| bool | storeDataBlock (const TQString &dataString, const TQString &dataID=TQString()) |
| bool | removeDataBlock (const TQString &dataID=TQString()) |
| void | setViewWidget (TQWidget *w, bool focusProxy=false) |
| virtual void | setFocusInternal () |
| virtual void | parentDialogDetached () |
| virtual void | parentDialogAttached () |
| Protected Member Functions inherited from KexiActionProxy | |
| void | plugSharedAction (const char *action_name, TQObject *receiver, const char *slot) |
| void | unplugSharedAction (const char *action_name) |
| void | plugSharedAction (const char *action_name, const char *slot) |
| int | plugSharedAction (const char *action_name, TQWidget *w) |
| void | plugSharedActionToExternalGUI (const char *action_name, KXMLGUIClient *client) |
| void | plugSharedActionsToExternalGUI (const TQValueList< TQCString > &action_names, KXMLGUIClient *client) |
| void | unplugSharedAction (const char *action_name, TQWidget *w) |
| TDEAction * | plugSharedAction (const char *action_name, const TQString &alternativeText, TQWidget *w) |
| TQObject * | receiver () const |
| void | addActionProxyChild (KexiActionProxy *child) |
| void | takeActionProxyChild (KexiActionProxy *child) |
Additional Inherited Members | |
| Signals inherited from KexiViewBase | |
| void | closing (bool &cancel) |
| void | focus (bool in) |
| Public Attributes inherited from KexiActionProxy | |
| KexiActionProxy * | m_focusedChild |
| Protected Attributes inherited from KexiDataAwareView | |
| TQWidget * | m_internalView |
| KexiSharedActionClient * | m_actionClient |
| KexiDataAwareObjectInterface * | m_dataAwareObject |
| Protected Attributes inherited from KexiViewBase | |
| TQString | m_defaultIconName |
| KexiMainWindow * | m_mainWin |
| KexiDialogBase * | m_dialog |
| TQWidget * | m_viewWidget |
| KexiViewBase * | m_parentView |
| TQGuardedPtr< TQWidget > | m_lastFocusedChildBeforeFocusOut |
| Protected Attributes inherited from KexiActionProxy | |
| KexiSharedActionHost * | m_host |
| TQGuardedPtr< TQObject > | m_receiver |
| TQAsciiDict< TQPair< TQSignal *, bool > > | m_signals |
| TQPtrList< KexiActionProxy > | m_sharedActionChildren |
| TQPtrList< TDEAction > | m_alternativeActions |
| KexiActionProxy * | m_actionProxyParent |
| TQObject | m_signal_parent |
| TDEAction_setEnabled_Helper * | m_TDEAction_setEnabled_helper |
Detailed Description
Provides a data-driven (record-based) tabular view.
The KexiDataTable can display data provided "by hand" or from KexiDB-compatible database source.
- See also
- KexiFormView
Definition at line 44 of file kexidatatable.h.
Constructor & Destructor Documentation
◆ KexiDataTable() [1/2]
| KexiDataTable::KexiDataTable | ( | KexiMainWindow * | mainWin, |
| TQWidget * | parent, | ||
| const char * | name = 0, | ||
| bool | dbAware = true ) |
CTOR1: Creates, empty table view that can be initialized later with setData(). If dbAware is true, table will be db-aware, and KexiDataTableView is used internally. Otherwise, table will be not-db-aware, and KexiTableView is used internally. In the latter case, data can be set by calling tableView()->setData(KexiTableViewData* data).
Definition at line 37 of file kexidatatable.cpp.
◆ KexiDataTable() [2/2]
| KexiDataTable::KexiDataTable | ( | KexiMainWindow * | mainWin, |
| TQWidget * | parent, | ||
| KexiDB::Cursor * | cursor, | ||
| const char * | name = 0 ) |
CTOR2: Creates db-aware, table view initialized with cursor. KexiDataTableView is used internally.
Definition at line 53 of file kexidatatable.cpp.
◆ ~KexiDataTable()
|
virtual |
Definition at line 61 of file kexidatatable.cpp.
Member Function Documentation
◆ filter
|
protectedslot |
Definition at line 73 of file kexidatatable.cpp.
◆ setData
|
slot |
Sets data. Only works for db-aware table.
Definition at line 66 of file kexidatatable.cpp.
◆ tableView()
| KexiTableView * KexiDataTable::tableView | ( | ) | const |
Definition at line 77 of file kexidatatable.cpp.
The documentation for this class was generated from the following files:
