kexi

#include <kexitableview.h>

Inheritance diagram for KexiTableView:
KexiRecordNavigatorHandler KexiSharedActionClient KexiDataAwareObjectInterface KexiDataTableView

Classes

class  Appearance

Public Types

enum  ScrollDirection { ScrollUp , ScrollDown , ScrollLeft , ScrollRight }
Public Types inherited from KexiDataAwareObjectInterface
enum  DeletionPolicy { NoDelete = 0 , AskDelete = 1 , ImmediateDelete = 2 , SignalDelete = 3 }

Public Slots

virtual void setData (KexiTableViewData *data, bool owner=true)
virtual void clearColumnsInternal (bool repaint)
void adjustColumnWidthToContents (int colNum=-1)
void setColumnWidth (int col, int width)
void setColumnStretchEnabled (bool set, int colNum)
void maximizeColumnsWidth (const TQValueList< int > &columnList)
void adjustHorizontalHeaderSize ()
void setHighlightedRow (int row)
void clearHighlightedRow ()
virtual void ensureCellVisible (int row, int col)
virtual void deleteCurrentRow ()
virtual KexiTableItem * insertEmptyRow (int row=-1)
virtual void startEditCurrentCell (const TQString &setText=TQString())
virtual void deleteAndStartEditCurrentCell ()
virtual bool cancelRowEdit ()
virtual bool acceptRowEdit ()
virtual void setAcceptsRowEditAfterCellAccepting (bool set)
virtual void setDropsAtRowEnabled (bool set)
virtual bool cancelEditor ()
virtual bool acceptEditor ()

Signals

virtual void dataSet (KexiTableViewData *data)
virtual void itemSelected (KexiTableItem *)
virtual void cellSelected (int col, int row)
void itemReturnPressed (KexiTableItem *, int row, int col)
void itemDblClicked (KexiTableItem *, int row, int col)
void itemMouseReleased (KexiTableItem *, int row, int col)
void dragOverRow (KexiTableItem *item, int row, TQDragMoveEvent *e)
void droppedAtRow (KexiTableItem *item, int row, TQDropEvent *e, KexiTableItem *&newItem)
virtual void dataRefreshed ()
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 ()
void sortedColumnChanged (int col)
void rowEditStarted (int row)
void rowEditTerminated (int row)
void reloadActions ()

Public Member Functions

 KexiTableView (KexiTableViewData *data=0, TQWidget *parent=0, const char *name=0)
const Appearance & appearance () const
void setAppearance (const Appearance &a)
TQString columnCaption (int colNum) const
KexiDB::Field * field (int colNum) const
virtual void setSpreadSheetMode ()
virtual int rowsPerPage () const
TQRect cellGeometry (int row, int col) const
int columnWidth (int col) const
int rowHeight () const
int columnPos (int col) const
int rowPos (int row) const
int columnAt (int pos) const
int rowAt (int pos, bool ignoreEnd=false) const
virtual int lastVisibleRow () const
virtual void updateCell (int row, int col)
virtual void updateCurrentCell ()
virtual void updateRow (int row)
bool editableOnDoubleClick () const
void setEditableOnDoubleClick (bool set)
bool verticalHeaderVisible () const
void setVerticalHeaderVisible (bool set)
bool horizontalHeaderVisible () const
void setHorizontalHeaderVisible (bool set)
void print (KPrinter &printer)
virtual TQSizePolicy sizePolicy () const
virtual TQSize sizeHint () const
virtual TQSize minimumSizeHint () const
void setFont (const TQFont &f)
virtual TQSize tableSize () const
void emitSelected ()
void triggerUpdate ()
virtual bool eventFilter (TQObject *o, TQEvent *e)
int highlightedRow () const
KexiTableItem * highlightedItem () const
virtual TQScrollBar * verticalScrollBar () const
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
virtual int columns () 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
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 void selectRow (int row)
virtual void selectNextRow ()
virtual void selectPrevRow ()
virtual void selectNextPage ()
virtual void selectPrevPage ()
virtual void selectFirstRow ()
virtual void selectLastRow ()
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 bool cancelEditor ()
virtual bool acceptEditor ()
virtual void startEditCurrentCell (const TQString &setText=TQString())
virtual void deleteAndStartEditCurrentCell ()
KexiTableItem * itemAt (int row) const
virtual KexiTableViewColumn * column (int col)
virtual int fieldNumberForColumn (int col)
bool hasDefaultValueAt (const KexiTableViewColumn &tvcol)
const TQVariant * bufferedValueAt (int col, bool useDefaultValueIfPossible=true)
int columnType (int col)
TQVariant columnDefaultValue (int col) const
virtual bool columnEditable (int col)
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 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)

Static Public Member Functions

static void initCellEditorFactories ()

Protected Slots

void slotSettingsChanged (int category)
virtual void slotDataDestroying ()
virtual void slotRowsDeleted (const TQValueList< int > &)
void slotColumnWidthChanged (int col, int os, int ns)
void slotSectionHandleDoubleClicked (int section)
void slotUpdate ()
virtual void sortColumnInternal (int col, int order=0)
void slotAutoScroll ()
void slotTopHeaderSizeChange (int section, int oldSize, int newSize)
void slotEditRequested ()
virtual void reloadData ()
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 vScrollBarValueChanged (int v)
virtual void vScrollBarSliderReleased ()
virtual void scrollBarTipTimeout ()

Protected Member Functions

