kdk::KCustomDateEdit(3)

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

πŸ’– kdk::KCustomDateEdit πŸ’–

okay bestie, gather round, because today we're meeting kdk::KCustomDateEdit β€” a whole icon from the kdk library (that's the Library Functions Manual crowd, iykyk) πŸ’…


✨ NAME ✨

kdk::KCustomDateEdit β€” that's her. that's the name. periodt. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

she inherits from QDateTimeEdit, so all that Qt date-editing energy is already in her bloodline. no cap. 🌈

Inherits QDateTimeEdit.

πŸŽ€ Signals πŸŽ€

  • void changeDate() β€” she emits this when the date changes. it's giving "hey bestie, something moved." ✨

🌸 Public Member Functions 🌸

  • KCustomDateEdit(QWidget *parent=nullptr) β€” the constructor, obvi. default parent is nullptr, so you can birth her standalone if you want. 🫢
  • void showCalendar() β€” 触发ζ—₯εŽ†ζŽ§δ»Άζ˜Ύη€Ί (aka: makes the calendar widget pop off and show itself πŸ“…βœ¨)
  • void setShowLunar(bool showLunar) β€” ζ˜―ε¦ζ˜Ύη€Ίε†œεŽ† (aka: do we show the lunar calendar or not πŸŒ™)
  • void updateStyle(bool isDark) β€” ι€‚εΊ”η³»η»Ÿι£Žζ Ό (aka: she adapts to the system style, she's flexible like that πŸ’…)

🧚 Protected Member Functions 🧚

these ones are protected, so they're doing their own thing behind the scenes. main character energy but make it private-ish. πŸ™ˆ

  • void mousePressEvent(QMouseEvent *event) override β€” overridden, because she handles her own clicks, thank you very much πŸ–±οΈ
  • void paintEvent(QPaintEvent *e) override β€” overridden, because she paints herself. artist behavior. 🎨
  • bool eventFilter(QObject *obj, QEvent *event) override β€” overridden, because she's out here filtering events like a bouncer at the club πŸšͺ✨

πŸ‘‘ Member Function Documentation πŸ‘‘

πŸ’œ void kdk::KCustomDateEdit::setShowLunar (bool showLunar)

ζ˜―ε¦ζ˜Ύη€Ίε†œεŽ† β€” literally "whether to show the lunar calendar." πŸŒ™

Parameters

  • showLunar β€” the flag, bestie. turn it on, turn it off, live your truth. πŸŽ€

πŸ’™ void kdk::KCustomDateEdit::updateStyle (bool isDark)

ι€‚εΊ”η³»η»Ÿι£Žζ Ό β€” she adapts to the system style, slay. ✨

Parameters

  • isDarkοΌšζ˜―ε¦ζ·±θ‰²ζ¨‘εΌ β€” whether it's dark mode or not. 🌚

⭐ Author ⭐

Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. yes bestie, a robot wrote this one, but the vibes are still immaculate. πŸ€–πŸ’–


okay that's the whole page, no skips, no cuts, every single detail accounted for. vibe check: passed. πŸ’―

and that's a wrap, my love β€” this page came to you from LIBKYSDK-APPLICATIONS, Version version:3.0, dated the day the manpage gods stamped it. bye bestie, go edit some dates πŸ’…πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from