kdk::KCommentPanel(3)

NAME
kdk::KCommentPanel - 显示用户评论的详细信息

SYNOPSIS

#include <kcommentpanel.h>

Inherits QWidget.

  Public Member Functions

KCommentPanel (QWidget *parent=nullptr)
void setIcon (const QIcon &)
设置评论用户头像
void setTime (const QString &)
设置评论时间
void setName (const QString &)
设置评论用户昵称
void setText (const QString &)
设置评论文本
void setGrade (StarLevel level)
设置等级

  Protected Member Functions

void paintEvent (QPaintEvent *event) override

Detailed Description

显示用户评论的详细信息

Since
    1.0.0

Member Function Documentation

  void kdk::KCommentPanel::setGrade (StarLevel level)

设置等级

Parameters
    level

Author

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