Logo    
KDWinUtils
Helper library for MFC to Qt migration
Loading...
Searching...
No Matches
KListModel::Item Struct Reference

Contains attributes of a list view item or subitem. More...

#include <klistmodel.h>

Collaboration diagram for KListModel::Item:
[legend]

Public Attributes

int cchTextMax
 The length of the item string.
 
int iImage
 The zero-based index of an image within the image list.
 
int iIndent
 Not handled yet.
 
int iItem
 The row of the item.
 
int iSubItem
 The column of the item (1 is the first subItem).
 
void * lParam
 Application-defined item data.
 
Masks mask
 Specifies which members of the structure are valid input.
 
KString pszText
 The item's text.
 
StateMask state
 Specifies the item's state.
 
StateMask stateMask
 Specifies which bits of the state member will be retrieved or modified.
 

Detailed Description

Contains attributes of a list view item or subitem.

This struct is used to replace LVITEM in MFC. It contains all the attributes of a list view item or subitem.

Member Data Documentation

◆ cchTextMax

int KListModel::Item::cchTextMax

The length of the item string.

◆ iImage

int KListModel::Item::iImage

The zero-based index of an image within the image list.

◆ iIndent

int KListModel::Item::iIndent

Not handled yet.

◆ iItem

int KListModel::Item::iItem

The row of the item.

◆ iSubItem

int KListModel::Item::iSubItem

The column of the item (1 is the first subItem).

◆ lParam

void* KListModel::Item::lParam

Application-defined item data.

◆ mask

Masks KListModel::Item::mask

Specifies which members of the structure are valid input.

◆ pszText

KString KListModel::Item::pszText

The item's text.

◆ state

StateMask KListModel::Item::state

Specifies the item's state.

◆ stateMask

StateMask KListModel::Item::stateMask

Specifies which bits of the state member will be retrieved or modified.


The documentation for this struct was generated from the following file: