kdk::KMiniCalendarItem(3)
π NAME π
kdk::KMiniCalendarItem β okay so bestie, this is the C++ class behind one single day cell in a mini calendar widget, and the way it's carrying this much API for one lil square? It's giving main character energy fr fr. ποΈβ¨ She lives in LIBKYSDK-APPLICATIONS, and if you went looking for her manual you found the right one β this is kdk::KMiniCalendarItem(3), section 3, Library Functions Manual. You're home π«Ά
β¨ SYNOPSIS β¨
Inherits QWidget. That's the whole family tree, she's a widget and she owns it π
π Public Types π
Two enums, both starting at 0 because we respect a zero-indexed queen π
enum DayType { DayType_MonthPre = 0, DayType_MonthNext = 1, DayType_MonthCurrent = 2, DayType_WeekEnd = 3 }
enum SelectType { SelectType_Rect = 0, SelectType_Circle = 1, SelectType_Triangle = 2, SelectType_Image = 3 }
π Public Slots π
These are the setters, bestie β 24 of them, no skips, we're doing all of them πΈ
void setSelect (bool select)β the setter side of the "is it selected?" question πvoid setShowLunar (bool showLunar)β toggles whether the lunar info shows up πvoid setSelectType (const SelectType &selectType)β picks whichSelectTypewe're vibing withvoid setDate (const QDate &date)β drops in the date πvoid setLunar (const QString &lunar)β drops in the lunar infovoid setDayType (const DayType &dayType)β drops in the day typevoid setDate (const QDate &date, const QString &lunar, const DayType &dayType)β the overload that does date + lunar + day type all at once, efficient queen β¨void setEnableBorder (bool bVisible)β turns the border on/offvoid setBorderColor (const QColor &borderColor)β sets the border color π¨void setWeekColor (const QColor &weekColor)β sets the week colorvoid setSuperColor (const QColor &superColor)β sets the corner-badge colorvoid setLunarColor (const QColor &lunarColor)β sets the lunar-festival colorvoid setCurrentTextColor (const QColor ¤tTextColor)β text color for the current monthvoid setOtherTextColor (const QColor &otherTextColor)β text color for other monthsvoid setSelectTextColor (const QColor &selectTextColor)β text color when the date is selectedvoid setHoverTextColor (const QColor &hoverTextColor)β text color when you hover the datevoid setCurrentLunarColor (const QColor ¤tLunarColor)β lunar text color, current monthvoid setOtherLunarColor (const QColor &otherLunarColor)β lunar text color, other monthsvoid setSelectLunarColor (const QColor &selectLunarColor)β lunar text color, selected datevoid setHoverLunarColor (const QColor &hoverLunarColor)β lunar text color, hovered datevoid setCurrentBgColor (const QColor ¤tBgColor)β background color, current monthvoid setOtherBgColor (const QColor &otherBgColor)β background color, other monthsvoid setSelectBgColor (const QColor &selectBgColor)β background color, selected datevoid setHoverBgColor (const QColor &hoverBgColor)β background color, hovered date
π Signals π
void clicked (const QDate &date, const KMiniCalendarItem::DayType &dayType)β she yells when you click, and she brings thedateand thedayTypewith her π₯
π Public Member Functions π
KMiniCalendarItem (QWidget *parent=0)β the constructor,parentdefaults to0πΌbool getSelect () constβ θ·εζ―ε¦ιδΈ β grab whether it's selected βbool getShowLunar () constβ θ·εζ―ε¦ζΎη€Ίεε β grab whether lunar is shown πbool getEnableBorder () constβ θ·εε―η¨θΎΉη β grab whether the border is enabledSelectType getSelectType () constβ θ·ειζ©η±»ε β grab the select typeQDate getDate () constβ θ·εε½εζ₯ζ β grab the current date πQString getLunar () constβ θ·εεεδΏ‘ζ― β grab the lunar infoDayType getDayType () constβ θ·εζ₯ζη±»ε β grab the day typeQColor getBorderColor () constβ θ·εθΎΉζ‘ι’θ² β grab the border color π¨QColor getWeekColor () constβ θ·εε¨ι’θ² β grab the week colorQColor getSuperColor () constβ θ·εθ§ζ ι’θ² β grab the corner-badge colorQColor getLunarColor () constβ θ·εεεθζ₯ι’θ² β grab the lunar-festival colorQColor getCurrentTextColor () constβ θ·εε½εζζει’θ² β grab the current-month text colorQColor getOtherTextColor () constβ θ·εε Άδ»ζζει’θ² β grab the other-months text colorQColor getSelectTextColor () constβ θ·ειδΈζ₯ζζει’θ² β grab the selected-date text colorQColor getHoverTextColor () constβ θ·εζ¬εζ₯ζζει’θ² β grab the hovered-date text colorQColor getCurrentLunarColor () constβ θ·εε½εζεεζει’θ² β grab the current-month lunar text colorQColor getOtherLunarColor () constβ θ·εε Άδ»ζεεζει’θ² β grab the other-months lunar text colorQColor getSelectLunarColor () constβ θ·ειδΈζ₯ζεεζει’θ² β grab the selected-date lunar text colorQColor getHoverLunarColor () constβ θ·εζ¬εζ₯ζεεζει’θ² β grab the hovered-date lunar text colorQColor getCurrentBgColor () constβ θ·εε½εζθζ―ι’θ² β grab the current-month background colorQColor getOtherBgColor () constβ θ·εε Άδ»ζθζ―ι’θ² β grab the other-months background colorQColor getSelectBgColor () constβ θ·ειδΈζ₯ζθζ―ι’θ² β grab the selected-date background colorQColor getHoverBgColor () constβ θ·εζ¬εζ₯ζθζ―ι’θ² β grab the hovered-date background colorQSize sizeHint () constβ her ideal size, respectfully πQSize minimumSizeHint () constβ the smallest size she'll tolerate, also respectfully π
π Protected Member Functions π
The internals, protected β so they're the backstage area, not the main stage π
void enterEvent (QEvent *)void leaveEvent (QEvent *)void mousePressEvent (QMouseEvent *)void mouseReleaseEvent (QMouseEvent *)void paintEvent (QPaintEvent *)void drawBg (QPainter *painter)void drawBgCurrent (QPainter *painter, const QColor &color)void drawDay (QPainter *painter)void drawLunar (QPainter *painter)
π Properties π
All 23 of them, in order, no cap π
bool selectbool showLunarbool enableBorderSelectType selectTypeQDate dateQString lunarDayType dayTypeQColor borderColorQColor weekColorQColor superColorQColor lunarColorQColor currentTextColorQColor otherTextColorQColor selectTextColorQColor hoverTextColorQColor currentLunarColorQColor otherLunarColorQColor selectLunarColorQColor hoverLunarColorQColor currentBgColorQColor otherBgColorQColor selectBgColorQColor hoverBgColor
π Member Function Documentation π
Okay so here's the thing bestie β every single one of these has a Returns section and every single one of them is empty. Not me getting emotional over a blank doc block π I'm keeping them all exactly as they are because we do not skip entries in this house.
QColor kdk::KMiniCalendarItem::getBorderColor () const
θ·εθΎΉζ‘ι’θ² β grab the border color π¨
Returns: (empty in the docs, bestie β I refuse to make something up π)
QColor kdk::KMiniCalendarItem::getCurrentBgColor () const
θ·εε½εζθζ―ι’θ² β grab the current-month background color
Returns: (blank β¨)
QColor kdk::KMiniCalendarItem::getCurrentLunarColor () const
θ·εε½εζεεζει’θ² β grab the current-month lunar text color
Returns: (blank β¨)
QColor kdk::KMiniCalendarItem::getCurrentTextColor () const
θ·εε½εζζει’θ² β grab the current-month text color
Returns: (blank β¨)
QDate kdk::KMiniCalendarItem::getDate () const
θ·εε½εζ₯ζ β grab the current date π
Returns: (blank β¨)
DayType kdk::KMiniCalendarItem::getDayType () const
θ·εζ₯ζη±»ε β grab the day type
Returns: (blank β¨)
bool kdk::KMiniCalendarItem::getEnableBorder () const
θ·εε―η¨θΎΉη β grab whether the border is enabled
Returns: (blank β¨)
QColor kdk::KMiniCalendarItem::getHoverBgColor () const
θ·εζ¬εζ₯ζθζ―ι’θ² β grab the hovered-date background color
Returns: (blank β¨)
QColor kdk::KMiniCalendarItem::getHoverLunarColor () const
θ·εζ¬εζ₯ζεεζει’θ² β grab the hovered-date lunar text color
Returns: (blank β¨)
QColor kdk::KMiniCalendarItem::getHoverTextColor () const
θ·εζ¬εζ₯ζζει’θ² β grab the hovered-date text color
Returns: (blank β¨)
QString kdk::KMiniCalendarItem::getLunar () const
θ·εεεδΏ‘ζ― β grab the lunar info π
Returns: (blank β¨)
QColor kdk::KMiniCalendarItem::getLunarColor () const
θ·εεεθζ₯ι’θ² β grab the lunar-festival color
Returns: (blank β¨)
QColor kdk::KMiniCalendarItem::getOtherBgColor () const
θ·εε Άδ»ζθζ―ι’θ² β grab the other-months background color
Returns: (blank β¨)
QColor kdk::KMiniCalendarItem::getOtherLunarColor () const
θ·εε Άδ»ζεεζει’θ² β grab the other-months lunar text color
Returns: (blank β¨)
QColor kdk::KMiniCalendarItem::getOtherTextColor () const
θ·εε Άδ»ζζει’θ² β grab the other-months text color
Returns: (blank β¨)
bool kdk::KMiniCalendarItem::getSelect () const
θ·εζ―ε¦ιδΈ β grab whether it's selected β
Returns: (blank β¨)
QColor kdk::KMiniCalendarItem::getSelectBgColor () const
θ·ειδΈζ₯ζθζ―ι’θ² β grab the selected-date background color
Returns: (blank β¨)
QColor kdk::KMiniCalendarItem::getSelectLunarColor () const
θ·ειδΈζ₯ζεεζει’θ² β grab the selected-date lunar text color
Returns: (blank β¨)
QColor kdk::KMiniCalendarItem::getSelectTextColor () const
θ·ειδΈζ₯ζζει’θ² β grab the selected-date text color
Returns: (blank β¨)
SelectType kdk::KMiniCalendarItem::getSelectType () const
θ·ειζ©η±»ε β grab the select type
Returns: (blank β¨)
bool kdk::KMiniCalendarItem::getShowLunar () const
θ·εζ―ε¦ζΎη€Ίεε β grab whether lunar is shown π
Returns: (blank β¨)
QColor kdk::KMiniCalendarItem::getSuperColor () const
θ·εθ§ζ ι’θ² β grab the corner-badge color
Returns: (blank β¨)
QColor kdk::KMiniCalendarItem::getWeekColor () const
θ·εε¨ι’θ² β grab the week color
Returns: (blank β¨)
π Author π
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. So like, a robot wrote this and I'm just here to make it cute, which honestly is the most Gen Z career path imaginable π€π
okay that's the whole page bestie, we got there, we read every single line, nobody skipped anything, periodt π
This was brought to you by LIBKYSDK-APPLICATIONS, Version version:3.0, for the one and only kdk::KMiniCalendarItem(3) β mwah, take care of her π«Άπ
π¦ 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