kdk::KBackgroundGroup(3)

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

💖 kdk::KBackgroundGroup(3) 💖

okay so welcome to the Library Functions Manual, bestie — this is the page for kdk::KBackgroundGroup(3) and she is genuinely so useful, no cap. Let's get into it 🫶


🌸 NAME 🌸

kdk::KBackgroundGroup — a container for storing widgets. That's the whole vibe. She holds your widgets. She's the group chat and the widgets are the members. 💅


✨ SYNOPSIS ✨

#include <kbackgroundgroup.h>

She Inherits QFrame, so yes, she's a frame girlie at heart. 👑

🔔 Signals 🔔

  • void clicked (QWidget *) — when someone clicks, she emits a signal. Like "bestie someone tapped me" and everyone in the room hears it. 📣

👑 Public Member Functions 👑

  • KBackgroundGroup (QWidget *parent=nullptr) — the constructor, she's born, hello gorgeous.
  • void addWidget (QWidget *widget) — adds a widget control. One widget, one vibe, in she goes.
  • void addWidgetList (QList< QWidget * > list) — adds a whole widget list. Bulk addition, we love efficiency.
  • void removeWidgetAt (int i) — removes the widget at the index you specify. Bye at position i specifically.
  • void removeWidget (QWidget *widget) — removes a widget.
  • void removeWidgetList (QList< QWidget * > list) — removes a widget list. Mass exit, dramatic but valid.
  • void insertWidgetAt (int index, QWidget *widget) — inserts a widget at the position you pick. Not append — insert, she's precise.
  • void insertWidgetList (int index, QList< QWidget * > list) — inserts a widget list at the position you pick.
  • void setBorderRadius (int radius) — sets the corner radius of the KBackgroundGroup. Soft corners era. 🎀
  • int borderRadius () — returns the corner radius of the KBackgroundGroup.
  • void setBackgroundRole (QPalette::ColorRole role) — sets the background colour.
  • QPalette::ColorRole backgroundRole () const — returns the background colour.
  • void setStateEnable (QWidget *widget, bool flag) — sets whether the window/form can respond to the three states (三态). Toggling that on or off.
  • QList< QWidget * > widgetList () — returns the widget list.
  • void setBorderVisible (bool flag) — sets whether the border is visible. Border on, border off, her choice.

🛡️ Protected Member Functions 🛡️

  • void paintEvent (QPaintEvent *event)
  • bool eventFilter (QObject *watched, QEvent *event)

🌈 Detailed Description 🌈

A container for storing widgets. That's her whole purpose and she's thriving. ✨

Since

2.0.2.1 — she's been around, an elder icon honestly.


📚 Member Function Documentation 📚

💫 void kdk::KBackgroundGroup::addWidget (QWidget * widget)

Adds a widget control. One widget, in you go. 🦋

Parameters

  • widget

💫 void kdk::KBackgroundGroup::addWidgetList (QList< QWidget * > list)

Adds a widget list. Bring the whole squad. 🫶

Parameters

  • list

💫 QPalette::ColorRole kdk::KBackgroundGroup::backgroundRole () const

Returns the background colour.

Returns

(it's empty in the original, bestie — just Returns and nothing else, iconic honestly 🙈)

💫 int kdk::KBackgroundGroup::borderRadius ()

Returns the corner radius of the KBackgroundGroup.

Returns

(again, just Returns, no value listed. She's mysterious like that. 💀)

💫 void kdk::KBackgroundGroup::insertWidgetAt (int index, QWidget * widget)

Inserts a widget at the position you specify.

Parameters

  • index
  • widget

💫 void kdk::KBackgroundGroup::insertWidgetList (int index, QList< QWidget * > list)

Inserts a widget list at the position you specify.

Parameters

  • index
  • list

💫 void kdk::KBackgroundGroup::removeWidget (QWidget * widget)

Removes a widget. It's giving "you're out of the group chat". 😭

Parameters

  • widget

💫 void kdk::KBackgroundGroup::removeWidgetAt (int i)

Removes the widget at the index you specify.

Parameters

  • i

💫 void kdk::KBackgroundGroup::removeWidgetList (QList< QWidget * > list)

Removes a widget list. Everyone out, all at once. 🌸

Parameters

  • list

💫 void kdk::KBackgroundGroup::setBackgroundRole (QPalette::ColorRole role)

Sets the background colour.

Parameters

  • role

💫 void kdk::KBackgroundGroup::setBorderRadius (int radius)

Sets the corner radius of the KBackgroundGroup. Rounded corners, main character energy. 💅

Parameters

  • radius

💫 void kdk::KBackgroundGroup::setBorderVisible (bool flag)

Sets whether the border is visible.

Parameters

  • flag

Since

3.0.1.0 — a newer addition, she arrived later and ate. 🔥

💫 void kdk::KBackgroundGroup::setStateEnable (QWidget * widget, bool flag)

Sets whether the window/form can respond to the three states (三态).

Parameters

  • flag
  • widget
ngl the parameter order listed here is flag then widget, and the function signature is (QWidget * widget, bool flag). Not my business, just telling you what the page says, fr fr. 👀

💫 QList< QWidget * > kdk::KBackgroundGroup::widgetList ()

Returns the widget list.

Returns

(yet again just Returns, no description. A woman of few words. 🧚)


🎀 Author 🎀

Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. She didn't write her own bio, the robot did. 💖


and that's the page, bestie! 🌟 this came from LIBKYSDK-APPLICATIONS, Version version:3.0, and it's page kdk::KBackgroundGroup(3). That's a wrap, mwah 💜✨

📦 where this page comes from