kexi

KexiDBTextWidgetInterface Class Reference

#include <kexidbtextwidgetinterface.h>

Inheritance diagram for KexiDBTextWidgetInterface:

KexiDBLabel KexiDBLineEdit KexiDBTextEdit List of all members.

Detailed Description

An interface providing common text editor's functionality.

Widgets (e.g. KexiDBLineEdit, KexiDBTextEdit) implementing KexiFormDataItemInterface use this interface to customize painting and data handling.

Definition at line 33 of file kexidbtextwidgetinterface.h.


Public Member Functions

 KexiDBTextWidgetInterface ()
 ~KexiDBTextWidgetInterface ()
void setColumnInfo (KexiDB::QueryColumnInfo *cinfo, QWidget *w)
void paint (QFrame *w, QPainter *p, bool textIsEmpty, int alignment, bool hasFocus)
void event (QEvent *e, QWidget *w, bool textIsEmpty)

Protected Attributes

KexiDisplayUtils::DisplayParametersm_autonumberDisplayParameters

Member Function Documentation

void KexiDBTextWidgetInterface::setColumnInfo ( KexiDB::QueryColumnInfo cinfo,
QWidget *  w 
)

void KexiDBTextWidgetInterface::paint ( QFrame *  w,
QPainter *  p,
bool  textIsEmpty,
int  alignment,
bool  hasFocus 
)

Called from paintEvent( QPaintEvent *pe ) method of the data aware widget.

Definition at line 46 of file kexidbtextwidgetinterface.cpp.

void KexiDBTextWidgetInterface::event ( QEvent *  e,
QWidget *  w,
bool  textIsEmpty 
)

Called from event( QEvent * e ) method of the data aware widget.

Definition at line 65 of file kexidbtextwidgetinterface.cpp.


Member Data Documentation

parameters for displaying autonumber sign

Definition at line 50 of file kexidbtextwidgetinterface.h.


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