virtual void initDataContents ()
virtual void updateWidgetContentsSize ()
virtual void clearVariables ()
virtual int currentLocalSortingOrder () const
virtual int currentLocalSortColumn () const
virtual void setLocalSortingOrder (int col, int order)
virtual void updateGUIAfterSorting ()
virtual void updateWidgetScrollBars ()
virtual void addHeaderColumn (const TQString &caption, const TQString &description, const TQIconSet &icon, int size)
bool isDefaultValueDisplayed (KexiTableItem *item, int col, TQVariant *value=0)
void drawContents (TQPainter *p, int cx, int cy, int cw, int ch)
void createBuffer (int width, int height)
void paintCell (TQPainter *p, KexiTableItem *item, int col, int row, const TQRect &cr, bool print=false)
void paintEmptyArea (TQPainter *p, int cx, int cy, int cw, int ch)
void updateGeometries ()
TQPoint contentsToViewport2 (const TQPoint &p)
void contentsToViewport2 (int x, int y, int &vx, int &vy)
TQPoint viewportToContents2 (const TQPoint &vp)
virtual void contentsMousePressEvent (TQMouseEvent *e)
virtual void contentsMouseReleaseEvent (TQMouseEvent *e)
bool handleContentsMousePressOrRelease (TQMouseEvent *e, bool release)
virtual void contentsMouseMoveEvent (TQMouseEvent *e)
virtual void contentsMouseDoubleClickEvent (TQMouseEvent *e)
virtual void keyPressEvent (TQKeyEvent *e)
virtual void focusInEvent (TQFocusEvent *e)
virtual void focusOutEvent (TQFocusEvent *e)
virtual void resizeEvent (TQResizeEvent *e)
virtual void viewportResizeEvent (TQResizeEvent *e)
virtual void showEvent (TQShowEvent *e)
virtual void contentsDragMoveEvent (TQDragMoveEvent *e)
virtual void contentsDropEvent (TQDropEvent *e)
virtual void viewportDragLeaveEvent (TQDragLeaveEvent *e)
virtual void paletteChange (const TQPalette &oldPalette)
virtual KexiDataItemInterface * editor (int col, bool ignoreMissingEditor=false)
KexiTableEdit * tableEditorWidget (int col, bool ignoreMissingEditor=false)
virtual void editorShowFocus (int row, int col)
virtual void createEditor (int row, int col, const TQString &addText=TQString(), bool removeOld=false)
bool focusNextPrevChild (bool next)
bool shortCutPressed (TQKeyEvent *e, const TQCString &action_name)
void showContextMenu (const TQPoint &pos=TQPoint(-1,-1))
void paintRow (KexiTableItem *item, TQPainter *pb, int r, int rowp, int cx, int cy, int colfirst, int collast, int maxwc)
virtual void setHBarGeometry (TQScrollBar &hbar, int x, int y, int w, int h)
void setupNavigator ()
int validRowNumber (const TQString &text)
virtual void removeEditor ()
void updateFonts (bool repaint=false)
void setBottomMarginInternal (int pixels)
virtual void updateWidgetContents ()
virtual void moveToRecordRequested (uint r)
virtual void moveToLastRecordRequested ()
virtual void moveToPreviousRecordRequested ()
virtual void moveToNextRecordRequested ()
virtual void moveToFirstRecordRequested ()
virtual void addNewRecordRequested ()
virtual void copySelection ()
virtual void cutSelection ()
virtual void paste ()
virtual void updateAllVisibleRowsBelow (int row)
void updateAfterCancelRowEdit ()
void updateAfterAcceptRowEdit ()
bool getVisibleLookupValue (TQVariant &cellValue, KexiTableEdit *edit, KexiTableItem *item, KexiTableViewColumn *tvcol) const
Protected Member Functions inherited from KexiDataAwareObjectInterface
virtual void clearColumns (bool repaint=true)
virtual void clearColumnsInternal (bool repaint)=0
virtual void sortColumnInternal (int col, int order=0)
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 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 selectCellInternal ()
virtual void vScrollBarValueChanged (int v)
virtual void vScrollBarSliderReleased ()
virtual void scrollBarTipTimeout ()
int showErrorMessageForResult (KexiDB::ResultInfo *resultInfo)
void updateIndicesForVisibleValues ()

Protected Attributes

KexiTableViewPrivate * d
Protected Attributes inherited from KexiSharedActionClient
TQAsciiDict< TDEAction > m_sharedActions
Protected Attributes inherited from KexiDataAwareObjectInterface
KexiTableViewData * m_data
bool m_owner: 1
int m_curRow
int m_curCol
KexiTableItem * m_currentItem
KexiTableViewData::Iterator * m_itemIterator
KexiTableItem * m_insertItem
bool m_rowEditing: 1
bool m_newRowEditing: 1
bool m_isSortingEnabled: 1
bool m_isFilteringEnabled: 1
bool m_acceptsRowEditAfterCellAccepting: 1
bool m_inside_acceptEditor: 1
bool m_internal_acceptsRowEditAfterCellAccepting: 1
bool m_emptyRowInsertingEnabled: 1
int m_readOnly
bool m_contentsMousePressEvent_dblClick: 1
int m_insertingEnabled
bool m_initDataContentsOnShow: 1
bool m_cursorPositionSetExplicityBeforeShow: 1
bool m_spreadSheetMode: 1
bool m_dropsAtRowEnabled: 1
bool m_updateEntireRowWhenMovingToOtherRow: 1
DeletionPolicy m_deletionPolicy
KexiRecordMarker * m_verticalHeader
KexiTableViewHeader * m_horizontalHeader
KexiDataItemInterface * m_editor
KexiRecordNavigator * m_navPanel
bool m_navPanelEnabled: 1
bool m_verticalHeaderAlreadyAdded: 1
int m_dragIndicatorLine
TDEPopupMenu * m_popupMenu
bool m_contextMenuEnabled: 1
bool m_alsoUpdateNextRow: 1
int m_rowWillBeDeleted
TQGuardedPtr< KexiArrowTip > m_errorMessagePopup
bool m_vScrollBarValueChanged_enabled: 1
bool m_scrollbarToolTipsEnabled: 1
TQLabel * m_scrollBarTip
TQTimer m_scrollBarTipTimer
uint m_scrollBarTipTimerCnt
PositionOfValue m_positionOfRecentlyFoundValue
TQVariant m_recentlySearchedValue
KexiSearchAndReplaceViewInterface::Options::SearchDirection m_recentSearchDirection
TQValueVector< uint > m_indicesForVisibleValues

