#include <kexiformscrollview.h>
Public Slots | |
| virtual void | show () |
| virtual int | rowsPerPage () const |
| virtual void | ensureCellVisible (int row, int col) |
| 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 () |
Public Slots inherited from KexiScrollView | |
| virtual void | refreshContentsSize () |
Signals | |
| virtual void | itemChanged (KexiTableItem *, int row, int col) |
| virtual void | itemChanged (KexiTableItem *, int row, int col, TQVariant oldValue) |
| virtual void | itemDeleteRequest (KexiTableItem *, int row, int col) |
| virtual void | currentItemDeleteRequest () |
| virtual void | newItemAppendedForAfterDeletingInSpreadSheetMode () |
| 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 () |
Signals inherited from KexiScrollView | |
| void | outerAreaClicked () |
| void | resizingStarted () |
| void | resizingEnded () |
Public Member Functions | |
| KexiFormScrollView (TQWidget *parent, bool preview) | |
| void | setForm (KFormDesigner::Form *form) |
| virtual bool | columnEditable (int col) |
| virtual int | columns () const |
| virtual KexiTableViewColumn * | column (int col) |
| virtual int | fieldNumberForColumn (int col) |
| void | beforeSwitchView () |
| virtual int | lastVisibleRow () const |
| virtual TQScrollBar * | verticalScrollBar () const |
Public Member Functions inherited from KexiScrollView | |
| KexiScrollView (TQWidget *parent, bool preview) | |
| void | setWidget (TQWidget *w) |
| void | setSnapToGrid (bool enable, int gridSize=10) |
| void | setResizingEnabled (bool enabled) |
| void | setRecordNavigatorVisible (bool visible) |
| void | setOuterAreaIndicatorVisible (bool visible) |
| void | refreshContentsSizeLater (bool horizontal, bool vertical) |
| void | updateNavPanelGeometry () |
| KexiRecordNavigator * | recordNavigator () const |
| bool | preview () const |
Public Member Functions inherited from KexiRecordNavigatorHandler | |
| virtual void | moveToRecordRequested (uint r)=0 |
| virtual void | moveToLastRecordRequested ()=0 |
| virtual void | moveToPreviousRecordRequested ()=0 |
| virtual void | moveToNextRecordRequested ()=0 |
| virtual void | moveToFirstRecordRequested ()=0 |
| virtual void | addNewRecordRequested ()=0 |
Public Member Functions inherited from KexiSharedActionClient | |
| void | plugSharedAction (TDEAction *a) |
Public Member Functions inherited from KexiDataAwareObjectInterface | |
| void | setData (KexiTableViewData *data, bool owner=true) |
| KexiTableViewData * | data () const |
| int | currentColumn () const |
| int | currentRow () const |
| KexiTableItem * | selectedItem () const |
| int | rows () const |
| int | dataColumns () const |
| virtual bool | isReadOnly () const |
| void | setReadOnly (bool set) |
| bool | isSortingEnabled () const |
| virtual void | setSorting (int col, bool ascending=true) |
| virtual void | setSortingEnabled (bool set) |
| int | dataSortedColumn () const |
| int | dataSortingOrder () const |
| virtual bool | sort () |
| void | sortAscending () |
| void | sortDescending () |
| virtual bool | isInsertingEnabled () const |
| void | setInsertingEnabled (bool set) |
| bool | isDeleteEnabled () const |
| bool | isEmptyRowInsertingEnabled () const |
| void | setEmptyRowInsertingEnabled (bool set) |
| virtual void | setFilteringEnabled (bool set) |
| bool | isFilteringEnabled () const |
| virtual void | setSpreadSheetMode () |
| bool | spreadSheetMode () const |
| bool | rowEditing () const |
| DeletionPolicy | deletionPolicy () const |
| virtual void | setDeletionPolicy (DeletionPolicy policy) |
| virtual void | deleteCurrentRow () |
| virtual KexiTableItem * | insertEmptyRow (int row=-1) |
| virtual bool | beforeDeleteItem (KexiTableItem *item) |
| bool | deleteItem (KexiTableItem *item) |
| void | insertItem (KexiTableItem *newItem, int row=-1) |
| tristate | deleteAllRows (bool ask=false, bool repaint=true) |
| virtual int | rowsPerPage () const =0 |
| virtual void | selectRow (int row) |
| virtual void | selectNextRow () |
| virtual void | selectPrevRow () |
| virtual void | selectNextPage () |
| virtual void | selectPrevPage () |
| virtual void | selectFirstRow () |
| virtual void | selectLastRow () |
| virtual void | addNewRecordRequested () |
| virtual void | clearSelection () |
| virtual void | setCursorPosition (int row, int col=-1, bool forceSet=false) |
| virtual void | ensureCellVisible (int row, int col)=0 |
| virtual void | setAcceptsRowEditAfterCellAccepting (bool set) |
| bool | acceptsRowEditAfterCellAccepting () const |
| bool | dropsAtRowEnabled () const |
| virtual void | setDropsAtRowEnabled (bool set) |
| KexiDataItemInterface * | editor () const |
| virtual bool | cancelRowEdit () |
| virtual bool | acceptRowEdit () |
| virtual void | removeEditor () |
| virtual bool | cancelEditor () |
| virtual bool | acceptEditor () |
| virtual void | startEditCurrentCell (const TQString &setText=TQString()) |
| virtual void | deleteAndStartEditCurrentCell () |
| KexiTableItem * | itemAt (int row) const |
| bool | hasDefaultValueAt (const KexiTableViewColumn &tvcol) |
| const TQVariant * | bufferedValueAt (int col, bool useDefaultValueIfPossible=true) |
| int | columnType (int col) |
| TQVariant | columnDefaultValue (int col) const |
| KexiRecordMarker * | verticalHeader () const |
| virtual void | itemChanged (KexiTableItem *, int row, int col)=0 |
| virtual void | itemChanged (KexiTableItem *, int row, int col, TQVariant oldValue)=0 |
| virtual void | itemDeleteRequest (KexiTableItem *, int row, int col)=0 |
| virtual void | currentItemDeleteRequest ()=0 |
| virtual void | newItemAppendedForAfterDeletingInSpreadSheetMode ()=0 |
| virtual void | dataRefreshed ()=0 |
| virtual void | dataSet (KexiTableViewData *data)=0 |
| TDEPopupMenu * | contextMenu () const |
| bool | contextMenuEnabled () const |
| void | setContextMenuEnabled (bool set) |
| bool | scrollbarToolTipsEnabled () const |
| void | setScrollbarToolTipsEnabled (bool set) |
| void | startEditOrToggleValue () |
| bool | newRowEditing () const |
| virtual void | boolToggled () |
| virtual void | connectCellSelectedSignal (const TQObject *receiver, const char *intIntMember)=0 |
| virtual void | connectRowEditStartedSignal (const TQObject *receiver, const char *intMember)=0 |
| virtual void | connectRowEditTerminatedSignal (const TQObject *receiver, const char *voidMember)=0 |
| virtual void | connectReloadActionsSignal (const TQObject *receiver, const char *voidMember)=0 |
| virtual void | connectDataSetSignal (const TQObject *receiver, const char *kexiTableViewDataMember)=0 |
| virtual void | connectToReloadDataSlot (const TQObject *sender, const char *voidSignal)=0 |
| virtual void | slotDataDestroying () |
| virtual void | copySelection ()=0 |
| virtual void | cutSelection ()=0 |
| virtual void | paste ()=0 |
| 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) |
| virtual bool | handleKeyPress (TQKeyEvent *e, int &curRow, int &curCol, bool fullRowSelection, bool *moveToFirstField=0, bool *moveToLastField=0) |
Public Member Functions inherited from KexiFormDataProvider | |
| void | setMainDataSourceWidget (TQWidget *mainWidget) |
| TQStringList | usedDataSources () const |
| void | fillDataItems (KexiTableItem &row, bool cursorAtNewRow) |
| void | invalidateDataSources (const TQDict< char > &invalidSources, KexiDB::QuerySchema *query=0) |
| void | fillDuplicatedDataItems (KexiFormDataItemInterface *item, const TQVariant &value) |
Public Member Functions inherited from KexiFormEventHandler | |
| void | setMainWidgetForEventHandling (KexiMainWindow *mainWin, TQWidget *mainWidget) |
Protected Slots | |
| void | slotResizingStarted () |
| virtual void | slotRowRepaintRequested (KexiTableItem &item) |
| virtual void | slotAboutToDeleteRow (KexiTableItem &item, KexiDB::ResultInfo *result, bool repaint) |
| virtual void | slotRowDeleted () |
| virtual void | slotRowInserted (KexiTableItem *item, bool repaint) |
| virtual void | slotRowInserted (KexiTableItem *item, uint row, bool repaint) |
| virtual void | slotRowsDeleted (const TQValueList< int > &) |
| virtual void | slotDataDestroying () |
| virtual void | reloadData () |
| virtual void | copySelection () |
| virtual void | cutSelection () |
| virtual void | paste () |
Protected Member Functions | |
| virtual void | clearColumnsInternal (bool repaint) |
| virtual void | addHeaderColumn (const TQString &caption, const TQString &description, const TQIconSet &icon, int width) |
| virtual int | currentLocalSortingOrder () const |
| virtual int | currentLocalSortColumn () const |
| virtual void | setLocalSortingOrder (int col, int order) |
| void | sortColumnInternal (int col, int order=0) |
| virtual void | updateGUIAfterSorting () |
| virtual void | createEditor (int row, int col, const TQString &addText=TQString(), bool removeOld=false) |
| virtual KexiDataItemInterface * | editor (int col, bool ignoreMissingEditor=false) |
| virtual void | editorShowFocus (int row, int col) |
| virtual void | updateCell (int row, int col) |
| virtual void | updateCurrentCell () |
| virtual void | updateRow (int row) |
| virtual void | updateWidgetContents () |
| virtual void | updateWidgetContentsSize () |
| virtual void | updateWidgetScrollBars () |
| KexiDBForm * | dbFormWidget () const |
| virtual void | valueChanged (KexiDataItemInterface *item) |
| virtual bool | cursorAtNewRow () const |
| virtual void | selectCellInternal () |
| virtual void | initDataContents () |
| virtual void | updateAfterCancelRowEdit () |
| virtual void | updateAfterAcceptRowEdit () |
| void | handleDataWidgetAction (const TQString &actionName) |
| bool | shouldDisplayDefaultValueForItem (KexiFormDataItemInterface *itemIface) const |
Protected Member Functions inherited from KexiScrollView | |
| virtual void | contentsMousePressEvent (TQMouseEvent *ev) |
| virtual void | contentsMouseReleaseEvent (TQMouseEvent *ev) |
| virtual void | contentsMouseMoveEvent (TQMouseEvent *ev) |
| virtual void | drawContents (TQPainter *p, int clipx, int clipy, int clipw, int cliph) |
| virtual void | leaveEvent (TQEvent *e) |
| virtual void | setHBarGeometry (TQScrollBar &hbar, int x, int y, int w, int h) |
| void | setupPixmapBuffer (TQPixmap &pixmap, const TQString &text, int lines) |
Protected Member Functions inherited from KexiDataAwareObjectInterface | |
| virtual void | clearColumns (bool repaint=true) |
| virtual void | reloadActions ()=0 |
| virtual void | reloadData () |
| virtual void | itemSelected (KexiTableItem *)=0 |
| virtual void | cellSelected (int col, int row)=0 |
| virtual void | sortedColumnChanged (int col)=0 |
| virtual void | rowEditTerminated (int row)=0 |
| virtual void | clearVariables () |
| virtual void | slotRowRepaintRequested (KexiTableItem &item) |
| virtual void | slotAboutToDeleteRow (KexiTableItem &item, KexiDB::ResultInfo *result, bool repaint) |
| virtual void | slotRowDeleted () |
| virtual void | slotRowInserted (KexiTableItem *item, bool repaint) |
| virtual void | slotRowInserted (KexiTableItem *item, uint row, bool repaint) |
| virtual void | slotRowsDeleted (const TQValueList< int > &) |
| bool | hasData () const |
| virtual void | updateAllVisibleRowsBelow (int row) |
| virtual void | focusOutEvent (TQFocusEvent *e) |
| virtual void | vScrollBarValueChanged (int v) |
| virtual void | vScrollBarSliderReleased () |
| virtual void | scrollBarTipTimeout () |
| int | showErrorMessageForResult (KexiDB::ResultInfo *resultInfo) |
| void | updateIndicesForVisibleValues () |
Additional Inherited Members | |
Public Types inherited from KexiDataAwareObjectInterface | |
| enum | DeletionPolicy { NoDelete = 0 , AskDelete = 1 , ImmediateDelete = 2 , SignalDelete = 3 } |
Protected Types inherited from KexiFormDataProvider | |
| typedef TQMap< KexiFormDataItemInterface *, uint > | KexiFormDataItemInterfaceToIntMap |
Detailed Description
KexiFormScrollView class provides a widget for displaying data in a form view.
This class also implements:
- record navigation handling (KexiRecordNavigatorHandler)
- shared actions handling (KexiSharedActionClient)
- data-aware behaviour (KexiDataAwareObjectInterface)
- data provider bound to data-aware widgets (KexiFormDataProvider)
- See also
- KexiTableView
Definition at line 41 of file kexiformscrollview.h.
Constructor & Destructor Documentation
◆ KexiFormScrollView()
| KexiFormScrollView::KexiFormScrollView | ( | TQWidget * | parent, |
| bool | preview | ||
| ) |
Definition at line 33 of file kexiformscrollview.cpp.
◆ ~KexiFormScrollView()
|
virtual |
Definition at line 59 of file kexiformscrollview.cpp.
Member Function Documentation
◆ addHeaderColumn()
|
protectedvirtual |
Implementation for KexiDataAwareObjectInterface.
Implements KexiDataAwareObjectInterface.
Definition at line 159 of file kexiformscrollview.cpp.
◆ addNewRecordRequested
|
inlinevirtualslot |
Definition at line 117 of file kexiformscrollview.h.
◆ beforeSwitchView()
| void KexiFormScrollView::beforeSwitchView | ( | ) |
Definition at line 537 of file kexiformscrollview.cpp.
◆ cancelEditor
|
virtualslot |
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)
Definition at line 486 of file kexiformscrollview.cpp.
◆ clearColumnsInternal()
|
protectedvirtual |
Implementation for KexiDataAwareObjectInterface.
Implements KexiDataAwareObjectInterface.
Definition at line 153 of file kexiformscrollview.cpp.
◆ column()
|
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.
◆ columnEditable()
|
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.
◆ columns()
|
virtual |
- Returns
- number of visible columns in this view. There can be a number of duplicated columns defined, so columns() can return greater or smaller number than dataColumns().
Reimplemented from KexiDataAwareObjectInterface.
Definition at line 387 of file kexiformscrollview.cpp.
◆ copySelection
|
protectedvirtualslot |
Copy current selection to a clipboard (e.g. cell)
Definition at line 566 of file kexiformscrollview.cpp.
◆ createEditor()
|
protectedvirtual |
Implementation for KexiDataAwareObjectInterface.
Implements KexiDataAwareObjectInterface.
Definition at line 200 of file kexiformscrollview.cpp.
◆ currentLocalSortColumn()
|
protectedvirtual |
Implementation for KexiDataAwareObjectInterface.
Implements KexiDataAwareObjectInterface.
Definition at line 176 of file kexiformscrollview.cpp.
◆ currentLocalSortingOrder()
|
protectedvirtual |
Implementation for KexiDataAwareObjectInterface.
Implements KexiDataAwareObjectInterface.
Definition at line 170 of file kexiformscrollview.cpp.
◆ cursorAtNewRow()
|
protectedvirtual |
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.
◆ cutSelection
|
protectedvirtualslot |
Cut current selection to a clipboard (e.g. cell)
Definition at line 571 of file kexiformscrollview.cpp.
◆ dbFormWidget()
|
protected |
Definition at line 382 of file kexiformscrollview.cpp.
◆ editor()
|
protectedvirtual |
Implementation for KexiDataAwareObjectInterface.
Implements KexiDataAwareObjectInterface.
Definition at line 260 of file kexiformscrollview.cpp.
◆ editorShowFocus()
|
protectedvirtual |
Implementation for KexiDataAwareObjectInterface.
Implements KexiDataAwareObjectInterface.
Definition at line 304 of file kexiformscrollview.cpp.
◆ ensureCellVisible
|
virtualslot |
Implementation for KexiDataAwareObjectInterface.
Definition at line 111 of file kexiformscrollview.cpp.
◆ fieldNumberForColumn()
|
inlinevirtual |
- 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.
◆ handleDataWidgetAction()
|
protected |
Definition at line 552 of file kexiformscrollview.cpp.
◆ initDataContents()
|
protectedvirtual |
Reimplementation: used to refresh "editing indicator" visibility.
- Todo:
- here we can react if user wanted to show the navigator
Reimplemented from KexiDataAwareObjectInterface.
Definition at line 455 of file kexiformscrollview.cpp.
◆ lastVisibleRow()
|
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
- Todo:
- unimplemented for now, this will be used for continuous forms
Implements KexiDataAwareObjectInterface.
Definition at line 581 of file kexiformscrollview.cpp.
◆ moveToFirstRecordRequested
|
virtualslot |
Definition at line 147 of file kexiformscrollview.cpp.
◆ moveToLastRecordRequested
|
virtualslot |
Definition at line 129 of file kexiformscrollview.cpp.
◆ moveToNextRecordRequested
|
virtualslot |
Definition at line 141 of file kexiformscrollview.cpp.
◆ moveToPreviousRecordRequested
|
virtualslot |
Definition at line 135 of file kexiformscrollview.cpp.
◆ moveToRecordRequested
|
virtualslot |
Definition at line 123 of file kexiformscrollview.cpp.
◆ newItemAppendedForAfterDeletingInSpreadSheetMode
|
virtualsignal |
does nothing
◆ paste
|
protectedvirtualslot |
Paste current clipboard contents (e.g. to a cell)
Definition at line 576 of file kexiformscrollview.cpp.
◆ refreshContentsSize
|
virtualslot |
Reimplemented to also clear command history right after final resize.
Definition at line 542 of file kexiformscrollview.cpp.
◆ reloadData
|
inlineprotectedvirtualslot |
Reloads data for this widget. Handles KexiTableViewData::reloadRequested() signal.
Definition at line 183 of file kexiformscrollview.h.
◆ rowsPerPage
|
virtualslot |
Implementation for KexiDataAwareObjectInterface.
- Returns
- arbitraty value of 10.
Definition at line 91 of file kexiformscrollview.cpp.
◆ scrollBarTipTimeout
|
inlinevirtualslot |
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
Definition at line 141 of file kexiformscrollview.h.
◆ selectCellInternal()
|
inlineprotectedvirtual |
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.
◆ setForm()
|
inline |
Definition at line 57 of file kexiformscrollview.h.
◆ setLocalSortingOrder()
|
protectedvirtual |
Implementation for KexiDataAwareObjectInterface.
Implements KexiDataAwareObjectInterface.
Definition at line 181 of file kexiformscrollview.cpp.
◆ shouldDisplayDefaultValueForItem()
|
protected |
Definition at line 478 of file kexiformscrollview.cpp.
◆ show
|
virtualslot |
Reimplemented to update resize policy.
Definition at line 67 of file kexiformscrollview.cpp.
◆ slotAboutToDeleteRow
|
inlineprotectedvirtualslot |
Handles KexiTableViewData::aboutToDeleteRow() signal. Prepares info for slotRowDeleted().
Definition at line 165 of file kexiformscrollview.h.
◆ slotDataDestroying
|
inlineprotectedvirtualslot |
Definition at line 179 of file kexiformscrollview.h.
◆ slotResizingStarted
|
protectedslot |
Definition at line 83 of file kexiformscrollview.cpp.
◆ slotRowDeleted
|
inlineprotectedvirtualslot |
Handles KexiTableViewData::rowDeleted() signal to repaint when needed.
Definition at line 169 of file kexiformscrollview.h.
◆ slotRowInserted [1/2]
|
protectedvirtualslot |
Handles KexiTableViewData::rowInserted() signal to repaint when needed.
Definition at line 362 of file kexiformscrollview.cpp.
◆ slotRowInserted [2/2]
|
protectedvirtualslot |
◆ slotRowRepaintRequested
|
protectedvirtualslot |
Handles KexiTableViewData::rowRepaintRequested() signal.
Definition at line 345 of file kexiformscrollview.cpp.
◆ slotRowsDeleted
|
protectedvirtualslot |
Definition at line 377 of file kexiformscrollview.cpp.
◆ sortColumnInternal()
|
protectedvirtual |
Implementation for KexiDataAwareObjectInterface.
Reimplemented from KexiDataAwareObjectInterface.
Definition at line 188 of file kexiformscrollview.cpp.
◆ updateAfterAcceptRowEdit()
|
protectedvirtual |
Reimplemented from KexiDataAwareObjectInterface.
Definition at line 526 of file kexiformscrollview.cpp.
◆ updateAfterCancelRowEdit()
|
protectedvirtual |
Reimplemented from KexiDataAwareObjectInterface.
Definition at line 508 of file kexiformscrollview.cpp.
◆ updateCell()
|
protectedvirtual |
Implementation for KexiDataAwareObjectInterface Redraws specified cell.
Implements KexiDataAwareObjectInterface.
Definition at line 313 of file kexiformscrollview.cpp.
◆ updateCurrentCell()
|
protectedvirtual |
Redraws the current cell. Implemented after KexiDataAwareObjectInterface.
Implements KexiDataAwareObjectInterface.
Definition at line 320 of file kexiformscrollview.cpp.
◆ updateGUIAfterSorting()
|
protectedvirtual |
Implementation for KexiDataAwareObjectInterface.
Implements KexiDataAwareObjectInterface.
Definition at line 195 of file kexiformscrollview.cpp.
◆ updateRow()
|
protectedvirtual |
Implementation for KexiDataAwareObjectInterface Redraws all cells of specified row.
Implements KexiDataAwareObjectInterface.
Definition at line 324 of file kexiformscrollview.cpp.
◆ updateWidgetContents()
|
protectedvirtual |
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.
◆ updateWidgetContentsSize()
|
protectedvirtual |
Implementation for KexiDataAwareObjectInterface Implementation for KexiDataAwareObjectInterface Updates widget's contents size e.g. using TQScrollView::resizeContents().
Implements KexiDataAwareObjectInterface.
Definition at line 335 of file kexiformscrollview.cpp.
◆ updateWidgetScrollBars()
|
protectedvirtual |
Implementation for KexiDataAwareObjectInterface Updates scrollbars of the widget. TQScrollView::updateScrollbars() will be usually called here.
Implements KexiDataAwareObjectInterface.
Definition at line 340 of file kexiformscrollview.cpp.
◆ valueChanged()
|
protectedvirtual |
Reimplemented from KexiFormDataProvider. Reaction for change of item.
Reimplemented from KexiFormDataProvider.
Definition at line 429 of file kexiformscrollview.cpp.
◆ verticalScrollBar()
|
inlinevirtual |
- Returns
- vertical scrollbar. Implemented for KexiDataAwareObjectInterface.
Implements KexiDataAwareObjectInterface.
Definition at line 97 of file kexiformscrollview.h.
◆ vScrollBarSliderReleased
|
inlinevirtualslot |
Handles sliderReleased() signal of the verticalScrollBar(). Used to hide the "row number" tooltip.
- Todo:
- unused for now, will be used for continuous forms
Definition at line 135 of file kexiformscrollview.h.
◆ vScrollBarValueChanged
|
inlinevirtualslot |
Handles verticalScrollBar()'s valueChanged(int) signal. Called when vscrollbar's value has been changed.
- Todo:
- unused for now, will be used for continuous forms
Definition at line 131 of file kexiformscrollview.h.
Member Data Documentation
◆ m_currentLocalSortColumn
|
protected |
Definition at line 293 of file kexiformscrollview.h.
◆ m_form
|
protected |
Definition at line 292 of file kexiformscrollview.h.
◆ m_localSortingOrder
|
protected |
Definition at line 293 of file kexiformscrollview.h.
◆ m_previousItem
|
protected |
Used in selectCellInternal() to avoid fetching the same record twice.
Definition at line 295 of file kexiformscrollview.h.
The documentation for this class was generated from the following files:

Public Slots inherited from