Kexi API Documentation (2.0 alpha)

KexiFormScrollView Class Reference

#include <kexiformscrollview.h>

Inheritance diagram for KexiFormScrollView:

KexiScrollView KexiRecordNavigatorHandler KexiSharedActionClient KexiDataAwareObjectInterface KexiFormDataProvider KexiFormEventHandler QScrollView KexiDataItemChangesListener List of all members.

Detailed Description

KexiFormScrollView class provides a widget for displaying data in a form view.

This class also implements:

See also:
KexiTableView

Definition at line 41 of file kexiformscrollview.h.

Public Slots

virtual void show ()
virtual int rowsPerPage () const
 Implementation for KexiDataAwareObjectInterface.
virtual void ensureCellVisible (int row, int col)
 Implementation for KexiDataAwareObjectInterface.
virtual void moveToRecordRequested (uint r)
virtual void moveToLastRecordRequested ()
virtual void moveToPreviousRecordRequested ()
virtual void moveToNextRecordRequested ()
virtual void moveToFirstRecordRequested ()
virtual void addNewRecordRequested ()
virtual bool cancelEditor ()
virtual void refreshContentsSize ()
virtual void vScrollBarValueChanged (int v)
virtual void vScrollBarSliderReleased ()
virtual void scrollBarTipTimeout ()

Signals

virtual void itemChanged (KexiTableItem *, int row, int col)
 signals
virtual void itemChanged (KexiTableItem *, int row, int col, QVariant oldValue)
virtual void itemDeleteRequest (KexiTableItem *, int row, int col)
virtual void currentItemDeleteRequest ()
virtual void newItemAppendedForAfterDeletingInSpreadSheetMode ()
 does nothing
virtual void dataRefreshed ()
virtual void dataSet (KexiTableViewData *data)
virtual void itemSelected (KexiTableItem *)
virtual void cellSelected (int col, int row)
virtual void sortedColumnChanged (int col)
virtual void rowEditStarted (int row)
virtual void rowEditTerminated (int row)
virtual void reloadActions ()

Public Member Functions

 KexiFormScrollView (QWidget *parent, bool preview)
virtual ~KexiFormScrollView ()
void setForm (KFormDesigner::Form *form)
virtual bool columnEditable (int col)
virtual int columns () const
virtual KexiTableViewColumncolumn (int col)
virtual int fieldNumberForColumn (int col)
void beforeSwitchView ()
virtual int lastVisibleRow () const
virtual QScrollBar * verticalScrollBar () const

Protected Slots

void slotResizingStarted ()
virtual void slotRowRepaintRequested (KexiTableItem &item)
 Handles KexiTableViewData::rowRepaintRequested() signal.
virtual void slotAboutToDeleteRow (KexiTableItem &item, KexiDB::ResultInfo *result, bool repaint)
 Handles KexiTableViewData::aboutToDeleteRow() signal. Prepares info for slotRowDeleted().
virtual void slotRowDeleted ()
 Handles KexiTableViewData::rowDeleted() signal to repaint when needed.
virtual void slotRowInserted (KexiTableItem *item, bool repaint)
 Handles KexiTableViewData::rowInserted() signal to repaint when needed.
virtual void slotRowInserted (KexiTableItem *item, uint row, bool repaint)
 Like above, not db-aware version.
virtual void slotRowsDeleted (const QValueList< int > &)
virtual void slotDataDestroying ()
virtual void reloadData ()
virtual void copySelection ()
 Copy current selection to a clipboard (e.g. cell).
virtual void cutSelection ()
 Cut current selection to a clipboard (e.g. cell).
virtual void paste ()
 Paste current clipboard contents (e.g. to a cell).

Protected Member Functions

virtual void clearColumnsInternal (bool repaint)
 Implementation for KexiDataAwareObjectInterface.
virtual void addHeaderColumn (const QString &caption, const QString &description, const QIconSet &icon, int width)
 Implementation for KexiDataAwareObjectInterface.