Friends

class KexiTableItem
class WhatsThis
class KexiTableViewCellToolTip

Detailed Description

KexiTableView class provides a widget for displaying data in a tabular view.

See also
KexiFormScrollView

Definition at line 66 of file kexitableview.h.

Member Enumeration Documentation

◆ ScrollDirection

enum KexiTableView::ScrollDirection

Definition at line 239 of file kexitableview.h.

Constructor & Destructor Documentation

◆ KexiTableView()

KexiTableView::KexiTableView ( KexiTableViewData * data = 0,
TQWidget * parent = 0,
const char * name = 0 )

Definition at line 177 of file kexitableview.cpp.

◆ ~KexiTableView()

KexiTableView::~KexiTableView ( )
virtual

Definition at line 306 of file kexitableview.cpp.

Member Function Documentation

◆ acceptEditor

virtual bool KexiTableView::acceptEditor ( )
inlinevirtualslot

Definition at line 363 of file kexitableview.h.

◆ acceptRowEdit

virtual bool KexiTableView::acceptRowEdit ( )
inlinevirtualslot

Accepts row editing. All changes made to the editing row during this current session will be accepted (saved).

Returns
true if accepting was successful, false otherwise (e.g. when current row contain data that does not meet given constraints).

Definition at line 346 of file kexitableview.h.

◆ addHeaderColumn()

void KexiTableView::addHeaderColumn ( const TQString & caption,
const TQString & description,
const TQIconSet & icon,
int size )
protectedvirtual

Implementation for KexiDataAwareObjectInterface

Implementation for KexiDataAwareObjectInterface

Implementation for KexiDataAwareObjectInterface. Adds another section within the horizontal header.

Implements KexiDataAwareObjectInterface.

Definition at line 348 of file kexitableview.cpp.

◆ addNewRecordRequested()

virtual void KexiTableView::addNewRecordRequested ( )
inlineprotectedvirtual

Implements KexiRecordNavigatorHandler.

Definition at line 605 of file kexitableview.h.

◆ adjustColumnWidthToContents

void KexiTableView::adjustColumnWidthToContents ( int colNum = -1)
slot

Adjusts colNum column's width to its (current) contents. If colNum == -1, all columns' width is adjusted.

Todo
js: this is NOT EFFECTIVE for big data sets!!!!

Definition at line 2151 of file kexitableview.cpp.

◆ adjustHorizontalHeaderSize

void KexiTableView::adjustHorizontalHeaderSize ( )
slot

Adjusts the size of the sections to fit the size of the horizontal header as completely as possible. Only sections for which column stretch is enabled will be resized.

See also
setColumnStretchEnabled() TQHeader::adjustHeaderSize()

Definition at line 2245 of file kexitableview.cpp.

◆ appearance()

const KexiTableView::Appearance & KexiTableView::appearance ( ) const
Returns
current appearance settings

Definition at line 2516 of file kexitableview.cpp.

◆ cancelEditor

virtual bool KexiTableView::cancelEditor ( )
inlinevirtualslot

Definition at line 362 of file kexitableview.h.

◆ cancelRowEdit

virtual bool KexiTableView::cancelRowEdit ( )
inlinevirtualslot

Cancels row editing All changes made to the editing row during this current session will be undone.

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

Definition at line 340 of file kexitableview.h.

◆ cellGeometry()

TQRect KexiTableView::cellGeometry ( int row,
int col ) const

Definition at line 1915 of file kexitableview.cpp.

◆ clearColumnsInternal

void KexiTableView::clearColumnsInternal ( bool repaint)
virtualslot

Definition at line 428 of file kexitableview.cpp.

◆ clearHighlightedRow

void KexiTableView::clearHighlightedRow ( )
inlineslot

Sets no row that will be highlighted. Equivalent to setHighlightedRow(-1).

Definition at line 298 of file kexitableview.h.

◆ clearVariables()

void KexiTableView::clearVariables ( )
protectedvirtual

Reimplementation for KexiDataAwareObjectInterface

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 319 of file kexitableview.cpp.

◆ columnAt()

int KexiTableView::columnAt ( int pos) const

Definition at line 1889 of file kexitableview.cpp.

◆ columnCaption()

TQString KexiTableView::columnCaption ( int colNum) const
Returns
string displayed for column's header colNum

Definition at line 2139 of file kexitableview.cpp.

◆ columnPos()

int KexiTableView::columnPos ( int col) const

Definition at line 1869 of file kexitableview.cpp.

◆ columnWidth()

int KexiTableView::columnWidth ( int col) const

Definition at line 1856 of file kexitableview.cpp.

◆ contentsDragMoveEvent()

void KexiTableView::contentsDragMoveEvent ( TQDragMoveEvent * e)
protectedvirtual

Definition at line 1690 of file kexitableview.cpp.

◆ contentsDropEvent()

void KexiTableView::contentsDropEvent ( TQDropEvent * e)
protectedvirtual

Definition at line 1736 of file kexitableview.cpp.

◆ contentsMouseDoubleClickEvent()

