kdk::KListViewDelegate(3)

NAME
kdk::KListViewDelegate - 配合KListview可以提供一个图片两行文字的显示效果，若只有一行文字，则对于 icon 居中显示 。

SYNOPSIS

#include <klistviewdelegate.h>

Inherits QStyledItemDelegate, and ThemeController.

  Public Member Functions
KListViewDelegate (QAbstractItemView *parent)

  Protected Member Functions
void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
virtual QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const

Detailed Description

配合KListview可以提供一个图片两行文字的显示效果，若只有一行文字，则对于 icon 居中显示 。

Since
    1.2.0

Author

Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code.