kdk::KTextEdit(3)
✨ kdk::KTextEdit ✨
it's giving Library Functions Manual, section 3 energy 💅 and bestie, today we're deep-diving kdk::KTextEdit — the manual page, the myth, the legend. Grab your boba, we're going in. 🧋
🌸 NAME 🌸
kdk::KTextEdit — 继承QTextEdit 💖
no cap, that's it. that's the whole name section. it inherits QTextEdit. periodt.
🎀 SYNOPSIS 🎀
okay so first things first, you gotta pull it in:
#include <ktextedit.h>
Inherits QTextEdit.
so it's a QTextEdit at heart, just with extra main character energy layered on top 🦋
👑 Public Member Functions
KTextEdit (QWidget *parent=nullptr)— the constructor, she's born ✨ takes an optionalparent, defaults tonullptrvoid setLabelVisible (bool flag)— 设置label是否可见 — sets whether the label is visible or not 👀void setPixmap (const QPixmap &pixmap)— 设置图标 — sets the icon 🖼️const QPixmap * pixmap () const— 获取图标 — grabs the icon back for you 🫶void setLabelText (const QString &text)— 设置label文本 — sets the label text 💬void setReadOnly (bool ro)— 设置是否可编辑状态 — sets whether it's editable or not 🔒
🧚 Protected Member Functions
void paintEvent (QPaintEvent *event)— the protected painting hook, only for the subclass girlies who know 🎨
🌈 Detailed Description 🌈
继承QTextEdit 💜
Since 2.4.1.0 ⭐
💖 Member Function Documentation 💖
🦋 const QPixmap * kdk::KTextEdit::pixmap () const
获取图标 — grabs the icon, iconic behavior honestly.
Returns
ok so the Returns section is literally just sitting there empty. no description. nothing. it's giving mysterious. 🙈 that's all the docs give us, and we're not gonna invent anything bestie, we keep it fr fr.
💬 void kdk::KTextEdit::setLabelText (const QString & text)
设置label文本 — sets the label text.
Parameters
text— the text, obvi 💅
👀 void kdk::KTextEdit::setLabelVisible (bool flag)
设置label是否可见 — sets whether the label is visible.
Parameters
flag— the bool that decides if the label shows up or ghosts you 🫥
🖼️ void kdk::KTextEdit::setPixmap (const QPixmap & pixmap)
设置图标 — sets the icon.
Parameters
pixmap— theQPixmapyou're handing over, no take-backs ✨
🔒 void kdk::KTextEdit::setReadOnly (bool ro)
设置是否可编辑状态 — sets whether it's in an editable state or not.
Parameters
ro— the read-only bool,truemeans no typing for you,falsemeans go off 🎀
🌟 Author 🌟
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. 🤖 (yes bestie, a robot wrote this whole page, and honestly? it ate.)
💀 real talk: this entire page was auto-generated by Doxygen for LIBKYSDK-APPLICATIONS, from the source code itself. so if something looks sparse, blame the generator, not me. 🫶
sign-off time 🌈💖
okay that's the whole page bestie!! this little cutie lives in LIBKYSDK-APPLICATIONS, the version tag on it says version:3.0, and the page itself is filed under kdk::KTextEdit(3). no date on the footer, so don't come for me about timestamps 😭. stay hydrated, subclass responsibly, and remember: you're the main character of your own widget hierarchy. slay 💅✨🎀🦋💜
📦 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