virtual int currentLocalSortingOrder () const
 Implementation for KexiDataAwareObjectInterface.
virtual int currentLocalSortColumn () const
 Implementation for KexiDataAwareObjectInterface.
virtual void setLocalSortingOrder (int col, int order)
 Implementation for KexiDataAwareObjectInterface.
void sortColumnInternal (int col, int order=0)
 Implementation for KexiDataAwareObjectInterface.
virtual void updateGUIAfterSorting ()
 Implementation for KexiDataAwareObjectInterface.
virtual void createEditor (int row, int col, const QString &addText=QString::null, bool removeOld=false)
 Implementation for KexiDataAwareObjectInterface.
virtual KexiDataItemInterfaceeditor (int col, bool ignoreMissingEditor=false)
 Implementation for KexiDataAwareObjectInterface.
virtual void editorShowFocus (int row, int col)
 Implementation for KexiDataAwareObjectInterface.
virtual void updateCell (int row, int col)
virtual void updateCurrentCell ()
virtual void updateRow (int row)
virtual void updateWidgetContents ()
virtual void updateWidgetContentsSize ()
virtual void updateWidgetScrollBars ()
KexiDBFormdbFormWidget () const
virtual void valueChanged (KexiDataItemInterface *item)
 Reimplemented from KexiFormDataProvider. Reaction for change of item.
virtual bool cursorAtNewRow () const
virtual void selectCellInternal ()
 Implementation for KexiDataAwareObjectInterface Called by KexiDataAwareObjectInterface::setCursorPosition() if cursor's position is really changed.
virtual void initDataContents ()
virtual void updateAfterCancelRowEdit ()
virtual void updateAfterAcceptRowEdit ()
void handleDataWidgetAction (const QString &actionName)
bool shouldDisplayDefaultValueForItem (KexiFormDataItemInterface *itemIface) const

Protected Attributes

KFormDesigner::Formm_form
int m_currentLocalSortColumn
int m_localSortingOrder
KexiTableItemm_previousItem
 Used in selectCellInternal() to avoid fetching the same record twice.


Constructor & Destructor Documentation

KexiFormScrollView::KexiFormScrollView QWidget parent,
bool  preview
 

Definition at line 33 of file kexiformscrollview.cpp.

References m_currentLocalSortColumn, m_localSortingOrder, KexiDataAwareObjectInterface::m_navPanel, KexiDataAwareObjectInterface::m_popupMenu, m_previousItem, KexiScrollView::m_scrollViewNavPanel, KexiScrollView::resizingStarted(), KexiScrollView::setRecordNavigatorVisible(), and slotResizingStarted().

KexiFormScrollView::~KexiFormScrollView  )  [virtual]
 

Definition at line 59 of file kexiformscrollview.cpp.

References KexiDataAwareObjectInterface::m_data, and KexiDataAwareObjectInterface::m_owner.


Member Function Documentation

void KexiFormScrollView::addHeaderColumn const QString caption,
const QString description,
const QIconSet &  icon,
int  width
[protected, virtual]
 

Implementation for KexiDataAwareObjectInterface.

Todo:

Implements KexiDataAwareObjectInterface.

Definition at line 159 of file kexiformscrollview.cpp.

virtual void KexiFormScrollView::addNewRecordRequested  )  [inline, virtual, slot]
 

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 117 of file kexiformscrollview.h.

References KexiDataAwareObjectInterface::addNewRecordRequested().

void KexiFormScrollView::beforeSwitchView  ) 
 

Definition at line 537 of file kexiformscrollview.cpp.

References KexiDataAwareObjectInterface::m_editor.

Referenced by KexiFormView::beforeSwitchTo().

bool KexiFormScrollView::cancelEditor  )  [virtual, slot]
 

Cancels changes made to the currently active editor. Reverts the editor's value to old one.

Returns:
true on success or false on failure (e.g. when editor does not exist)

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 486 of file kexiformscrollview.cpp.

References KexiDataAwareObjectInterface::cancelEditor(), KexiFormDataProvider::fillDuplicatedDataItems(), KexiDataAwareObjectInterface::m_editor, KexiDataAwareObjectInterface::m_errorMessagePopup, shouldDisplayDefaultValueForItem(), and KexiFormDataItemInterface::undoChanges().

Referenced by KexiFormDataItemInterface::cancelEditor().

virtual void KexiFormScrollView::cellSelected int  col,
int  row
[virtual, signal]
 

for implementation as a signal

Implements KexiDataAwareObjectInterface.

void KexiFormScrollView::clearColumnsInternal bool  repaint  )  [protected, virtual]
 

Implementation for KexiDataAwareObjectInterface.

Todo:

Implements KexiDataAwareObjectInterface.

Definition at line 153 of file kexiformscrollview.cpp.

KexiTableViewColumn * KexiFormScrollView::column int  col  )  [virtual]
 

Returns:
column information for column number col. Reimplemented for KexiDataAwareObjectInterface: column data corresponding to widget number is used here (see fieldNumberForColumn()).

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 472 of file kexiformscrollview.cpp.

References KexiTableViewData::column(), fieldNumberForColumn(), and KexiDataAwareObjectInterface::m_data.

Referenced by createEditor().

bool KexiFormScrollView::columnEditable int  col  )  [virtual]
 

Reimplemented from KexiDataAwareObjectInterface for checking 'readOnly' flag from a widget ('readOnly' flag from data member is still checked though).

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 401 of file kexiformscrollview.cpp.

References KexiDataAwareObjectInterface::columnEditable(), dbFormWidget(), foreach_list, KexiDataItemInterface::isReadOnly(), kexipluginsdbg, and KexiFormDataProvider::m_dataItems.

int KexiFormScrollView::columns  )  const [virtual]
 

Returns:
number of visible columns in this view. There can be a number of duplicated columns defined (data-aware widgets, see KexiFormScrollView::columns()), so columns() can return greater number than dataColumns().

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 387 of file kexiformscrollview.cpp.

References dbFormWidget().

Referenced by editor().

void KexiFormScrollView::copySelection  )  [protected, virtual, slot]
 

Copy current selection to a clipboard (e.g. cell).

Implements KexiDataAwareObjectInterface.

Definition at line 566 of file kexiformscrollview.cpp.

References handleDataWidgetAction().

void KexiFormScrollView::createEditor int  row,
int  col,
const QString addText = QString::null,
bool  removeOld = false
[protected, virtual]
 

Implementation for KexiDataAwareObjectInterface.

Todo:

Implements KexiDataAwareObjectInterface.

Definition at line 200 of file kexiformscrollview.cpp.

References KexiTableViewData::append(), KexiTableViewData::clearRowEditBuffer(), column(), KexiTableViewData::createItem(), KexiDataAwareObjectInterface::editor(), KexiDataAwareObjectInterface::isInsertingEnabled(), KexiDataAwareObjectInterface::isReadOnly(), kexipluginsdbg, KexiDataAwareObjectInterface::m_currentItem, KexiDataAwareObjectInterface::m_curRow, KexiDataAwareObjectInterface::m_data, KexiDataAwareObjectInterface::m_editor, KexiDataAwareObjectInterface::m_insertItem, KexiDataAwareObjectInterface::m_newRowEditing, KexiDataAwareObjectInterface::m_rowEditing, KexiDataAwareObjectInterface::m_verticalHeader, KexiScrollView::recordNavigator(), rowEditStarted(), and updateWidgetContentsSize().

virtual void KexiFormScrollView::currentItemDeleteRequest  )  [virtual, signal]
 

Implements KexiDataAwareObjectInterface.

