kdk::KMiniCalendarItem(3)

πŸ“¦ version 3.0.1.2, in arch rolling, ubuntu resolute, ubuntu stonking

πŸ’– 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 which SelectType we're vibing with
  • void setDate (const QDate &date) β€” drops in the date πŸ“…
  • void setLunar (const QString &lunar) β€” drops in the lunar info
  • void setDayType (const DayType &dayType) β€” drops in the day type
  • void 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/off
  • void setBorderColor (const QColor &borderColor) β€” sets the border color 🎨
  • void setWeekColor (const QColor &weekColor) β€” sets the week color
  • void setSuperColor (const QColor &superColor) β€” sets the corner-badge color
  • void setLunarColor (const QColor &lunarColor) β€” sets the lunar-festival color
  • void setCurrentTextColor (const QColor &currentTextColor) β€” text color for the current month
  • void setOtherTextColor (const QColor &otherTextColor) β€” text color for other months
  • void setSelectTextColor (const QColor &selectTextColor) β€” text color when the date is selected
  • void setHoverTextColor (const QColor &hoverTextColor) β€” text color when you hover the date
  • void setCurrentLunarColor (const QColor &currentLunarColor) β€” lunar text color, current month
  • void setOtherLunarColor (const QColor &otherLunarColor) β€” lunar text color, other months
  • void setSelectLunarColor (const QColor &selectLunarColor) β€” lunar text color, selected date
  • void setHoverLunarColor (const QColor &hoverLunarColor) β€” lunar text color, hovered date
  • void setCurrentBgColor (const QColor &currentBgColor) β€” background color, current month
  • void setOtherBgColor (const QColor &otherBgColor) β€” background color, other months
  • void setSelectBgColor (const QColor &selectBgColor) β€” background color, selected date
  • void 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 the date and the dayType with her πŸ”₯

πŸŽ€ Public Member Functions πŸŽ€

  • KMiniCalendarItem (QWidget *parent=0) β€” the constructor, parent defaults to 0 🍼
  • bool getSelect () const β€” θŽ·ε–ζ˜―ε¦ι€‰δΈ­ β€” grab whether it's selected βœ…
  • bool getShowLunar () const β€” θŽ·ε–ζ˜―ε¦ζ˜Ύη€Ίε†œεŽ† β€” grab whether lunar is shown πŸŒ™
  • bool getEnableBorder () const β€” θŽ·ε–ε―η”¨θΎΉη•Œ β€” grab whether the border is enabled
  • SelectType getSelectType () const β€” θŽ·ε–ι€‰ζ‹©η±»εž‹ β€” grab the select type
  • QDate getDate () const β€” θŽ·ε–ε½“ε‰ζ—₯期 β€” grab the current date πŸ“…
  • QString getLunar () const β€” θŽ·ε–ε†œεŽ†δΏ‘ζ― β€” grab the lunar info
  • DayType getDayType () const β€” θŽ·ε–ζ—₯ζœŸη±»εž‹ β€” grab the day type
  • QColor getBorderColor () const β€” θŽ·ε–θΎΉζ‘†ι’œθ‰² β€” grab the border color 🎨
  • QColor getWeekColor () const β€” θŽ·ε–ε‘¨ι’œθ‰² β€” grab the week color
  • QColor getSuperColor () const β€” θŽ·ε–θ§’ζ ‡ι’œθ‰² β€” grab the corner-badge color
  • QColor getLunarColor () const β€” θŽ·ε–ε†œεŽ†θŠ‚ζ—₯ι’œθ‰² β€” grab the lunar-festival color
  • QColor getCurrentTextColor () const β€” θŽ·ε–ε½“ε‰ζœˆζ–‡ε­—ι’œθ‰² β€” grab the current-month text color
  • QColor getOtherTextColor () const β€” θŽ·ε–ε…Άδ»–ζœˆζ–‡ε­—ι’œθ‰² β€” grab the other-months text color
  • QColor getSelectTextColor () const β€” θŽ·ε–ι€‰δΈ­ζ—₯ζœŸζ–‡ε­—ι’œθ‰² β€” grab the selected-date text color
  • QColor getHoverTextColor () const β€” θŽ·ε–ζ‚¬εœζ—₯ζœŸζ–‡ε­—ι’œθ‰² β€” grab the hovered-date text color
  • QColor getCurrentLunarColor () const β€” θŽ·ε–ε½“ε‰ζœˆε†œεŽ†ζ–‡ε­—ι’œθ‰² β€” grab the current-month lunar text color
  • QColor getOtherLunarColor () const β€” θŽ·ε–ε…Άδ»–ζœˆε†œεŽ†ζ–‡ε­—ι’œθ‰² β€” grab the other-months lunar text color
  • QColor getSelectLunarColor () const β€” θŽ·ε–ι€‰δΈ­ζ—₯ζœŸε†œεŽ†ζ–‡ε­—ι’œθ‰² β€” grab the selected-date lunar text color
  • QColor getHoverLunarColor () const β€” θŽ·ε–ζ‚¬εœζ—₯ζœŸε†œεŽ†ζ–‡ε­—ι’œθ‰² β€” grab the hovered-date lunar text color
  • QColor getCurrentBgColor () const β€” θŽ·ε–ε½“ε‰ζœˆθƒŒζ™―ι’œθ‰² β€” grab the current-month background color
  • QColor getOtherBgColor () const β€” θŽ·ε–ε…Άδ»–ζœˆθƒŒζ™―ι’œθ‰² β€” grab the other-months background color
  • QColor getSelectBgColor () const β€” θŽ·ε–ι€‰δΈ­ζ—₯ζœŸθƒŒζ™―ι’œθ‰² β€” grab the selected-date background color
  • QColor getHoverBgColor () const β€” θŽ·ε–ζ‚¬εœζ—₯ζœŸθƒŒζ™―ι’œθ‰² β€” grab the hovered-date background color
  • QSize 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 select
  • bool showLunar
  • bool enableBorder
  • SelectType selectType
  • QDate date
  • QString lunar
  • DayType dayType
  • QColor borderColor
  • QColor weekColor
  • QColor superColor
  • QColor lunarColor
  • QColor currentTextColor
  • QColor otherTextColor
  • QColor selectTextColor
  • QColor hoverTextColor
  • QColor currentLunarColor
  • QColor otherLunarColor
  • QColor selectLunarColor
  • QColor hoverLunarColor
  • QColor currentBgColor
  • QColor otherBgColor
  • QColor selectBgColor
  • QColor 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