kdk::KPasswordEdit(3)
💖 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 stateLoginState state ()— hands you back the statevoid setLoading (bool flag)— sets the loading statebool isLoading ()— tells you whether she's currently in the loading state or notQString placeholderText ()— returns theplaceholderTextvoid setPlaceholderText (QString &text)— sets the PlaceholderTextvoid setClearButtonEnabled (bool enable)— sets whether the ClearButton is enabled or notbool isClearButtonEnabled () const— returns whether the ClearButton is enabledvoid setEchoModeBtnVisible (bool enable)— sets whether the EchoModeBtn is visiblebool echoModeBtnVisible ()— returns whether the EchoModeBtn is visiblevoid setEchoModeBtnVisible-adjacent energy, she's just out here being visible or not, we respect it 🌸void setClearBtnVisible (bool enable)— sets whether the ClearBtn is visiblebool clearBtnVisible ()— returns whether the ClearBtn is visiblevoid 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)—setEchoModevoid 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
- 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