void KexiTableView::contentsMouseDoubleClickEvent ( TQMouseEvent * e)
protectedvirtual

Definition at line 974 of file kexitableview.cpp.

◆ contentsMouseMoveEvent()

void KexiTableView::contentsMouseMoveEvent ( TQMouseEvent * e)
protectedvirtual

Definition at line 1143 of file kexitableview.cpp.

◆ contentsMousePressEvent()

void KexiTableView::contentsMousePressEvent ( TQMouseEvent * e)
protectedvirtual

Definition at line 998 of file kexitableview.cpp.

◆ contentsMouseReleaseEvent()

void KexiTableView::contentsMouseReleaseEvent ( TQMouseEvent * e)
protectedvirtual

Definition at line 1056 of file kexitableview.cpp.

◆ contentsToViewport2() [1/2]

TQPoint KexiTableView::contentsToViewport2 ( const TQPoint & p)
protected

Definition at line 906 of file kexitableview.cpp.

◆ contentsToViewport2() [2/2]

void KexiTableView::contentsToViewport2 ( int x,
int y,
int & vx,
int & vy )
protected

Definition at line 911 of file kexitableview.cpp.

◆ copySelection()

void KexiTableView::copySelection ( )
protectedvirtual

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

Implements KexiDataAwareObjectInterface.

Definition at line 2375 of file kexitableview.cpp.

◆ createBuffer()

void KexiTableView::createBuffer ( int width,
int height )
protected

Definition at line 527 of file kexitableview.cpp.

◆ createEditor()

void KexiTableView::createEditor ( int row,
int col,
const TQString & addText = TQString(),
bool removeOld = false )
protectedvirtual

Creates editors and shows it, what usually means the beginning of a cell editing.

Implements KexiDataAwareObjectInterface.

Definition at line 1537 of file kexitableview.cpp.

◆ currentLocalSortColumn()

int KexiTableView::currentLocalSortColumn ( ) const
protectedvirtual

Implementation for KexiDataAwareObjectInterface

Implements KexiDataAwareObjectInterface.

Definition at line 471 of file kexitableview.cpp.

◆ currentLocalSortingOrder()

int KexiTableView::currentLocalSortingOrder ( ) const
protectedvirtual

Implementation for KexiDataAwareObjectInterface

Implements KexiDataAwareObjectInterface.

Definition at line 456 of file kexitableview.cpp.

◆ cutSelection()

void KexiTableView::cutSelection ( )
protectedvirtual

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

Implements KexiDataAwareObjectInterface.

Definition at line 2392 of file kexitableview.cpp.

◆ dataRefreshed

virtual void KexiTableView::dataRefreshed ( )
virtualsignal

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

◆ deleteAndStartEditCurrentCell

virtual void KexiTableView::deleteAndStartEditCurrentCell ( )
inlinevirtualslot

Deletes currently selected cell's contents, if allowed. In most cases delete is not accepted immediately but "row editing" mode is just started.

Definition at line 334 of file kexitableview.h.

◆ deleteCurrentRow

virtual void KexiTableView::deleteCurrentRow ( )
inlinevirtualslot

Deletes currently selected record; does nothing if no record is currently selected. If record is in edit mode, editing is cancelled before deleting.

Definition at line 311 of file kexitableview.h.

◆ drawContents()

void KexiTableView::drawContents ( TQPainter * p,
int cx,
int cy,
int cw,
int ch )
protected

painting and layout

Definition at line 604 of file kexitableview.cpp.

◆ editableOnDoubleClick()

bool KexiTableView::editableOnDoubleClick ( ) const

Definition at line 2259 of file kexitableview.cpp.

◆ editor()

KexiDataItemInterface * KexiTableView::editor ( int col,
bool ignoreMissingEditor = false )
protectedvirtual

Implementation for KexiDataAwareObjectInterface

Implements KexiDataAwareObjectInterface.

Definition at line 1472 of file kexitableview.cpp.

◆ editorShowFocus()

void KexiTableView::editorShowFocus ( int row,
int col )
protectedvirtual

Implementation for KexiDataAwareObjectInterface

Implements KexiDataAwareObjectInterface.

Definition at line 1511 of file kexitableview.cpp.

◆ emitSelected()

void KexiTableView::emitSelected ( )

Definition at line 1461 of file kexitableview.cpp.

◆ ensureCellVisible

void KexiTableView::ensureCellVisible ( int row,
int col )
virtualslot

Ensures that cell at row and col is visible. If col is -1, current column number is used. row and col (if not -1) must be between 0 and rows() (or cols() accordingly).

Definition at line 1966 of file kexitableview.cpp.

◆ eventFilter()

bool KexiTableView::eventFilter ( TQObject * o,
TQEvent * e )
virtual

Definition at line 2408 of file kexitableview.cpp.

◆ field()

KexiDB::Field * KexiTableView::field ( int colNum) const

Convenience function.

Returns
field object that define column colNum or NULL if there is no such column

Definition at line 2144 of file kexitableview.cpp.

◆ focusInEvent()

void KexiTableView::focusInEvent ( TQFocusEvent * e)
protectedvirtual

Definition at line 1601 of file kexitableview.cpp.

◆ focusNextPrevChild()

bool KexiTableView::focusNextPrevChild ( bool next)
protected

Definition at line 1612 of file kexitableview.cpp.

◆ focusOutEvent()

void KexiTableView::focusOutEvent ( TQFocusEvent * e)
protectedvirtual

Call this from the subclass. *‍/.

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 1607 of file kexitableview.cpp.

◆ getVisibleLookupValue()

bool KexiTableView::getVisibleLookupValue ( TQVariant & cellValue,
KexiTableEdit * edit,
KexiTableItem * item,
KexiTableViewColumn * tvcol ) const
protected

Sets cellValue if there is a lookup value for the cell item. Used in KexiTableView::paintCell() and KexiTableViewCellToolTip::maybeTip()

Returns
true is cellValue has been found.

useDefaultValueIfPossible

Definition at line 2010 of file kexitableview.cpp.

◆ handleContentsMousePressOrRelease()

bool KexiTableView::handleContentsMousePressOrRelease ( TQMouseEvent * e,
bool release )
protected

Definition at line 1076 of file kexitableview.cpp.

◆ highlightedItem()

KexiTableItem * KexiTableView::highlightedItem ( ) const

Definition at line 2589 of file kexitableview.cpp.

◆ highlightedRow()

int KexiTableView::highlightedRow ( ) const
Returns
highlighted row number or -1 if no row is highlighted. Makes sense if row highlighting is enabled.
See also
Appearance::rowHighlightingEnabled setHighlightedRow()

Definition at line 2556 of file kexitableview.cpp.

◆ horizontalHeaderVisible()

bool KexiTableView::horizontalHeaderVisible ( ) const
Returns
true if the horizontal header is visible

Definition at line 2283 of file kexitableview.cpp.

◆ initCellEditorFactories()

void KexiTableView::initCellEditorFactories ( )
static

Initializes standard editor cell editor factories. This is called internally, once.

◆ initDataContents()

void KexiTableView::initDataContents ( )
protectedvirtual

Reimplementation for KexiDataAwareObjectInterface Initializes data contents (resizes it, sets cursor at 1st row). Called on setData(). Also called once on show event after reloadRequested() signal was received from KexiTableViewData object.

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 339 of file kexitableview.cpp.

◆ insertEmptyRow

virtual KexiTableItem * KexiTableView::insertEmptyRow ( int row = -1)
inlinevirtualslot

Inserts one empty row above row row. If row is -1 (the default), new row is inserted above the current row (or above 1st row if there is no current). A new item becomes current if row is -1 or if row is equal currentRow(). This method does nothing if: -inserting flag is disabled (see isInsertingEnabled()) -read-only flag is set (see isReadOnly()) \ return inserted row's data

Definition at line 321 of file kexitableview.h.

◆ isDefaultValueDisplayed()

bool KexiTableView::isDefaultValueDisplayed ( KexiTableItem * item,
int col,
TQVariant * value = 0 )
protected

Definition at line 696 of file kexitableview.cpp.

◆ keyPressEvent()

void KexiTableView::keyPressEvent ( TQKeyEvent * e)
protectedvirtual
Todo
add option for stopping at 1st column for TQt::Key_left
Todo
add option for stopping at last column

Definition at line 1256 of file kexitableview.cpp.

◆ lastVisibleRow()

int KexiTableView::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.

Implements KexiDataAwareObjectInterface.

Definition at line 2601 of file kexitableview.cpp.

◆ maximizeColumnsWidth

void KexiTableView::maximizeColumnsWidth ( const TQValueList< int > & columnList)
slot

Maximizes widths of columns selected by columnList, so the horizontal header has maximum overall width. Each selected column's width will be increased by the same value. Does nothing if columnList is empty or there is no free space to resize columns. If this table view is not visible, resizing will be performed on showing.

Definition at line 2210 of file kexitableview.cpp.

◆ minimumSizeHint()

TQSize KexiTableView::minimumSizeHint ( ) const
virtual

Definition at line 519 of file kexitableview.cpp.

◆ moveToFirstRecordRequested()

void KexiTableView::moveToFirstRecordRequested ( )
protectedvirtual

Implements KexiRecordNavigatorHandler.

Definition at line 2369 of file kexitableview.cpp.

◆ moveToLastRecordRequested()

void KexiTableView::moveToLastRecordRequested ( )
protectedvirtual

Implements KexiRecordNavigatorHandler.

Definition at line 2351 of file kexitableview.cpp.

◆ moveToNextRecordRequested()

void KexiTableView::moveToNextRecordRequested ( )
protectedvirtual

Implements KexiRecordNavigatorHandler.

Definition at line 2363 of file kexitableview.cpp.

◆ moveToPreviousRecordRequested()

void KexiTableView::moveToPreviousRecordRequested ( )
protectedvirtual

Implements KexiRecordNavigatorHandler.

Definition at line 2357 of file kexitableview.cpp.

◆ moveToRecordRequested()

void KexiTableView::moveToRecordRequested ( uint r)
protectedvirtual

for navigator

Implements KexiRecordNavigatorHandler.

Definition at line 2343 of file kexitableview.cpp.

◆ newItemAppendedForAfterDeletingInSpreadSheetMode

virtual void KexiTableView::newItemAppendedForAfterDeletingInSpreadSheetMode ( )
virtualsignal

Emitted for spreadsheet mode when an item was deleted and a new item has been appended.

◆ paintCell()

void KexiTableView::paintCell ( TQPainter * p,
KexiTableItem * item,
int col,
int row,
const TQRect & cr,
bool print = false )
protected

dontPaintNonpersistentSelectionBecauseDifferentRowHasBeenHighlighted)

bool autonumber = false;

Definition at line 712 of file kexitableview.cpp.

◆ paintEmptyArea()

void KexiTableView::paintEmptyArea ( TQPainter * p,
int cx,
int cy,
int cw,
int ch )
protected

Definition at line 924 of file kexitableview.cpp.

◆ paintRow()

void KexiTableView::paintRow ( KexiTableItem * item,
TQPainter * pb,
int r,
int rowp,
int cx,
int cy,
int colfirst,
int collast,
int maxwc )
inlineprotected

internal

Definition at line 538 of file kexitableview.cpp.

