kdk::KIntroWidget(3)
๐ kdk::KIntroWidget ๐
okay bestie, this one's from the Library Functions Manual (kdk::KIntroWidget(3)) and it's giving widget energy, so let's get into it ๐ซถ
โจ NAME โจ
kdk::KIntroWidget โ that's the whole name, no notes ๐
๐ฆ SYNOPSIS ๐ฆ
Inherits QWidget. yep, it's a widget, it's in the QWidget family tree, iconic behavior honestly ๐
๐ธ Signals
void rightClick (QPoint point)โ it emits this, and it hands over aQPoint pointwith it, so you know exactly where it happened ๐
๐ Public Member Functions
KIntroWidget (QWidget *parent=nullptr)โ constructor, withparentdefaulting tonullptr๐ผvoid setViewType (ViewType type)โ ่ฎพ็ฝฎ่งๅพๆ ทๅผ (setting the view style, periodt) ๐ชvoid setMainLabel (QString str)โ ่ฎพ็ฝฎไธปๆๆฌ (the main text, the moment, the main character) ๐void setSubLabel (QString str)โ ่ฎพ็ฝฎๆฌก็บงๆๆฌ (the secondary text, the supporting cast) ๐void setBorderRadius (int radius)โ ่ฎพ็ฝฎๅ่ง (rounded corners, we love a soft edge) ๐งvoid setBorderRadius (int bottomLeft, int topLeft, int topRight, int bottomRight)โ ่ฎพ็ฝฎๅ่ง (also rounded corners, but you're picking all four yourself, queen) ๐void setTitleColor (QColor color)โ ่ฎพ็ฝฎๆ ้ข้ข่ฒ (title color, go off) ๐
๐ Protected Member Functions
void paintEvent (QPaintEvent *event)๐จbool eventFilter (QObject *watched, QEvent *event)๐QSize sizeHint () const override๐void mousePressEvent (QMouseEvent *event)๐ฑ๏ธvoid mouseReleaseEvent (QMouseEvent *event)๐ฑ๏ธ
๐ Member Function Documentation ๐
๐ง void kdk::KIntroWidget::setBorderRadius (int bottomLeft, int topLeft, int topRight, int bottomRight)
่ฎพ็ฝฎๅ่ง โ you're setting the corner radius, and you're doing it per-corner because you have range ๐
Parameters
bottomLeftโ the bottom-left corner ๐topLeftโ the top-left corner โญtopRightโ the top-right corner โจbottomRightโ the bottom-right corner ๐ธ
๐ง void kdk::KIntroWidget::setBorderRadius (int radius)
่ฎพ็ฝฎๅ่ง โ same energy, but one single radius for the whole thing, no favorites ๐
Parameters
radiusโ the radius ๐ต
๐ void kdk::KIntroWidget::setMainLabel (QString str)
่ฎพ็ฝฎไธปๆๆฌ โ this sets the main text, the headline, the main character moment ๐
Parameters
strโ the string ๐
๐ void kdk::KIntroWidget::setSubLabel (QString str)
่ฎพ็ฝฎๆฌก็บงๆๆฌ โ and this sets the secondary text, the lil supporting line ๐ซถ
Parameters
strโ the string ๐
๐ void kdk::KIntroWidget::setTitleColor (QColor color)
่ฎพ็ฝฎๆ ้ข้ข่ฒ โ sets the title color, go make it pretty ๐จ
Parameters
colorโ the color ๐จ
๐ช void kdk::KIntroWidget::setViewType (ViewType type)
่ฎพ็ฝฎ่งๅพๆ ทๅผ โ sets the view style, and that's the vibe check passed โ
Parameters
typeโ theViewType๐
๐ Author ๐
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS, straight from the source code. no cap, the robots wrote this one ๐ค
okay that's the whole page bestie, we ate and left no crumbs ๐โจ anyway, this was LIBKYSDK-APPLICATIONS, Version version:3.0, and it's kdk::KIntroWidget(3) โ slay, stay hydrated, read your manpages, mwah ๐๐ฆ๐
๐ฆ 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