int KexiFormScrollView::currentLocalSortColumn  )  const [protected, virtual]
 

Implementation for KexiDataAwareObjectInterface.

Implements KexiDataAwareObjectInterface.

Definition at line 176 of file kexiformscrollview.cpp.

References m_currentLocalSortColumn.

int KexiFormScrollView::currentLocalSortingOrder  )  const [protected, virtual]
 

Implementation for KexiDataAwareObjectInterface.

Todo:

Implements KexiDataAwareObjectInterface.

Definition at line 170 of file kexiformscrollview.cpp.

References m_localSortingOrder.

bool KexiFormScrollView::cursorAtNewRow  )  const [protected, virtual]
 

Reimplemented from KexiFormDataProvider.

Returns:
information whether we're currently at new row or now. This can be used e.g. by data-aware widgets to determine if "(autonumber)" label should be displayed.

Reimplemented from KexiFormDataProvider.

Definition at line 450 of file kexiformscrollview.cpp.

References KexiDataAwareObjectInterface::isInsertingEnabled(), KexiDataAwareObjectInterface::m_currentItem, KexiDataAwareObjectInterface::m_insertItem, and KexiDataAwareObjectInterface::m_newRowEditing.

Referenced by selectCellInternal(), shouldDisplayDefaultValueForItem(), and updateAfterAcceptRowEdit().

void KexiFormScrollView::cutSelection  )  [protected, virtual, slot]
 

Cut current selection to a clipboard (e.g. cell).

Implements KexiDataAwareObjectInterface.

Definition at line 571 of file kexiformscrollview.cpp.

References handleDataWidgetAction().

virtual void KexiFormScrollView::dataRefreshed  )  [virtual, signal]
 

Data has been refreshed on-screen - emitted from initDataContents().

Implements KexiDataAwareObjectInterface.

virtual void KexiFormScrollView::dataSet KexiTableViewData data  )  [virtual, signal]
 

Implements KexiDataAwareObjectInterface.

KexiDBForm * KexiFormScrollView::dbFormWidget  )  const [protected]
 

Definition at line 382 of file kexiformscrollview.cpp.

References KexiScrollView::m_widget.

Referenced by columnEditable(), columns(), editor(), initDataContents(), updateAfterAcceptRowEdit(), updateAfterCancelRowEdit(), and valueChanged().

KexiDataItemInterface * KexiFormScrollView::editor int  col,
bool  ignoreMissingEditor = false
[protected, virtual]
 

Implementation for KexiDataAwareObjectInterface.

Implements KexiDataAwareObjectInterface.

Definition at line 260 of file kexiformscrollview.cpp.

References columns(), dbFormWidget(), and KexiDataAwareObjectInterface::m_data.

void KexiFormScrollView::editorShowFocus int  row,
int  col
[protected, virtual]
 

Implementation for KexiDataAwareObjectInterface.

Todo:

Implements KexiDataAwareObjectInterface.

Definition at line 304 of file kexiformscrollview.cpp.

void KexiFormScrollView::ensureCellVisible int  row,
int  col
[virtual, slot]
 

Implementation for KexiDataAwareObjectInterface.

Todo:

Implements KexiDataAwareObjectInterface.

Definition at line 111 of file kexiformscrollview.cpp.

virtual int KexiFormScrollView::fieldNumberForColumn int  col  )  [inline, virtual]
 

Returns:
field number within data model connected to a data-aware widget at column col.

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 77 of file kexiformscrollview.h.

Referenced by column().

void KexiFormScrollView::handleDataWidgetAction const QString actionName  )  [protected]
 

Definition at line 552 of file kexiformscrollview.cpp.

Referenced by copySelection(), cutSelection(), and paste().

void KexiFormScrollView::initDataContents  )  [protected, virtual]
 

Reimplementation: used to refresh "editing indicator" visibility.

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 455 of file kexiformscrollview.cpp.

