kexi

FormWidgetBase Class Reference

#include <kfd_kdev_part.h>

Inheritance diagram for FormWidgetBase:

KFormDesigner::FormWidget List of all members.

Detailed Description

Helper: this widget is used to create form's surface.

Definition at line 114 of file kfd_kdev_part.h.


Public Member Functions

 FormWidgetBase (KFormDesignerKDevPart *part, QWidget *parent=0, const char *name=0, int WFlags=WDestructiveClose)
 ~FormWidgetBase ()
void drawRect (const QRect &r, int type)
void drawRects (const QValueList< QRect > &list, int type)
void initRect ()
void clearRect ()
void highlightWidgets (QWidget *from, QWidget *to)

Protected Member Functions

void closeEvent (QCloseEvent *ev)

Member Function Documentation

void FormWidgetBase::drawRects const QValueList< QRect > &  list,
int  type
[virtual]
 

This function draws the rects in the list in the Form, above of all widgets, using double-buffering. type can be 1 (selection rect) or 2 (insert rect, dotted).

Implements KFormDesigner::FormWidget.

Definition at line 550 of file kfd_kdev_part.cpp.

void FormWidgetBase::highlightWidgets QWidget *  from,
QWidget *  to
[virtual]
 

This function highlights two widgets (to is optional), which are sender and receiver, and draws a link between them.

Implements KFormDesigner::FormWidget.

Definition at line 616 of file kfd_kdev_part.cpp.


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