kdk::KCommentPanel(3)
💖 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, defaultparentisnullptr, she's chill like thatvoid 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
- arch rolling: libkysdk-applications 3.0.1.2-1 · BSD-3-Clause AND GPL-3.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later AND MIT AND MulanPSL-2.0
- ubuntu resolute: libkysdk-applications-dev 3.0.1.1-1 · LGPL-3.0-or-later
- ubuntu stonking: libkysdk-applications-dev 3.0.1.2-1build2 · LGPL-3.0-or-later
- 💖 girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms