Kexi API Documentation (2.0 alpha)

FormWidgetBase Class Reference

#include <kfd_kdev_part.h>

Inheritance diagram for FormWidgetBase:

QWidget 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)


Constructor & Destructor Documentation

FormWidgetBase::FormWidgetBase KFormDesignerKDevPart part,
QWidget parent = 0,
const char *  name = 0,
int  WFlags = WDestructiveClose
[inline]
 

Definition at line 119 of file kfd_kdev_part.h.

FormWidgetBase::~FormWidgetBase  )  [inline]
 

Definition at line 121 of file kfd_kdev_part.h.


Member Function Documentation

void FormWidgetBase::clearRect  ) 
 

Definition at line 598 of file kfd_kdev_part.cpp.

References repaintAll().

void FormWidgetBase::closeEvent QCloseEvent *  ev  )  [protected]
 

Definition at line 676 of file kfd_kdev_part.cpp.

References KFormDesignerKDevPart::closeForm(), KFormDesigner::FormWidget::Form, and KFormDesigner::FormManager::self().

void FormWidgetBase::drawRect const QRect &  r,
int  type
[virtual]
 

Implements KFormDesigner::FormWidget.

Definition at line 581 of file kfd_kdev_part.cpp.

References drawRects().

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.

Referenced by drawRect().

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.

void FormWidgetBase::initRect  ) 
 

Definition at line 589 of file kfd_kdev_part.cpp.

References repaintAll().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:50:02 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003