KDK_KMINICALENDARWIDGET(3)
๐ NAME ๐
kdk::KMiniCalendarWidget โ that's the whole name, bestie, and honestly? She ate ๐
This page lives in the Library Functions Manual, section 3 โ so if you were looking for the C library stuff, you're in the right neighborhood, just a different house ๐ โจ
โจ SYNOPSIS โจ
Inherits QWidget. So yeah, she's a widget, she's got a whole parent-child thing going on, very family-oriented ๐ซถ
๐ Public Types ๐
enum CalendarStyle { CalendarStyle_Red = 0 }
enum WeekNameFormat { WeekNameFormat_Short = 0, WeekNameFormat_Normal = 1, WeekNameFormat_Long = 2, WeekNameFormat_En = 3 }
enum SelectType { SelectType_Rect = 0, SelectType_Circle = 1, SelectType_Triangle = 2, SelectType_Image = 3 }
okay so three enums, and I need you to look at them properly because the numbers matter fr fr:
CalendarStyleโ exactly one vibe in here:CalendarStyle_Red = 0. That's it. That's the whole menu. Red era only ๐ดWeekNameFormatโ four options, numbered:WeekNameFormat_Short = 0,WeekNameFormat_Normal = 1,WeekNameFormat_Long = 2,WeekNameFormat_En = 3SelectTypeโ four options again:SelectType_Rect = 0,SelectType_Circle = 1,SelectType_Triangle = 2,SelectType_Image = 3
๐ธ Public Slots ๐ธ
Twenty-six of them. Not twenty-five. Not twenty-seven. Twenty-six and I counted twice ๐
void showPreviousMonth ()โ hop back a month, go girlvoid showNextMonth ()โ forward a month, main character energyvoid showToday ()โ take me home to today ๐กvoid setCalendarStyle (const CalendarStyle &calendarStyle)โ set the overall stylevoid setWeekNameFormat (const WeekNameFormat &weekNameFormat)โ set the weekday name formatvoid setDate (const QDate &date)โ set the datevoid setWeekTextColor (const QColor &weekTextColor)โ set the week text colorvoid setWeekBgColor (const QColor &weekBgColor)โ set the weekend-name background colorvoid setShowLunar (bool showLunar)โ set the lunar display on/off ๐void setEnableBorder (bool bVisible)โ enable (or not) the border. Note the param is literally namedbVisible, keep it exact bestievoid setSelectType (const SelectType &selectType)โ set the selection stylevoid setBorderColor (const QColor &borderColor)โ border color, govoid setWeekColor (const QColor &weekColor)โ weekend colorvoid setLunarColor (const QColor &lunarColor)โ lunar festival colorvoid setCurrentTextColor (const QColor ¤tTextColor)โ current month text colorvoid setOtherTextColor (const QColor &otherTextColor)โ other month text colorvoid setSelectTextColor (const QColor &selectTextColor)โ selected date text colorvoid setHoverTextColor (const QColor &hoverTextColor)โ hovered date text colorvoid setCurrentLunarColor (const QColor ¤tLunarColor)โ current month lunar text colorvoid setOtherLunarColor (const QColor &otherLunarColor)โ other month lunar text colorvoid setSelectLunarColor (const QColor &selectLunarColor)โ selected date lunar text colorvoid setHoverLunarColor (const QColor &hoverLunarColor)โ hovered date lunar text colorvoid setCurrentBgColor (const QColor ¤tBgColor)โ current month background colorvoid setOtherBgColor (const QColor &otherBgColor)โ other month background colorvoid setSelectBgColor (const QColor &selectBgColor)โ selected date background colorvoid setHoverBgColor (const QColor &hoverBgColor)โ hovered date background color
it's giving "customize literally every single pixel" and honestly? we love a thorough queen ๐
๐ฆ Signals ๐ฆ
void clicked (const QDate &date)โ a signal carrying aQDatevoid selectionChanged ()โ a signal, no args
๐ Public Member Functions ๐
KMiniCalendarWidget (QWidget *parent=0)โ the constructor, and yes,parent=0is the default, that's not a typo, that's what she wroteCalendarStyle getCalendarStyle () constโ ่ทๅๆดไฝๆ ทๅผ (grab the overall style)WeekNameFormat getWeekNameFormat () constโ ่ทๅๆๆๅ็งฐๆ ผๅผ (grab the weekday name format)QDate getDate () constโ ่ทๅๅฝๅๆฅๆ (grab the current date)QColor getWeekTextColor () constโ ่ทๅๆๆๆๆฌ้ข่ฒ (grab the week text color)QColor getWeekBgColor () constโ ่ทๅๅจๆซๅ็งฐ่ๆฏ่ฒ (grab the weekend-name background color)bool getShowLunar () constโ ่ทๅๅๅๆพ็คบ (grab the lunar display setting)bool getEnableBorder () constโ ่ทๅๅฏ็จ่พนๆก (grab whether the border is enabled)SelectType getSelectType () constโ ่ทๅ้ๆฉ็ฑปๅ (grab the select type)QColor getBorderColor () constโ ่ทๅ่พนๆก้ข่ฒ (grab the border color)QColor getWeekColor () constโ ่ทๅๅจๆซ้ข่ฒ (grab the weekend color)QColor getLunarColor () constโ ่ทๅๅๅ่ๆฅ้ข่ฒ (grab the lunar festival color)QColor getCurrentTextColor () constโ ่ทๅๅฝๅๆๆๆฌ้ข่ฒ (grab the current month text color)QColor getOtherTextColor () constโ ่ทๅๅ ถไปๆๆๆฌ้ข่ฒ (grab the other month 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 month lunar text color)QColor getSelectLunarColor () constโ ่ทๅ้ไธญๆฅๆๅๅ้ขๆๆฌ่ฒ (grab the selected date lunar text color โ yes, the original says ้ขๆๆฌ่ฒ, I am NOT touching it, verbatim forever)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 month background color)QColor getSelectBgColor () constโ ่ทๅ้ๆฉๆฅๆ่ๆฏ่ฒ (grab the selected date background color)QColor getHoverBgColor () constโ ่ทๅๆฌๆตฎๆฅๆ่ๆฏ่ฒ (grab the hovered date background color)QSize sizeHint () constโ the size hint ๐QSize minimumSizeHint () constโ the minimum size hint ๐
๐ง Protected Member Functions ๐ง
void wheelEvent (QWheelEvent *event) overrideโ she overrides the wheel event, okay?? scroll responsiblyvoid paintEvent (QPaintEvent *event) overrideโ and she overrides the paint event too. Artist behavior, no cap ๐จ
๐ Properties ๐
Every single one, in order, don't blink:
CalendarStyle calendarStyleWeekNameFormat weekNameFormatQDate dateQColor weekTextColorQColor weekBgColorbool showLunarbool enableBorderSelectType selectTypeQColor borderColorQColor weekColorQColor lunarColorQColor currentTextColorQColor otherTextColorQColor selectTextColorQColor hoverTextColorQColor currentLunarColorQColor otherLunarColorQColor selectLunarColorQColor hoverLunarColorQColor currentBgColorQColor otherBgColorQColor selectBgColorQColor hoverBgColor
twenty-three properties. she is not minimal and I respect it ๐
๐ Member Function Documentation ๐
okay bestie, this part is alphabetical by function name, and every single entry has the same shape: a one-line Chinese description, then Returns. That's it. That's the whole documentation. Not me making it up โ I would never ๐ฅ
๐ QColor kdk::KMiniCalendarWidget::getBorderColor () const
่ทๅ่พนๆก้ข่ฒ โ grab the border color.
Returns
๐ CalendarStyle kdk::KMiniCalendarWidget::getCalendarStyle () const
่ทๅๆดไฝๆ ทๅผ โ grab the overall style.
Returns
๐ QColor kdk::KMiniCalendarWidget::getCurrentBgColor () const
่ทๅๅฝๅๆ่ๆฏ่ฒ โ grab the current month background color.
Returns
๐ QColor kdk::KMiniCalendarWidget::getCurrentLunarColor () const
่ทๅๅฝๅๆๅๅๆๅญ้ข่ฒ โ grab the current month lunar text color.
Returns
๐ QColor kdk::KMiniCalendarWidget::getCurrentTextColor () const
่ทๅๅฝๅๆๆๆฌ้ข่ฒ โ grab the current month text color.
Returns
๐ QDate kdk::KMiniCalendarWidget::getDate () const
่ทๅๅฝๅๆฅๆ โ grab the current date.
Returns
๐ bool kdk::KMiniCalendarWidget::getEnableBorder () const
่ทๅๅฏ็จ่พนๆก โ grab the border-enabled setting.
Returns
๐ QColor kdk::KMiniCalendarWidget::getHoverBgColor () const
่ทๅๆฌๆตฎๆฅๆ่ๆฏ่ฒ โ grab the hovered date background color.
Returns
๐ QColor kdk::KMiniCalendarWidget::getHoverLunarColor () const
่ทๅๆฌๆตฎๆฅๆๅๅๆๆฌ้ข่ฒ โ grab the hovered date lunar text color.
Returns
๐ QColor kdk::KMiniCalendarWidget::getHoverTextColor () const
่ทๅๆฌๆตฎๆฅๆๆๆฌ้ข่ฒ โ grab the hovered date text color.
Returns
๐ QColor kdk::KMiniCalendarWidget::getLunarColor () const
่ทๅๅๅ่ๆฅ้ข่ฒ โ grab the lunar festival color.
Returns
๐ QColor kdk::KMiniCalendarWidget::getOtherBgColor () const
่ทๅๅ ถไปๆ่ๆฏ่ฒ โ grab the other month background color.
Returns
๐ QColor kdk::KMiniCalendarWidget::getOtherLunarColor () const
่ทๅๅ ถไปๆๅๅๆๆฌ้ข่ฒ โ grab the other month lunar text color.
Returns
๐ QColor kdk::KMiniCalendarWidget::getOtherTextColor () const
่ทๅๅ ถไปๆๆๆฌ้ข่ฒ โ grab the other month text color.
Returns
๐ QColor kdk::KMiniCalendarWidget::getSelectBgColor () const
่ทๅ้ๆฉๆฅๆ่ๆฏ่ฒ โ grab the selected date background color.
Returns
๐ QColor kdk::KMiniCalendarWidget::getSelectLunarColor () const
่ทๅ้ไธญๆฅๆๅๅ้ขๆๆฌ่ฒ โ grab the selected date lunar text color. (again: ้ขๆๆฌ่ฒ, exactly as written, I will not be correcting the original, that's not my job ๐)
Returns
๐ QColor kdk::KMiniCalendarWidget::getSelectTextColor () const
่ทๅ้ไธญๆฅๆๆๆฌ้ข่ฒ โ grab the selected date text color.
Returns
๐ SelectType kdk::KMiniCalendarWidget::getSelectType () const
่ทๅ้ๆฉ็ฑปๅ โ grab the select type.
Returns
๐ bool kdk::KMiniCalendarWidget::getShowLunar () const
่ทๅๅๅๆพ็คบ โ grab the lunar display setting.
Returns
๐ QColor kdk::KMiniCalendarWidget::getWeekBgColor () const
่ทๅๅจๆซๅ็งฐ่ๆฏ่ฒ โ grab the weekend-name background color.
Returns
๐ QColor kdk::KMiniCalendarWidget::getWeekColor () const
่ทๅๅจๆซ้ข่ฒ โ grab the weekend color.
Returns
๐ WeekNameFormat kdk::KMiniCalendarWidget::getWeekNameFormat () const
่ทๅๆๆๅ็งฐๆ ผๅผ โ grab the weekday name format.
Returns
๐ QColor kdk::KMiniCalendarWidget::getWeekTextColor () const
่ทๅๆๆๆๆฌ้ข่ฒ โ grab the week text color.
Returns
๐ Author ๐
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. Doxygen wrote this, not a human, and honestly Doxygen is out here doing the absolute most ๐ญ
<div style="text-align:center">
and that's the whole page bestie!! ๐ซถโจ
This was LIBKYSDK-APPLICATIONS, Version version:3.0, and if you ever need to find kdk::KMiniCalendarWidget(3) again, you know exactly where she lives ๐
love u, go read a man page, mwah ๐๐ฆ
</div>
๐ฆ 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