References dbFormWidget(), KexiDataAwareObjectInterface::initDataContents(), KexiDataAwareObjectInterface::isReadOnly(), KexiDataAwareObjectInterface::m_data, KexiScrollView::m_preview, KexiScrollView::recordNavigator(), and KexiScrollView::setRecordNavigatorVisible().

virtual void KexiFormScrollView::itemChanged KexiTableItem ,
int  row,
int  col,
QVariant  oldValue
[virtual, signal]
 

Implements KexiDataAwareObjectInterface.

virtual void KexiFormScrollView::itemChanged KexiTableItem ,
int  row,
int  col
[virtual, signal]
 

signals

Implements KexiDataAwareObjectInterface.

virtual void KexiFormScrollView::itemDeleteRequest KexiTableItem ,
int  row,
int  col
[virtual, signal]
 

Implements KexiDataAwareObjectInterface.

virtual void KexiFormScrollView::itemSelected KexiTableItem  )  [virtual, signal]
 

for implementation as a signal

Implements KexiDataAwareObjectInterface.

int KexiFormScrollView::lastVisibleRow  )  const [virtual]
 

Returns:
last row visible on the screen (counting from 0). The returned value is guaranteed to be smaller or equal to currentRow() or -1 if there are no rows. Implemented for KexiDataAwareObjectInterface.
Todo:
unimplemented for now, this will be used for continuous forms

Implements KexiDataAwareObjectInterface.

Definition at line 581 of file kexiformscrollview.cpp.

void KexiFormScrollView::moveToFirstRecordRequested  )  [virtual, slot]
 

Todo:

Implements KexiRecordNavigatorHandler.

Definition at line 147 of file kexiformscrollview.cpp.

References KexiDataAwareObjectInterface::selectFirstRow().

void KexiFormScrollView::moveToLastRecordRequested  )  [virtual, slot]
 

Todo:

Implements KexiRecordNavigatorHandler.

Definition at line 129 of file kexiformscrollview.cpp.

References KexiDataAwareObjectInterface::selectLastRow().

void KexiFormScrollView::moveToNextRecordRequested  )  [virtual, slot]
 

Todo:

Implements KexiRecordNavigatorHandler.

Definition at line 141 of file kexiformscrollview.cpp.

References KexiDataAwareObjectInterface::selectNextRow().

void KexiFormScrollView::moveToPreviousRecordRequested  )  [virtual, slot]
 

Todo:

Implements KexiRecordNavigatorHandler.

Definition at line 135 of file kexiformscrollview.cpp.

References KexiDataAwareObjectInterface::selectPrevRow().

void KexiFormScrollView::moveToRecordRequested uint  r  )  [virtual, slot]
 

Todo:

Implements KexiRecordNavigatorHandler.

Definition at line 123 of file kexiformscrollview.cpp.

References KexiDataAwareObjectInterface::selectRow().

virtual void KexiFormScrollView::newItemAppendedForAfterDeletingInSpreadSheetMode  )  [virtual, signal]
 

does nothing

Implements KexiDataAwareObjectInterface.

void KexiFormScrollView::paste  )  [protected, virtual, slot]
 

Paste current clipboard contents (e.g. to a cell).

Implements KexiDataAwareObjectInterface.

Definition at line 576 of file kexiformscrollview.cpp.

References handleDataWidgetAction().

void KexiFormScrollView::refreshContentsSize  )  [virtual, slot]
 

Reimplemented to also clear command history right after final resize.

Reimplemented from KexiScrollView.

Definition at line 542 of file kexiformscrollview.cpp.

References KexiScrollView::m_delayedResize, m_form, KexiScrollView::m_preview, and KexiScrollView::refreshContentsSize().

Referenced by KexiFormView::initForm(), and KexiFormView::insertAutoFields().

virtual void KexiFormScrollView::reloadActions  )  [virtual, signal]
 

