Object look-and-feel class. More...
#include <ilviews/gadgets/hsheet.h>
Public Member Functions | |
virtual IlvRect | contentBBox (const IlvGadgetItemMatrixItem *item, const IlvRect &bbox) const override |
Returns the size and position of internal content of gadget item. More... | |
virtual void | drawButton (const IlvHierarchicalSheet *, IlvPort *, const IlvTreeGadgetItem *, const IlvRect &, const IlvRegion *) const override |
Is called to draw the expand/collapse button of a hierarchical sheet item. More... | |
virtual IlvRect | getButtonRect (const IlvHierarchicalSheet *hsheet, const IlvGadgetItemMatrixItem *item, const IlvRect &bbox) const override |
Returns the size and position of the shrink/expand button of the specified gadget item of hierarchical sheet. More... | |
virtual IlvRect | getGadgetItemBBox (const IlvHierarchicalSheet *hsheet, const IlvGadgetItemMatrixItem *item, const IlvRect &bbox) const override |
Returns the size and position of gadget item of hierarchical sheet. More... | |
Public Member Functions inherited from IlvHierarchicalSheetLFHandler | |
IlvHierarchicalSheetLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. More... | |
virtual IlvPalette * | getGridPalette (const IlvHierarchicalSheet *hsheet) const =0 |
Returns the palette used to draw the grid of the hierarchical sheet. More... | |
virtual IlvPalette * | getLinkPalette (const IlvHierarchicalSheet *hsheet) const =0 |
Returns the palette used to draw the links of the hierarchical sheet. More... | |
virtual IlvPalette * | getSelectedLinkPalette (const IlvHierarchicalSheet *hsheet) const =0 |
Returns the palette used to draw the selected links of the hierarchical sheet. More... | |
Object look-and-feel class.
Library: ilvadvgdt
The predefined object look-and-feel handlers of the hierarchical sheet are subclasses of this class. It defines several methods of the base class that are common to all predefined looks.
|
overridevirtual |
Returns the size and position of internal content of gadget item.
item | The gadget item. |
bbox | Overall bounding box of the gadget item, including margins. |
Implements IlvHierarchicalSheetLFHandler.
Reimplemented in IlvHierarchicalSheetCSSLFHandler.
|
overridevirtual |
Is called to draw the expand/collapse button of a hierarchical sheet item.
hsheet | The hierarchical sheet. |
dst | The destination port. |
item | The item being drawn. |
rect | The rectangle where to draw the button. |
clip | The clipping region. |
Implements IlvHierarchicalSheetLFHandler.
Reimplemented in IlvHierarchicalSheetCSSLFHandler.
|
overridevirtual |
Returns the size and position of the shrink/expand button of the specified gadget item of hierarchical sheet.
hsheet | The hierarchical sheet. |
item | The tree gadget item. |
bbox | Overall bounding box of the gadget item, including margins. |
Implements IlvHierarchicalSheetLFHandler.
Reimplemented in IlvHierarchicalSheetCSSLFHandler.
|
overridevirtual |
Returns the size and position of gadget item of hierarchical sheet.
hsheet | The hierarchical sheet. |
item | The gadget item. |
bbox | Overall bounding box of the gadget item, including margins. |
Implements IlvHierarchicalSheetLFHandler.
Reimplemented in IlvHierarchicalSheetCSSLFHandler.