kdk::KTableHeaderView(3)
๐ kdk::KTableHeaderView ๐
okay bestie, gather round, because today we're talking about kdk::KTableHeaderView from the kdk crew โ it's a header view, it's in the Library Functions Manual, and it is literally the glow-up your table headers have been waiting for. she Inherits QHeaderView, so she came in with good genes, and she's out here painting, clicking, and checking states like a whole main character. periodt. ๐
โจ SYNOPSIS โจ
no cap, here's the whole vibe at a glance:
Inherits QHeaderView.
๐ธ Public Slots ๐ธ
void checkStateChangeSlot (int iState)โ the slot that catches a state change. yes she takes anint iState. she's ready. ๐
๐ฅ Signals ๐ฅ
void checkStateChange (int state)โ fires when the check state changes, and it's bringing thatint statewith it.void clickedHeader (int column)โ fires when you click a header. tells you whichint columngot clicked. iconic behaviour, honestly.
๐ซถ Public Member Functions ๐ซถ
KTableHeaderView (Qt::Orientation orientation, QWidget *parent=nullptr)โ KTableHeaderView ๆ้ ๅฝๆฐ (that's the constructor, babe ๐)void setTitle (QStringList list)โ ่ฎพ็ฝฎๆฐดๅนณๆ ้ข (sets the horizontal titles โจ)void setMenu (QMenu *menu, int column)โ ่ฎพ็ฝฎmenu (sets the menu ๐)
๐ง Protected Member Functions ๐ง
these ones are for the inner circle only, bestie โ protected, so the class itself (or its subclasses) gets to run them:
void paintSection (QPainter *painter, const QRect &rect, int logicalIndex) constvoid mousePressEvent (QMouseEvent *e)void mouseReleaseEvent (QMouseEvent *e)bool event (QEvent *e)
๐ Constructor & Destructor Documentation ๐
๐ kdk::KTableHeaderView::KTableHeaderView (Qt::Orientation orientation, QWidget * parent = nullptr)
KTableHeaderView ๆ้ ๅฝๆฐ โ yep, it's the constructor, and she takes two things:
Parameters
- orientation โ ๆนๅ (the orientation, like which way the header goes ๐ฆ)
- parent โ ็ถ็ฑปๅฏน่ฑก (the parent object ๐)
๐ซ Member Function Documentation ๐ซ
๐ void kdk::KTableHeaderView::setMenu (QMenu * menu, int column)
่ฎพ็ฝฎmenu โ give it a menu, and tell it which column that menu belongs to. simple as.
Parameters
- menu
- column
โญ void kdk::KTableHeaderView::setTitle (QStringList list)
่ฎพ็ฝฎๆฐดๅนณๆ ้ข โ feed it a QStringList and boom, horizontal titles are set. the way that she just takes a QStringList and does the thing? obsessed. ๐ญ
Parameters
- list
๐ Author ๐
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. (yes girl, a robot wrote this and she ATE ๐ซถโจ)
and that's the whole page, bestie โ sending you off with the official receipts: this is from LIBKYSDK-APPLICATIONS, Version version:3.0, filed under kdk::KTableHeaderView(3). go forth and slay your table headers. ๐๐๐ฆ
๐ฆ 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