◆ paletteChange()

void KexiTableView::paletteChange ( const TQPalette & oldPalette)
protectedvirtual

Definition at line 2506 of file kexitableview.cpp.

◆ paste()

void KexiTableView::paste ( )
protectedvirtual

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

Implements KexiDataAwareObjectInterface.

Definition at line 2400 of file kexitableview.cpp.

◆ print()

void KexiTableView::print ( KPrinter & printer)

Definition at line 2074 of file kexitableview.cpp.

◆ reloadActions

void KexiTableView::reloadActions ( )
signal

Emitted in initActions() to force reload actions You should remove existing actions and add them again.

◆ reloadData

void KexiTableView::reloadData ( )
protectedvirtualslot

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

Definition at line 1532 of file kexitableview.cpp.

◆ removeEditor()

void KexiTableView::removeEditor ( )
protectedvirtual

Reimplementation for KexiDataAwareObjectInterface (viewport()->setFocus() is just added)

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 2033 of file kexitableview.cpp.

◆ resizeEvent()

void KexiTableView::resizeEvent ( TQResizeEvent * e)
protectedvirtual

Definition at line 1620 of file kexitableview.cpp.

◆ rowAt()

int KexiTableView::rowAt ( int pos,
bool ignoreEnd = false ) const

Definition at line 1903 of file kexitableview.cpp.

◆ rowEditStarted

void KexiTableView::rowEditStarted ( int row)
signal

emmited when row editing is started (for updating or inserting)

◆ rowEditTerminated

void KexiTableView::rowEditTerminated ( int row)
signal

emmited when row editing is terminated (for updating or inserting) no matter if accepted or not

◆ rowHeight()

int KexiTableView::rowHeight ( ) const

Definition at line 1864 of file kexitableview.cpp.

◆ rowPos()

int KexiTableView::rowPos ( int row) const

Definition at line 1884 of file kexitableview.cpp.

◆ rowsPerPage()

int KexiTableView::rowsPerPage ( ) const
virtual
Returns
true if vertical scrollbar's tooltips are enabled (true by default).

Enables or disables vertical scrollbar's.

Returns
maximum number of rows that can be displayed per one "page" for current table view's size.

Implements KexiDataAwareObjectInterface.

Definition at line 1467 of file kexitableview.cpp.

◆ scrollBarTipTimeout

virtual void KexiTableView::scrollBarTipTimeout ( )
inlineprotectedvirtualslot

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.

Definition at line 459 of file kexitableview.h.

◆ setAcceptsRowEditAfterCellAccepting

virtual void KexiTableView::setAcceptsRowEditAfterCellAccepting ( bool set)
inlinevirtualslot

Specifies, if this table view automatically accepts row editing (using acceptRowEdit()) on accepting any cell's edit (i.e. after acceptEditor()).

See also
acceptsRowEditAfterCellAccepting()

Definition at line 351 of file kexitableview.h.

◆ setAppearance()

void KexiTableView::setAppearance ( const Appearance & a)

Sets appearance settings. Table view is updated automatically.

Todo
is setMouseTracking useful for other purposes?

Definition at line 2521 of file kexitableview.cpp.

◆ setBottomMarginInternal()

void KexiTableView::setBottomMarginInternal ( int pixels)
protected

Definition at line 2501 of file kexitableview.cpp.

◆ setColumnStretchEnabled

void KexiTableView::setColumnStretchEnabled ( bool set,
int colNum )
slot

If set is true, colNum column is resized to take full possible width. If set is false, no automatic resize will be performed. If colNum is -1, all columns are equally resized, when needed, to take full possible width. This method behaves like TQHeader::setStretchEnabled ( bool b, int section ).

Definition at line 2250 of file kexitableview.cpp.

◆ setColumnWidth

void KexiTableView::setColumnWidth ( int col,
int width )
slot

Sets width of column width to width.

Definition at line 2201 of file kexitableview.cpp.

◆ setData

virtual void KexiTableView::setData ( KexiTableViewData * data,
bool owner = true )
inlinevirtualslot

Definition at line 263 of file kexitableview.h.

◆ setDropsAtRowEnabled

virtual void KexiTableView::setDropsAtRowEnabled ( bool set)
inlinevirtualslot

Specifies, if this table accepts dropping data on the rows. If enabled:

  • dragging over row is indicated by drawing a line at bottom side of this row
  • dragOverRow() signal will be emitted on dragging, -droppedAtRow() will be emitted on dropping By default this flag is set to false.

Definition at line 360 of file kexitableview.h.

◆ setEditableOnDoubleClick()

void KexiTableView::setEditableOnDoubleClick ( bool set)

Definition at line 2255 of file kexitableview.cpp.

◆ setFont()

void KexiTableView::setFont ( const TQFont & f)

Reimplemented to update cached fonts and row sizes for the painter.

Definition at line 381 of file kexitableview.cpp.

◆ setHBarGeometry()

void KexiTableView::setHBarGeometry ( TQScrollBar & hbar,
int x,
int y,
int w,
int h )
protectedvirtual

Definition at line 2311 of file kexitableview.cpp.

◆ setHighlightedRow

void KexiTableView::setHighlightedRow ( int row)
slot

Sets highlighted row number or -1 if no row has to be highlighted. Makes sense if row highlighting is enabled.

See also
Appearance::rowHighlightingEnabled

Definition at line 2561 of file kexitableview.cpp.

◆ setHorizontalHeaderVisible()

void KexiTableView::setHorizontalHeaderVisible ( bool set)

Sets horizontal header's visibility.

Definition at line 2288 of file kexitableview.cpp.

◆ setLocalSortingOrder()

void KexiTableView::setLocalSortingOrder ( int col,
int order )
protectedvirtual

