.TH "kdk::KListViewDelegate" 3 "Version version:3.0" "LIBKYSDK-APPLICATIONS" \" -*- nroff -*- .ad l .nh .SH NAME kdk::KListViewDelegate \- 配合KListview可以提供一个图片两行文字的显示效果,若只有一行文字,则对于 icon 居中显示 。 .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits QStyledItemDelegate, and ThemeController\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBKListViewDelegate\fP (QAbstractItemView *parent)" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "void \fBpaint\fP (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override" .br .ti -1c .RI "virtual QSize \fBsizeHint\fP (const QStyleOptionViewItem &option, const QModelIndex &index) const" .br .in -1c .SH "Detailed Description" .PP 配合KListview可以提供一个图片两行文字的显示效果,若只有一行文字,则对于 icon 居中显示 。 .PP \fBSince\fP .RS 4 1\&.2\&.0 .RE .PP .SH "Author" .PP Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code\&.