kexi

#include <kfd_kdev_part.h>

Inheritance diagram for FormWidgetBase:
KFormDesigner::FormWidget

Public Member Functions

 FormWidgetBase (KFormDesignerKDevPart *part, TQWidget *parent=0, const char *name=0, int WFlags=WDestructiveClose)
 
void drawRect (const TQRect &r, int type)
 
void drawRects (const TQValueList< TQRect > &list, int type)
 
void initRect ()
 
void clearRect ()
 
void highlightWidgets (TQWidget *from, TQWidget *to)
 
- Public Member Functions inherited from KFormDesigner::FormWidget
virtual void initBuffer ()=0
 
virtual void clearForm ()=0
 

Protected Member Functions

void closeEvent (TQCloseEvent *ev)
 

Additional Inherited Members

- Protected Attributes inherited from KFormDesigner::FormWidget
Form * m_form
 

Detailed Description

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

Definition at line 116 of file kfd_kdev_part.h.

Constructor & Destructor Documentation

◆ FormWidgetBase()

FormWidgetBase::FormWidgetBase ( KFormDesignerKDevPart *  part,
TQWidget *  parent = 0,
const char *  name = 0,
int  WFlags = WDestructiveClose 
)
inline

Definition at line 122 of file kfd_kdev_part.h.

◆ ~FormWidgetBase()

FormWidgetBase::~FormWidgetBase ( )
inline

Definition at line 124 of file kfd_kdev_part.h.

Member Function Documentation

◆ clearRect()

void FormWidgetBase::clearRect ( )

Definition at line 598 of file kfd_kdev_part.cpp.

◆ closeEvent()

void FormWidgetBase::closeEvent ( TQCloseEvent *  ev)
protected

Definition at line 676 of file kfd_kdev_part.cpp.

◆ drawRect()

void FormWidgetBase::drawRect ( const TQRect &  r,
int  type 
)
virtual

Implements KFormDesigner::FormWidget.

Definition at line 581 of file kfd_kdev_part.cpp.

◆ drawRects()

void FormWidgetBase::drawRects ( const TQValueList< TQRect > &  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.

◆ highlightWidgets()

void FormWidgetBase::highlightWidgets ( TQWidget *  from,
TQWidget *  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.

◆ initRect()

void FormWidgetBase::initRect ( )

Definition at line 589 of file kfd_kdev_part.cpp.


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