Implementation for KexiDataAwareObjectInterface

Implements KexiDataAwareObjectInterface.

Definition at line 463 of file kexitableview.cpp.

◆ setSpreadSheetMode()

void KexiTableView::setSpreadSheetMode ( )
virtual

Reimplementation for KexiDataAwareObjectInterface

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 2323 of file kexitableview.cpp.

◆ setupNavigator()

void KexiTableView::setupNavigator ( )
protected

Setups navigator widget.

Definition at line 330 of file kexitableview.cpp.

◆ setVerticalHeaderVisible()

void KexiTableView::setVerticalHeaderVisible ( bool set)

Sets vertical header's visibility.

Definition at line 2269 of file kexitableview.cpp.

◆ shortCutPressed()

bool KexiTableView::shortCutPressed ( TQKeyEvent * e,
const TQCString & action_name )
protected

Used in key event:

Returns
true if event e should execute action action_name. Action shortcuts defined by shortCutPressed() are reused, if present, and if e matches given action's shortcut - false is returned (beause action is already performed at main window's level).

Definition at line 1224 of file kexitableview.cpp.

◆ showContextMenu()

void KexiTableView::showContextMenu ( const TQPoint & pos = TQPoint(-1,-1))
protected

Shows context menu at pos for selected cell if menu is configured, else: contextMenuRequested() signal is emmited. Method used in contentsMousePressEvent() (for right button) and keyPressEvent() for TQt::Key_Menu key. If pos is TQPoint(-1,-1) (the default), menu is positioned below the current cell.

Definition at line 1124 of file kexitableview.cpp.

◆ showEvent()

void KexiTableView::showEvent ( TQShowEvent * e)
protectedvirtual

Definition at line 1658 of file kexitableview.cpp.

◆ sizeHint()

TQSize KexiTableView::sizeHint ( ) const
virtual

Definition at line 497 of file kexitableview.cpp.

◆ sizePolicy()

TQSizePolicy KexiTableView::sizePolicy ( ) const
virtual

Definition at line 491 of file kexitableview.cpp.

◆ slotAboutToDeleteRow

virtual void KexiTableView::slotAboutToDeleteRow ( KexiTableItem & item,
KexiDB::ResultInfo * result,
bool repaint )
inlineprotectedvirtualslot

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

Definition at line 435 of file kexitableview.h.

◆ slotAutoScroll

void KexiTableView::slotAutoScroll ( )
protectedslot

Definition at line 2047 of file kexitableview.cpp.

◆ slotColumnWidthChanged

void KexiTableView::slotColumnWidthChanged ( int col,
int os,
int ns )
protectedslot

updates display after many rows deletion

Definition at line 1807 of file kexitableview.cpp.

◆ slotDataDestroying

virtual void KexiTableView::slotDataDestroying ( )
inlineprotectedvirtualslot

Definition at line 405 of file kexitableview.h.

◆ slotEditRequested

void KexiTableView::slotEditRequested ( )
protectedslot

receives a signal from cell editors

Definition at line 1527 of file kexitableview.cpp.

◆ slotRowDeleted

virtual void KexiTableView::slotRowDeleted ( )
inlineprotectedvirtualslot

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

Definition at line 439 of file kexitableview.h.

◆ slotRowInserted [1/2]

virtual void KexiTableView::slotRowInserted ( KexiTableItem * item,
bool repaint )
inlineprotectedvirtualslot

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

Definition at line 442 of file kexitableview.h.

◆ slotRowInserted [2/2]

virtual void KexiTableView::slotRowInserted ( KexiTableItem * item,
uint row,
bool repaint )
inlineprotectedvirtualslot

Like above, not db-aware version.

Definition at line 446 of file kexitableview.h.

◆ slotRowRepaintRequested

void KexiTableView::slotRowRepaintRequested ( KexiTableItem & item)
protectedvirtualslot

Handles KexiTableViewData::rowRepaintRequested() signal.

Definition at line 2041 of file kexitableview.cpp.

◆ slotRowsDeleted

void KexiTableView::slotRowsDeleted ( const TQValueList< int > & rows)
protectedvirtualslot

Definition at line 367 of file kexitableview.cpp.

◆ slotSectionHandleDoubleClicked

void KexiTableView::slotSectionHandleDoubleClicked ( int section)
protectedslot

Definition at line 1838 of file kexitableview.cpp.

◆ slotSettingsChanged

void KexiTableView::slotSettingsChanged ( int category)
protectedslot

Definition at line 2594 of file kexitableview.cpp.

◆ slotTopHeaderSizeChange

void KexiTableView::slotTopHeaderSizeChange ( int section,
int oldSize,
int newSize )
protectedslot

internal, used when top header's size changed

Definition at line 2495 of file kexitableview.cpp.

◆ slotUpdate

void KexiTableView::slotUpdate ( )
protectedslot

resizeContents(s.width(), s.height());

Definition at line 434 of file kexitableview.cpp.

◆ sortColumnInternal

virtual void KexiTableView::sortColumnInternal ( int col,
int order = 0 )
inlineprotectedvirtualslot

implemented because we needed this as slot

Definition at line 416 of file kexitableview.h.

◆ startEditCurrentCell

virtual void KexiTableView::startEditCurrentCell ( const TQString & setText = TQString())
inlinevirtualslot

Used when Return key is pressed on cell or "+" nav. button is clicked. Also used when we want to continue editing a cell after "invalid value" message was displayed (in this case, setText is usually not empty, what means that text will be set in the cell replacing previous value).

Definition at line 329 of file kexitableview.h.

◆ tableEditorWidget()