Emitted in initActions() to force reload actions You should remove existing actions and add them again. Define and emit reloadActions() signal here.

Implements KexiDataAwareObjectInterface.

virtual void KexiFormScrollView::reloadData  )  [inline, protected, virtual, slot]
 

Reloads data for this widget. Handles KexiTableViewData::reloadRequested() signal.

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 183 of file kexiformscrollview.h.

References KexiDataAwareObjectInterface::reloadData().

virtual void KexiFormScrollView::rowEditStarted int  row  )  [virtual, signal]
 

Referenced by createEditor().

virtual void KexiFormScrollView::rowEditTerminated int  row  )  [virtual, signal]
 

for implementation as a signal

Implements KexiDataAwareObjectInterface.

int KexiFormScrollView::rowsPerPage  )  const [virtual, slot]
 

Implementation for KexiDataAwareObjectInterface.

Returns:
arbitraty value of 10.

Implements KexiDataAwareObjectInterface.

Definition at line 91 of file kexiformscrollview.cpp.

virtual void KexiFormScrollView::scrollBarTipTimeout  )  [inline, virtual, slot]
 

Handles timeout() signal of the m_scrollBarTipTimer. If the tooltip is visible, m_scrollBarTipTimerCnt is set to 0 and m_scrollBarTipTimerCnt is restarted; else the m_scrollBarTipTimerCnt is just set to 0.

Todo:
unused for now, will be used for continuous forms

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 141 of file kexiformscrollview.h.

References KexiDataAwareObjectInterface::scrollBarTipTimeout().

void KexiFormScrollView::selectCellInternal  )  [inline, protected, virtual]
 

Implementation for KexiDataAwareObjectInterface Called by KexiDataAwareObjectInterface::setCursorPosition() if cursor's position is really changed.

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 97 of file kexiformscrollview.cpp.

References cursorAtNewRow(), KexiFormDataProvider::fillDataItems(), KexiDataAwareObjectInterface::m_currentItem, and m_previousItem.

void KexiFormScrollView::setForm KFormDesigner::Form form  )  [inline]
 

Definition at line 56 of file kexiformscrollview.h.

Referenced by KexiFormView::initForm().

void KexiFormScrollView::setLocalSortingOrder int  col,
int  order
[protected, virtual]
 

Implementation for KexiDataAwareObjectInterface.

Todo:

Implements KexiDataAwareObjectInterface.

Definition at line 181 of file kexiformscrollview.cpp.

References m_currentLocalSortColumn, and m_localSortingOrder.

bool KexiFormScrollView::shouldDisplayDefaultValueForItem KexiFormDataItemInterface itemIface  )  const [protected]
 

Definition at line 478 of file kexiformscrollview.cpp.

References cursorAtNewRow().

Referenced by cancelEditor(), and updateAfterCancelRowEdit().

void KexiFormScrollView::show  )  [virtual, slot]
 

Reimplemented to update resize policy.

Definition at line 67 of file kexiformscrollview.cpp.

References KexiScrollView::m_preview, KexiFormView::ResizeAuto, and KexiFormView::resizeMode().

virtual void KexiFormScrollView::slotAboutToDeleteRow KexiTableItem item,
KexiDB::ResultInfo result,
bool  repaint
[inline, protected, virtual, slot]
 

Handles KexiTableViewData::aboutToDeleteRow() signal. Prepares info for slotRowDeleted().

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 165 of file kexiformscrollview.h.

References KexiDataAwareObjectInterface::slotAboutToDeleteRow().

virtual void KexiFormScrollView::slotDataDestroying  )  [inline, protected, virtual, slot]
 

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 179 of file kexiformscrollview.h.

References KexiDataAwareObjectInterface::slotDataDestroying().

void KexiFormScrollView::slotResizingStarted  )  [protected, slot]
 

Definition at line 83 of file kexiformscrollview.cpp.

