kdk::KTabBar(3)

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

✨ kdk::KTabBar ✨

okay so this one's from the Library Functions Manual, section 3 — that's the section for library functions, if you were wondering — and she's a whole queen. welcome to her page. 🎀


🌸 NAME 🌸

kdk::KTabBar — she supports three styles. three of them. that's the entire personality statement and honestly? iconic. 💅


🦋 SYNOPSIS 🦋

#include <ktabbar.h>

and the plot twist: she Inherits QTabBar. yeah. she's a QTabBar girlie at heart, just with extra main character energy layered on top. periodt. 💖

🫶 Signals

  • void rightlicked (QPoint point) — bestie this is the mouse right-button signal. yes, it is literally spelled rightlicked (one c missing, she's quirky like that, do not "fix" it, it's canon). the point comes through as a QPoint named point. 🔥

💜 Public Member Functions

  • KTabBar (KTabBarStyle barStyle=SegmentLight, QWidget *parent=nullptr) — the constructor, obviously. she defaults to barStyle=SegmentLight and parent=nullptr, so if you just roll up with nothing you get the light segment look and no parent. no cap.
  • void setTabBarStyle (KTabBarStyle barStyle) — sets the TabBar style. that's it, that's the job. slay. ✨
  • KTabBarStyle barStyle () — hands you back the TabBar style. the getter to the setter. they're a matched set, they're soulmates. 🥺
  • void setBorderRadius (int radius) — sets the corner radius (radius, an int). heads up bestie: this only does anything for the SegmentDark and SegmentLight styles. other styles? she simply will not hear you. 🙈
  • int borderRadius () — gets the corner radius back, as an int.
  • void setBackgroundColor (const QColor &color) — sets the background color, and yes she wants it as a const QColor & reference. fancy. 💅

🛡️ Protected Member Functions

these are the protected ones, so they're for her and her subclasses only — the VIP section. she didn't leave notes on what they do, she's mysterious like that:

  • QSize sizeHint () const
  • QSize minimumTabSizeHint (int index) const
  • QSize tabSizeHint (int index) const
  • void paintEvent (QPaintEvent *event)

🌈 Detailed Description

she supports three styles. yes, again. the description said it, the name said it, and now we're saying it a third time because it's that important. 🦋

Since — 1.0.0. she's been here since day one, a founding member, an original. 👑


👑 Author

generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. not a human, just vibes and a doc generator doing its little thing. 🤖💖


and that's the whole page, bestie!! 🫶 this was LIBKYSDK-APPLICATIONS, Version version:3.0, brought to you with love and zero sleep — mwah, go build something cute with her. 💖✨🎀

📦 where this page comes from