InputBoxModule(3)

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

πŸŽ€ 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 from QLineEdit, 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 a parent.
  • 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 () β€” returns placeholderText.
  • void kdk::KPasswordEdit::setPlaceholderText (QString &text) β€” sets PlaceholderText.
  • 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 override
  • kdk::KSearchLineEdit::KSearchLineEdit (QWidget *parent=nullptr) β€” constructor, parent defaults to nullptr.
  • 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