kexi

TableViewHeader Class Reference

#include <kexitableview.h>

List of all members.


Detailed Description

A header with additional actions. Displays field description (Field::description()) text as tool tip, if available. Displays tool tips if a pointed section is not wide enough to fit its label text.

Todo:
react on indexChange ( int section, int fromIndex, int toIndex ) signal

Definition at line 603 of file kexitableview.h.


Public Member Functions

 TableViewHeader (QWidget *parent=0, const char *name=0)
int addLabel (const QString &s, int size=-1)
int addLabel (const QIconSet &iconset, const QString &s, int size=-1)
void removeLabel (int section)
void setToolTip (int section, const QString &toolTip)
virtual bool eventFilter (QObject *watched, QEvent *e)

Protected Slots

void slotSizeChange (int section, int oldSize, int newSize)

Protected Attributes

int m_lastToolTipSection
QRect m_toolTipRect
QStringList m_toolTips

Member Function Documentation

void TableViewHeader::setToolTip int  section,
const QString &  toolTip
 

Sets toolTip for section.

Definition at line 131 of file kexitableview.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys