kdk::KPasswordEdit(3)

📦 version 3.0.1.2, in arch rolling, ubuntu resolute, ubuntu stonking

💖 NAME 💖

kdk::KPasswordEdit — it's a password input box bestie!! It inherits from QLineEdit and it supports showing three different states. Three!! Options!! We love a versatile icon ✨

✨ SYNOPSIS ✨

#include <kpasswordedit.h>

Inherits QLineEdit. Yeah she's a QLineEdit girlie at heart 💅


🫶 Public Member Functions 🫶

  • KPasswordEdit (QWidget *parent) — the constructor, she's born 🎀
  • void setState (LoginState state) — sets the state
  • LoginState state () — hands you back the state
  • void setLoading (bool flag) — sets the loading state
  • bool isLoading () — tells you whether she's currently in the loading state or not
  • QString placeholderText () — returns the placeholderText
  • void setPlaceholderText (QString &text) — sets the PlaceholderText
  • void setClearButtonEnabled (bool enable) — sets whether the ClearButton is enabled or not
  • bool isClearButtonEnabled () const — returns whether the ClearButton is enabled
  • void setEchoModeBtnVisible (bool enable) — sets whether the EchoModeBtn is visible
  • bool echoModeBtnVisible () — returns whether the EchoModeBtn is visible
  • void setEchoModeBtnVisible-adjacent energy, she's just out here being visible or not, we respect it 🌸
  • void setClearBtnVisible (bool enable) — sets whether the ClearBtn is visible
  • bool clearBtnVisible () — returns whether the ClearBtn is visible
  • void setEnabled (bool) — sets whether the KLineEdit is enabled/usable (yes it says KLineEdit, that's literally what the page says, no I will not be fixing it, it's iconic 🙈)
  • void setEchoMode (EchoMode mode) — setEchoMode
  • void setUseCustomPalette (bool flag) — sets whether to go with the default palette or not
not me almost skipping an option, there are exactly fifteen of these and every single one is here fr fr 💀

🔒 Protected Member Functions 🔒

  • void resizeEvent (QResizeEvent *event)
  • bool eventFilter (QObject *watched, QEvent *event)
  • QSize sizeHint () const override

🦋 Detailed Description 🦋

Password input box, inherits from QLineEdit, supports showing three different states. That's the whole vibe, that's the whole assignment, and she ate 👑

🌈 Examples 🌈

testpasswordedit/widget.h.


👑 Author 👑

Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code.


okay so quick vibe check for anyone who's new here: this page lives in the Library Functions Manual, section 3, so if you're lost in a terminal wondering where you are — that's where you are bestie 🫶

and that's the whole page, mwah 💋 huge thanks to LIBKYSDK-APPLICATIONS, Version version:3.0, for making all of this exist — no cap, she understood the assignment, periodt 🎀✨

📦 where this page comes from