FormModule(3)
π NAME π
okay bestie, welcome to FormModule(3) β the manual page for FormModule, living inside the LIBKYSDK-APPLICATIONS manual. it's giving window-chrome royalty, fr fr π
β¨ SYNOPSIS β¨
π Classes
class kdk::KWidgetβ inherits fromQWidget. it supports responding to theme background switching π, icon theme switching, and title color that reacts to the window's active state. the content area is split into asidearea and abasearea. main character energy tbh.
π¦ Functions
kdk::KWidget::KWidget (QWidget *parent=nullptr)void kdk::KWidget::setIcon (const QIcon &icon)β sets the window iconvoid kdk::KWidget::setIcon (const QString &iconName)β sets the window iconvoid kdk::KWidget::setWidgetName (const QString &widgetName)β sets the widget nameQWidget * kdk::KWidget::sideBar ()β grabs the left sidebar widget; you add your custom content to it viasetlayoutQWidget * kdk::KWidget::baseBar ()β grabs the main content area widget; you add your custom content to it viasetlayoutKWindowButtonBar * kdk::KWidget::windowButtonBar ()β grabs the window's triple-button combo widget, so you can control whether the maximize, minimize and dropdown menu buttons show up; you can also add custom buttonsKIconBar * kdk::KWidget::iconBar ()β grabs the window title + icon combo widget so you can control the related stylesvoid kdk::KWidget::setLayoutType (LayoutType type)β sets the layout structure typevoid kdk::KWidget::setWindowFlags (Qt::WindowFlags type)β sets the window flagsvoid kdk::KWidget::setWindowFlag (Qt::WindowType flag, bool on=true)β sets a window flagvoid kdk::KWidget::setSidebarFollowMode (bool flag)β sets whether the sidebar follows system width changesbool kdk::KWidget::sidebarFollowMode ()β returns whether the sidebar follows system width changesbool kdk::KWidget::eventFilter (QObject *target, QEvent *event) overridevirtual void kdk::KWidget::changeIconStyle ()virtual void kdk::KWidget::changeTheme ()
πΈ Detailed Description πΈ
bestie. not me having to tell you thisβ¦ this section is empty in the original. like, absolutely nothing here. no description, no lore, no tea. moving on π
π₯ Function Documentation π₯
QWidget* kdk::KWidget::baseBar ()
grabs the main content area widget β you add your custom content to it via setlayout.
Returns
returns the main content area widget π«Ά
KIconBar* kdk::KWidget::iconBar ()
grabs the window title + icon combo widget so you can control the related styles.
Returns
returns the window title + icon combo widget β¨
void kdk::KWidget::setIcon (const QIcon & icon)
sets the window icon.
Parameters
icon
void kdk::KWidget::setIcon (const QString & iconName)
sets the window icon.
Parameters
iconNameβ directly names an icon from the system directory, like'kylin-music'π΅
void kdk::KWidget::setSidebarFollowMode (bool flag)
sets whether the sidebar follows system width changes.
Parameters
flag
Since
1.2
void kdk::KWidget::setWidgetName (const QString & widgetName)
sets the widget name.
Parameters
widgetName
void kdk::KWidget::setWindowFlag (Qt::WindowType flag, bool on = true)
sets a window flag.
Parameters
flagon
Since
1.2
void kdk::KWidget::setWindowFlags (Qt::WindowFlags type)
sets the window flags.
Parameters
type
Since
1.2
QWidget* kdk::KWidget::sideBar ()
grabs the left sidebar widget β you add your custom content to it via setlayout.
Returns
returns the left sidebar widget π
bool kdk::KWidget::sidebarFollowMode ()
returns whether the sidebar follows system width changes.
Returns
(yeah bestie, the original leaves this one blank β no text, no cap π)
Since
1.2
KWindowButtonBar* kdk::KWidget::windowButtonBar ()
grabs the window's triple-button combo widget, so you can control whether the maximize, minimize and dropdown menu buttons show up; you can also add custom buttons.
Returns
returns the window's triple-button combo widget π
π§ Author π§
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. slay, Doxygen, you ate π
and that's the whole page, bestie!! ππ¦ this was version version:2.3, dated Thu Oct 12 2023, and it lives in the FormModule(3) corner of the LIBKYSDK-APPLICATIONS manual. periodt. go build something iconic πβ¨
π¦ 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