kdk::KFileWidget(3)
๐ NAME ๐
kdk::KFileWidget โ bestie, it's the KFileWidget class. That's the whole vibe. ๐
โจ SYNOPSIS โจ
#include <kfilewidget.h>
Lowkey important: it Inherits QWidget. So everything QWidget can do, it can do too. Main character energy by inheritance, fr fr. ๐ซถ
๐ธ Signals
void clicked ()โ it emitsclicked (). That's the signal, that's the whole thing, no cap.
๐ Public Member Functions
KFileWidget (QWidget *parent=nullptr)โ the constructor, andparentdefaults tonullptr.void setMainText (QString str)โ ่ฎพ็ฝฎไธป่ฆๆๆฌ (sets the main text, icon behavior ๐ )void setSubText (QString str)โ ่ฎพ็ฝฎๆฌก็บงๆๆฌ (sets the secondary text โจ)void setIcon (QIcon icon)โ ่ฎพ็ฝฎๅพ็ (sets the image ๐ผ๏ธ)void setBorderRadius (int radius)โ ่ฎพ็ฝฎๅ่ง (sets the corner rounding ๐)void setBorderRadius (int bottomLeft, int topLeft, int topRight, int bottomRight)โ ่ฎพ็ฝฎๅ่ง, but make it per-corner ๐
๐ก๏ธ Protected Member Functions
These ones are protected, so they're for subclasses only โ not for just anybody, iykyk. ๐
void paintEvent (QPaintEvent *event)bool eventFilter (QObject *watched, QEvent *event)
๐ฆ DETAILED DESCRIPTION ๐ฆ
The KFileWidget class. That's it. That's the description. She's mysterious, she's iconic. ๐
โญ Since
2.4.1.0
Like, she's been around since 2.4.1.0. Respect the elders. ๐
๐ MEMBER FUNCTION DOCUMENTATION ๐
๐ void kdk::KFileWidget::setBorderRadius (int bottomLeft, int topLeft, int topRight, int bottomRight)
่ฎพ็ฝฎๅ่ง โ you're setting the corner radius, and you get to do each corner separately because you're extra like that. โจ
Parameters
- bottomLeft
- topLeft
- topRight
- bottomRight
Heads up bestie: the parameter order isbottomLeft,topLeft,topRight,bottomRight. Not clockwise. Not starting at top-left. Do not assume, or your corners will be a mess. ๐
๐ void kdk::KFileWidget::setBorderRadius (int radius)
่ฎพ็ฝฎๅ่ง โ the same thing but one single value for all of it. Simple. Clean. Ate. ๐
Parameters
- radius
๐ง void kdk::KFileWidget::setIcon (QIcon icon)
่ฎพ็ฝฎๅพ็ โ you're setting the image. ๐ผ๏ธ
Parameters
- icon
๐ง void kdk::KFileWidget::setMainText (QString str)
่ฎพ็ฝฎไธป่ฆๆๆฌ โ setting the main text, the headline, the star of the show. ๐
Parameters
- str
๐ง void kdk::KFileWidget::setSubText (QString str)
่ฎพ็ฝฎๆฌก็บงๆๆฌ โ setting the secondary text, the supporting role that still eats. โจ
Parameters
- str
๐ AUTHOR ๐
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. Not a human author, just Doxygen doing its little automatic thing. ๐คโจ
Okay so that's the whole page, bestie โ straight from the LIBKYSDK-APPLICATIONS crew, Version version:3.0, and yes the docs really do just say "version:3.0" like that, we don't question it, we accept it, we move on. ๐ This page is kdk::KFileWidget(3) from the Library Functions Manual, and that's the tea. Slay, go set some border radii. ๐๐ฆ
๐ฆ 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