KexiTableEdit * KexiTableView::tableEditorWidget ( int col,
bool ignoreMissingEditor = false )
inlineprotected

Definition at line 539 of file kexitableview.h.

◆ tableSize()

TQSize KexiTableView::tableSize ( ) const
virtual

Definition at line 1921 of file kexitableview.cpp.

◆ triggerUpdate()

void KexiTableView::triggerUpdate ( )

single shot after 1ms for contents updatinh

Definition at line 2303 of file kexitableview.cpp.

◆ updateAfterAcceptRowEdit()

void KexiTableView::updateAfterAcceptRowEdit ( )
protectedvirtual

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 2004 of file kexitableview.cpp.

◆ updateAfterCancelRowEdit()

void KexiTableView::updateAfterCancelRowEdit ( )
protectedvirtual

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 1998 of file kexitableview.cpp.

◆ updateAllVisibleRowsBelow()

void KexiTableView::updateAllVisibleRowsBelow ( int row)
protectedvirtual

Used in KexiDataAwareObjectInterface::slotRowDeleted() to repaint tow row and all visible below.

Reimplemented from KexiDataAwareObjectInterface.

Definition at line 414 of file kexitableview.cpp.

◆ updateCell()

void KexiTableView::updateCell ( int row,
int col )
virtual

Redraws specified cell.

Implements KexiDataAwareObjectInterface.

Definition at line 1779 of file kexitableview.cpp.

◆ updateCurrentCell()

void KexiTableView::updateCurrentCell ( )
virtual

Redraws the current cell. Implemented after KexiDataAwareObjectInterface.

Implements KexiDataAwareObjectInterface.

Definition at line 1789 of file kexitableview.cpp.

◆ updateFonts()

void KexiTableView::updateFonts ( bool repaint = false)
protected

Internal: updated sched fonts for painting.

Definition at line 387 of file kexitableview.cpp.

◆ updateGeometries()

void KexiTableView::updateGeometries ( )
protected

Definition at line 1845 of file kexitableview.cpp.

◆ updateGUIAfterSorting()

void KexiTableView::updateGUIAfterSorting ( )
protectedvirtual

Implementation for KexiDataAwareObjectInterface

Implements KexiDataAwareObjectInterface.

Definition at line 476 of file kexitableview.cpp.

◆ updateRow()

void KexiTableView::updateRow ( int row)
virtual

Redraws all cells of specified row.

Implements KexiDataAwareObjectInterface.

Definition at line 1794 of file kexitableview.cpp.

◆ updateWidgetContents()

virtual void KexiTableView::updateWidgetContents ( )
inlineprotectedvirtual

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

Implements KexiDataAwareObjectInterface.

Definition at line 597 of file kexitableview.h.

◆ updateWidgetContentsSize()

void KexiTableView::updateWidgetContentsSize ( )
protectedvirtual

Implementation for KexiDataAwareObjectInterface. Updates widget's contents size using TQScrollView::resizeContents() depending on tableSize().

Implements KexiDataAwareObjectInterface.

Definition at line 361 of file kexitableview.cpp.

◆ updateWidgetScrollBars()

virtual void KexiTableView::updateWidgetScrollBars ( )
inlineprotectedvirtual

Implementation for KexiDataAwareObjectInterface

Implements KexiDataAwareObjectInterface.

Definition at line 489 of file kexitableview.h.

◆ validRowNumber()

int KexiTableView::validRowNumber ( const TQString & text)
protected

internal, to determine valid row number when navigator text changed

Definition at line 2332 of file kexitableview.cpp.

◆ verticalHeaderVisible()

bool KexiTableView::verticalHeaderVisible ( ) const
Returns
true if the vertical header is visible

Definition at line 2264 of file kexitableview.cpp.

◆ verticalScrollBar()

virtual TQScrollBar * KexiTableView::verticalScrollBar ( ) const
inlinevirtual
Returns
vertical scrollbar. Implemented for KexiDataAwareObjectInterface.

Implements KexiDataAwareObjectInterface.

Definition at line 260 of file kexitableview.h.

◆ viewportDragLeaveEvent()

void KexiTableView::viewportDragLeaveEvent ( TQDragLeaveEvent * e)
protectedvirtual

Definition at line 1764 of file kexitableview.cpp.

◆ viewportResizeEvent()

void KexiTableView::viewportResizeEvent ( TQResizeEvent * e)
protectedvirtual

Definition at line 1651 of file kexitableview.cpp.

◆ viewportToContents2()

TQPoint KexiTableView::viewportToContents2 ( const TQPoint & vp)
protected

Definition at line 918 of file kexitableview.cpp.

◆ vScrollBarSliderReleased

virtual void KexiTableView::vScrollBarSliderReleased ( )
inlineprotectedvirtualslot

Handles sliderReleased() signal of the verticalScrollBar(). Used to hide the "row number" tooltip.

Definition at line 454 of file kexitableview.h.

◆ vScrollBarValueChanged

virtual void KexiTableView::vScrollBarValueChanged ( int v)
inlineprotectedvirtualslot

Handles verticalScrollBar()'s valueChanged(int) signal. Called when vscrollbar's value has been changed.

Definition at line 451 of file kexitableview.h.

◆ KexiTableItem

friend class KexiTableItem
friend

Definition at line 635 of file kexitableview.h.

◆ KexiTableViewCellToolTip

friend class KexiTableViewCellToolTip
friend

Definition at line 637 of file kexitableview.h.

◆ WhatsThis

friend class WhatsThis
friend

Definition at line 636 of file kexitableview.h.

Member Data Documentation

◆ d

KexiTableViewPrivate* KexiTableView::d
protected

Definition at line 632 of file kexitableview.h.


The documentation for this class was generated from the following files: