#include <form.h>
Public Member Functions | |
| virtual void | drawRects (const TQValueList< TQRect > &list, int type)=0 |
| virtual void | drawRect (const TQRect &r, int type)=0 |
| virtual void | initBuffer ()=0 |
| virtual void | clearForm ()=0 |
| virtual void | highlightWidgets (TQWidget *from, TQWidget *to)=0 |
Protected Attributes | |
| Form * | m_form |
Friends | |
| class | Form |
Detailed Description
Base (virtual) class for all form widgets.
You need to inherit this class, and implement the drawing functions. This is necessary because you cannot inherit TQWidget twice, and we want form widgets to be any widget. See FormWidgetBase in test/kfd_part.cpp and just copy functions there.
Constructor & Destructor Documentation
◆ FormWidget()
◆ ~FormWidget()
Member Function Documentation
◆ clearForm()
|
pure virtual |
Clears the form, ie pastes the whole buffer to repaint the Form.
Implemented in KexiDBForm, and KexiReportForm.
◆ drawRects()
|
pure 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).
Implemented in FormWidgetBase, KexiDBForm, and KexiReportForm.
◆ highlightWidgets()
|
pure virtual |
This function highlights two widgets (to is optional), which are sender and receiver, and draws a link between them.
Implemented in FormWidgetBase, KexiDBForm, and KexiReportForm.
◆ initBuffer()
|
pure virtual |
This function inits the buffer used for double-buffering. Called before drawing rect.
Implemented in KexiDBForm, and KexiReportForm.
Friends And Related Symbol Documentation
◆ Form
Member Data Documentation
◆ m_form
The documentation for this class was generated from the following files:
