kdk::KCommentPanel(3)

📦 version 3.0.1.2, in arch rolling, ubuntu resolute, ubuntu stonking

💖 NAME 💖

kdk::KCommentPanel — 显示用户评论的详细信息 — aka she shows you all the deets of a user's comment 💅


✨ SYNOPSIS ✨

#include <kcommentpanel.h>

okay so bestie, first thing: she Inherits QWidget 🫶 like she's part of the widget family, no cap.

🌸 Public Member Functions 🌸

  • KCommentPanel (QWidget *parent=nullptr) — the constructor, default parent is nullptr, she's chill like that
  • void setIcon (const QIcon &) — 设置评论用户头像 (sets the commenter's avatar pic, main character energy fr) 🎀
  • void setTime (const QString &) — 设置评论时间 (sets the comment time, timestamps slay) ⭐
  • void setName (const QString &) — 设置评论用户昵称 (sets the commenter's nickname, their lil username moment) 🦋
  • void setText (const QString &) — 设置评论文本 (sets the comment text itself, the actual words) 💜
  • void setGrade (StarLevel level) — 设置等级 (sets the grade/level, the star rating vibe) 🔥

🧚 Protected Member Functions 🧚

  • void paintEvent (QPaintEvent *event) override — she overrides this one, it's giving very protected, very internal 👑

🌈 Detailed Description 🌈

显示用户评论的详细信息 — literally, she displays the detailed info of user comments. That's the whole job. That's her purpose. Iconic. 💖

Since : 1.0.0 — she's been here since day one, a legend 🫶


💅 Member Function Documentation 💅

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

设置等级 — she sets the grade, bestie. The level. The stars. Whatever you're grading, this is where you hand it over. ⭐

Parameters

  • level — that's the parameter, right there, that's the one 📌

🎀 Author 🎀

Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. Not me writing a lil bio, the machine did it. No thoughts, just Doxygen. 💀


okay that's the whole page bestie, go forth and render those comments ✨ anyway this was LIBKYSDK-APPLICATIONS, Version version:3.0, mwah, bye, drink water 🍓💜

📦 where this page comes from