References KFormDesigner::Form::gridSize(), m_form, KFormDesigner::FormManager::self(), and KexiScrollView::setSnapToGrid().

Referenced by KexiFormScrollView().

virtual void KexiFormScrollView::slotRowDeleted  )  [inline, protected, virtual, slot]
 

Handles KexiTableViewData::rowDeleted() signal to repaint when needed.

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 169 of file kexiformscrollview.h.

References KexiDataAwareObjectInterface::slotRowDeleted().

void KexiFormScrollView::slotRowInserted KexiTableItem item,
uint  row,
bool  repaint
[protected, virtual, slot]
 

Like above, not db-aware version.

Todo:

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 369 of file kexiformscrollview.cpp.

void KexiFormScrollView::slotRowInserted KexiTableItem item,
bool  repaint
[protected, virtual, slot]
 

Handles KexiTableViewData::rowInserted() signal to repaint when needed.

Todo:

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 362 of file kexiformscrollview.cpp.

void KexiFormScrollView::slotRowRepaintRequested KexiTableItem item  )  [protected, virtual, slot]
 

Handles KexiTableViewData::rowRepaintRequested() signal.

Todo:

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 345 of file kexiformscrollview.cpp.

void KexiFormScrollView::slotRowsDeleted const QValueList< int > &   )  [protected, virtual, slot]
 

Todo:

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 377 of file kexiformscrollview.cpp.

void KexiFormScrollView::sortColumnInternal int  col,
int  order = 0
[protected, virtual]
 

Implementation for KexiDataAwareObjectInterface.

Todo:

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 188 of file kexiformscrollview.cpp.

virtual void KexiFormScrollView::sortedColumnChanged int  col  )  [virtual, signal]
 

for implementation as a signal

Implements KexiDataAwareObjectInterface.

void KexiFormScrollView::updateAfterAcceptRowEdit  )  [protected, virtual]
 

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 526 of file kexiformscrollview.cpp.

References cursorAtNewRow(), dbFormWidget(), KexiFormDataProvider::fillDataItems(), KexiDataAwareObjectInterface::m_currentItem, m_previousItem, and KexiScrollView::recordNavigator().

void KexiFormScrollView::updateAfterCancelRowEdit  )  [protected, virtual]
 

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 508 of file kexiformscrollview.cpp.

References dbFormWidget(), kexipluginsdbg, KexiFormDataProvider::m_dataItems, KexiScrollView::recordNavigator(), and shouldDisplayDefaultValueForItem().

void KexiFormScrollView::updateCell int  row,
int  col
[protected, virtual]
 

Implementation for KexiDataAwareObjectInterface Redraws specified cell.

Implements KexiDataAwareObjectInterface.

Definition at line 313 of file kexiformscrollview.cpp.

void KexiFormScrollView::updateCurrentCell  )  [protected, virtual]
 

Redraws the current cell. Implemented after KexiDataAwareObjectInterface.

Implements KexiDataAwareObjectInterface.

Definition at line 320 of file kexiformscrollview.cpp.

void KexiFormScrollView::updateGUIAfterSorting  )  [protected, virtual]
 

Implementation for KexiDataAwareObjectInterface.

Todo:

Implements KexiDataAwareObjectInterface.

Definition at line 195 of file kexiformscrollview.cpp.

void KexiFormScrollView::updateRow int  row  )  [protected, virtual]
 

Implementation for KexiDataAwareObjectInterface Redraws all cells of specified row.

Implements KexiDataAwareObjectInterface.

Definition at line 324 of file kexiformscrollview.cpp.

void KexiFormScrollView::updateWidgetContents  )  [protected, virtual]
 

Implementation for KexiDataAwareObjectInterface Updates contents of the widget. Just call update() here on your widget.

Implements KexiDataAwareObjectInterface.

Definition at line 330 of file kexiformscrollview.cpp.

void KexiFormScrollView::updateWidgetContentsSize  )  [protected, virtual]