»
UIQ 3.1 SDK »
UIQ API reference »
C++ component reference »
QEikStd »
CColumnListBoxItemDrawer
Location:
EIKCLB.H
Link against: eiklbx.lib
Class CColumnListBoxItemDrawer
| Interface status: | deprecated | Quartz 6.0
|
class CColumnListBoxItemDrawer : public CTextListItemDrawer;
Description
Functions to access the column list box data and to draw a column list box item.
Derivation
CBase - Base class for all classes to be instantiated on the heapCListItemDrawer - Draws individual list box items for a CListBoxViewCTextListItemDrawer - Item drawer which can handle textCColumnListBoxItemDrawer - Functions to access the column list box data and to draw a column list box item
Members
Defined in CColumnListBoxItemDrawer:
CColumnListBoxItemDrawer(), ColumnData(), DrawItemText(), ItemWidthInPixels(), MinimumCellSize(), Properties(), SetSearchStringL(), ~CColumnListBoxItemDrawer()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
Inherited from CListItemDrawer:
BackColor(),
BaseLineOffset(),
CListItemDrawer_Reserved_1(),
ClearFlags(),
ClearRect(),
DataWidthClippedToViewRect(),
DimmedBackColor(),
DimmedTextColor(),
DrawFrame(),
DrawItem(),
DrawItemMark(),
ECurrent,
EDataWidthClippedToViewRect,
EDrawMarkSelection,
EDrawOnlyActiveSelection,
EEmphasized,
EMask,
EPaintedSelection,
ESelected,
Flags(),
Gc(),
HighlightedBackColor(),
HighlightedTextColor(),
MarkColor(),
MarkColumn(),
MarkGutter(),
SetBackColor(),
SetData(),
SetDataWidthClippedToViewRect(),
SetDimmedBackColor(),
SetDimmedTextColor(),
SetDrawMark(),
SetFlags(),
SetFontProvider(),
SetHighlightedBackColor(),
SetHighlightedTextColor(),
SetItemCellSize(),
SetMarkColumnWidth(),
SetMarkGutter(),
SetSymbolFont(),
SetTextColor(),
SetVerticalInterItemGap(),
SetViewRect(),
SetupGc(),
TFlags,
TListItemAttribute,
TextColor(),
VerticalInterItemGap(),
iBackColor,
iData,
iDimmedBackColor,
iDimmedTextColor,
iDrawMark,
iFontProvider,
iGc,
iHighlightedBackColor,
iHighlightedTextColor,
iItemCellSize,
iMarkColor,
iMarkColumnWidth,
iMarkGutter,
iTextColor,
iViewRect,
iZoomFactor
Inherited from CTextListItemDrawer:
CTextListItemDrawer_Reserved_1(),
ConstructL(),
DoDrawItemText(),
DrawActualItem(),
Font(),
MatcherCursorAscent(),
MatcherCursorRect(),
ResetGc(),
SetCellWidthInChars(),
SetFont(),
SetGc(),
iModel
Construction and destruction
CColumnListBoxItemDrawer()
| Interface status: | deprecated | Inherited from: CColumnListBoxItemDrawer |
IMPORT_C CColumnListBoxItemDrawer(MTextListBoxModel *aTextListBoxModel, const CFont *aDeprecated=0, CColumnListBoxData *aColumnData=0);
Description
Constructor.
Constructs a CColumnListBoxItemDrawer using the specified model, font and data.
Parameters
~CColumnListBoxItemDrawer()
| Interface status: | deprecated | Inherited from: CColumnListBoxItemDrawer |
IMPORT_C ~CColumnListBoxItemDrawer();
Description
Empty destructor.
| Interface status: | deprecated | Inherited from: CColumnListBoxItemDrawer |
IMPORT_C CColumnListBoxData *ColumnData() const;
Description
Gets a pointer to the column list box data. Does not imply transfer of ownership.
Return value
| Interface status: | deprecated | Inherited from: CColumnListBoxItemDrawer |
virtual IMPORT_C void DrawItemText(TInt aItemIndex, const TRect &aItemTextRect, TBool aItemIsCurrent, TBool aViewIsEmphasized, TBool aItemIsSelected) const;
Description
Draw the specified item's text.
The text and its background are drawn highlighted if either:
aItemIsCurrent and aViewIsEmphasized are ETrue
aItemIsSelected is ETrue and the EDrawMarkSelection flag is set
Parameters
TInt aItemIndex |
The index of the item to draw. |
const TRect &aItemTextRect |
The item's text rectangle. |
TBool aItemIsCurrent |
ETrue if the item is current. EFalse otherwise. |
TBool aViewIsEmphasized |
ETrue if the view is emphasised. EFalse otherwise. |
TBool aItemIsSelected |
ETrue if the item is selected. EFalse otherwise. |
|
Panic codes
KErrGeneral |
if the listbox is in an invalid state. |
|
See also:
| Interface status: | deprecated | Inherited from: CColumnListBoxItemDrawer |
IMPORT_C void SetSearchStringL(const TDesC *aSearchString, const TInt aSearchStrColumn);
Description
Sets the search string and column for the column list box.
Parameters
const TDesC *aSearchString |
The string for which to search. |
const TInt aSearchStrColumn |
The column to which the search relates. |
|
See also:
| Interface status: | deprecated | Inherited from: CColumnListBoxItemDrawer |
virtual IMPORT_C TSize MinimumCellSize() const;
Description
Gets the minimum size of an item in the column list box.
Return value
TSize
|
The minimum size of the column list box item. |
|
See also:
| Interface status: | deprecated | Inherited from: CColumnListBoxItemDrawer |
virtual IMPORT_C TInt ItemWidthInPixels(TInt aItemIndex) const;
Description
Gets the width of the specified item in pixels.
Parameters
TInt aItemIndex |
The index of the item for which the width is obtained. Not used. |
|
Return value
TInt
|
The width of the specified item in pixels. |
|
See also:
| Interface status: | deprecated | Inherited from: CColumnListBoxItemDrawer |
virtual IMPORT_C TListItemProperties Properties(TInt aItemIndex) const;
Description
Parameters
Return value
See also: