InputBoxModule(3)
π InputBoxModule π
okay so bestie, this is the manual page for InputBoxModule π β it lives in section 3, the Library Functions Manual, and it's part of LIBKYSDK-APPLICATIONS. It's the whole input-box situation: password fields, search fields, all the little buttons and glows that go with them. Let's get into it, no cap. β¨
β¨ NAME β¨
InputBoxModule β yeah. It's InputBoxModule. That's the name. She's lowkey self-titled and she knows it. π
π« SYNOPSIS π«
π§ Classes
class kdk::KPasswordEditβ the password input box π, inherits fromQLineEdit, and supports displaying three different states. The way she just does all thatβ¦class kdk::KSearchLineEditβ the search input box π, and she can search for items matching your conditions.
π’ Enumerations
enum kdk::LoginState { Ordinary, LoginSuccess, LoginFailed }β supports three states. Three!! Iconic. β¨
βοΈ Functions
kdk::KPasswordEdit::KPasswordEdit (QWidget *parent)β the constructor, takes aparent.void kdk::KPasswordEdit::setState (LoginState state)β sets the state.LoginState kdk::KPasswordEdit::state ()β returns the state.void kdk::KPasswordEdit::setLoading (bool flag)β sets the loading state.bool kdk::KPasswordEdit::isLoading ()β tells you whether she's in the loading state or not.QString kdk::KPasswordEdit::placeholderText ()β returnsplaceholderText.void kdk::KPasswordEdit::setPlaceholderText (QString &text)β setsPlaceholderText.void kdk::KPasswordEdit::setClearButtonEnabled (bool enable)β sets whether the ClearButton is enabled.bool kdk::KPasswordEdit::isClearButtonEnabled () constβ returns whether the ClearButton is enabled.void kdk::KPasswordEdit::setEchoModeBtnVisible (bool enable)β sets whether the EchoModeBtn is visible.bool kdk::KPasswordEdit::echoModeBtnVisible ()β returns whether the EchoModeBtn is visible.void kdk::KPasswordEdit::setClearBtnVisible (bool enable)β sets whether the ClearBtn is visible.bool kdk::KPasswordEdit::clearBtnVisible ()β returns whether the ClearBtn is visible.void kdk::KPasswordEdit::setEnabled (bool)β sets whether the KLineEdit is usable.void kdk::KPasswordEdit::setEchoMode (EchoMode mode)βsetEchoMode.void kdk::KPasswordEdit::setUseCustomPalette (bool flag)β sets whether it goes with the default palette.void kdk::KPasswordEdit::resizeEvent (QResizeEvent *event)bool kdk::KPasswordEdit::eventFilter (QObject *watched, QEvent *event)QSize kdk::KPasswordEdit::sizeHint () const overridekdk::KSearchLineEdit::KSearchLineEdit (QWidget *parent=nullptr)β constructor,parentdefaults tonullptr.void kdk::KSearchLineEdit::setEnabled (bool)β sets whether it's usable.bool kdk::KSearchLineEdit::isEnabled ()β returns whether it's usable.void kdk::KSearchLineEdit::setClearButtonEnabled (bool enable)β sets whether to show the clear button.bool kdk::KSearchLineEdit::isClearButtonEnabled () constβ returns whether the clear button is shown.QString kdk::KSearchLineEdit::placeholderText () constβ returns the placeholder.void kdk::KSearchLineEdit::setPlaceholderText (const QString &)β sets the placeholder.Qt::Alignment kdk::KSearchLineEdit::placeholderAlignment () constβ returns the placeholder's alignment.void kdk::KSearchLineEdit::setPlaceholderAlignment (Qt::Alignment flag)β sets the placeholder's alignment.Qt::Alignment kdk::KSearchLineEdit::alignment () constβ sets the alignment of the input text. (yes bestie, the docs say set on a getter, we keep it EXACTLY as written, don't @ me π)void kdk::KSearchLineEdit::setAlignment (Qt::Alignment flag)β sets the input text's alignment and then says "return". π« Again: verbatim, no edits, periodt.void kdk::KSearchLineEdit::setTranslucent (bool flag)β sets whether the translucent effect is enabled.bool kdk::KSearchLineEdit::isTranslucent ()β gets whether the translucent effect is enabled.void kdk::KSearchLineEdit::reloadStyle ()β reloads the style.KToolButton * kdk::KSearchLineEdit::customButton ()β gets the custom button.void kdk::KSearchLineEdit::setGradation (bool flag)β whether the gradient colors are enabled.void kdk::KSearchLineEdit::setCustomButtonVisible (bool flag)β sets whether the smart semantic button is visible.bool kdk::KSearchLineEdit::isCustomButtonVisible ()β returns whether the smart semantic button is visible.bool kdk::KSearchLineEdit::eventFilter (QObject *watched, QEvent *event)void kdk::KSearchLineEdit::resizeEvent (QResizeEvent *event)void kdk::KSearchLineEdit::setVisible (bool visible)void kdk::KSearchLineEdit::paintEvent (QPaintEvent *event)QSize kdk::KSearchLineEdit::sizeHint () const override
π Public Slots
void kdk::KSearchLineEdit::clear ()
π Detailed Description
Since
2.5.2.0 {
(yeah she really does end on a curly brace, that's the whole vibe, we're leaving it π)
πΈ Enumeration Type Documentation πΈ
enum kdk::LoginState
Supports three states, and that's on periodt. β¨
Since
1.0.0
π§ Function Documentation π§
Qt::Alignment kdk::KSearchLineEdit::alignment () const
Sets the alignment of the input text. π
Returns β (nothing listed)
bool kdk::KPasswordEdit::clearBtnVisible ()
Returns whether the ClearBtn is visible. π
Returns β (nothing listed)
Since
1.2.0
KToolButton * kdk::KSearchLineEdit::customButton ()
Gets the custom button. π
Returns β (nothing listed)
Since
2.4.1.0
bool kdk::KPasswordEdit::echoModeBtnVisible ()
Returns whether the EchoModeBtn is visible. π
Returns β (nothing listed)
Since
1.2.0
bool kdk::KPasswordEdit::isClearButtonEnabled () const
Returns whether the ClearButton is enabled. β
Returns β (nothing listed)
bool kdk::KSearchLineEdit::isClearButtonEnabled () const
Returns whether the clear button is shown. β
Returns β (nothing listed)
bool kdk::KSearchLineEdit::isCustomButtonVisible ()
Returns whether the smart semantic button is visible. β¨
Returns
bool
Since
2.4.1.0
bool kdk::KSearchLineEdit::isEnabled ()
Returns whether it's usable. π«Ά
Returns β (nothing listed)
bool kdk::KPasswordEdit::isLoading ()
Tells you whether she's currently in the loading state. β³
Returns β (nothing listed)
bool kdk::KSearchLineEdit::isTranslucent ()
Gets whether the translucent effect is enabled. π¦
Since
1.2.0
Returns
flag
Qt::Alignment kdk::KSearchLineEdit::placeholderAlignment () const
Returns the placeholder's alignment. π
Returns β (nothing listed)
QString kdk::KPasswordEdit::placeholderText ()
Returns placeholderText. π¬
Returns β (nothing listed)
QString kdk::KSearchLineEdit::placeholderText () const
Returns the placeholder. π¬
Returns β (nothing listed)
void kdk::KSearchLineEdit::reloadStyle ()
Reloads the style. π
Since
2.0.2.1
void kdk::KSearchLineEdit::setAlignment (Qt::Alignment flag)
Sets the alignment of the input text, and the doc says "return" at the end. We keep it. Exactly. π
Returns β (nothing listed)
void kdk::KPasswordEdit::setClearBtnVisible (bool enable)
Sets whether the ClearBtn is visible. ποΈ
Returns β (nothing listed)
Since
1.2.0
void kdk::KPasswordEdit::setClearButtonEnabled (bool enable)
Sets whether the ClearButton is enabled. β
Parameters
enable
void kdk::KSearchLineEdit::setClearButtonEnabled (bool enable)
Sets whether to show the clear button. β
Returns β (nothing listed)
void kdk::KSearchLineEdit::setCustomButtonVisible (bool flag)
Sets whether the smart semantic button is visible. β¨
Parameters
flag
Since
2.4.1.0
void kdk::KPasswordEdit::setEchoMode (EchoMode mode)
setEchoMode.
Since
1.2.0
void kdk::KPasswordEdit::setEchoModeBtnVisible (bool enable)
Sets whether the EchoModeBtn is visible. ποΈ
Returns β (nothing listed)
Since
1.2.0
void kdk::KPasswordEdit::setEnabled (bool)
Sets whether the KLineEdit is usable. π«Ά
Returns β (nothing listed)
void kdk::KSearchLineEdit::setGradation (bool flag)
Whether the gradient colors are enabled. π
Parameters
flag
Since
2.4.1.0
void kdk::KPasswordEdit::setLoading (bool flag)
Sets the loading state. β³
Parameters
flag
void kdk::KSearchLineEdit::setPlaceholderAlignment (Qt::Alignment flag)
Sets the placeholder's alignment. π
Returns β (nothing listed)
void kdk::KSearchLineEdit::setPlaceholderText (const QString &)
Sets the placeholder. π¬
Returns β (nothing listed)
void kdk::KPasswordEdit::setPlaceholderText (QString & text)
Sets PlaceholderText. π¬
Parameters
text
void kdk::KPasswordEdit::setState (LoginState state)
Sets the state. ποΈ
Parameters
state
void kdk::KSearchLineEdit::setTranslucent (bool flag)
Sets whether the translucent effect is enabled. π¦
Since
1.2.0
Parameters
flag
void kdk::KPasswordEdit::setUseCustomPalette (bool flag)
Sets whether it goes with the default palette. π¨
Parameters
flag
Since
1.2.0
LoginState kdk::KPasswordEdit::state ()
Returns the state. ποΈ
Returns β (nothing listed)
π Author π
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. (Doxygen really said "I'll write it myself" and honestly? slay. π )
heads up bestie: everything above is straight from the page β every signature, every Since, every parameter name, character for character. I just made it cute. π
mwah, that's the whole page π«Ά this was LIBKYSDK-APPLICATIONS, Version version:3.0, page InputBoxModule(3). go build something pretty with it, ily, bye β¨π
π¦ 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