kdk::KLineEditFrame(3)

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

💖 kdk::KLineEditFrame 💖

okay so bestie, welcome to the Library Functions Manual entry for kdk::KLineEditFrame — yes that's the manual name, and yes this whole page is just about one lil frame widget that has a text box in it. iconic behavior honestly. 🎀


✨ NAME ✨

kdk::KLineEditFrame — the frame, but make it have a QLineEdit in it. that's it. that's the whole vibe. 🦋


🌸 SYNOPSIS 🌸

so it inherits from kdk::KBaseFrame, meaning it's got the whole family tree going on:

Inherits kdk::KBaseFrame.

👑 Public Member Functions

KLineEditFrame (const QString title, QWidget *parent=nullptr,
    BorderRadiusStyle style=BorderRadiusStyle::None)

creates a Frame with a QLineEdit in it 🫶 (创建一个带 QLineEdit 的 Frame)

QLineEdit * lineEdit ()

gives you back the input box, slay

KLabel * titleLabel ()

gives you back the label, periodt

QHBoxLayout * mainHLayout ()

gives you back the layout, no cap

🧚 Public Member Functions inherited from kdk::KBaseFrame

these are the ones it got from its parent, still fully usable, still valid:

KBaseFrame (QWidget *parent=nullptr, BorderRadiusStyle style=Around,
    bool heightAdaptive=false)

the constructor, obvs (构造函数)

void setRadiusType (BorderRadiusStyle style)

sets the rounded-corner style (设置圆角风格)

bool getTabletMode ()

tells you if you're in tablet mode (获取平板模式)

bool isContainer ()

tells you whether this is a container frame — and when it is, the thing the settinggroup needs to set is the corner radius of its child frame (获取是否是一个容器frame,此时settinggroup需要设置的是其子frame的圆角)

void setContainer (bool b=false)

sets whether this frame is a container frame; if it is, it also does setFrameShape(NoFrame) at the same time (设置该frame是否是一个容器frame,如果是同时setFrameShape(NoFrame);)

🌈 Additional Inherited Members

Public Types inherited from kdk::KBaseFrame

enum BorderRadiusStyle { Top, None, Bottom, Around }

Signals inherited from kdk::KBaseFrame

void tabletModeChanged (bool b)

Protected Member Functions inherited from kdk::KBaseFrame

void paintEvent (QPaintEvent *e)

💅 Constructor & Destructor Documentation 💅

kdk::KLineEditFrame::KLineEditFrame

kdk::KLineEditFrame::KLineEditFrame (const QString title, QWidget * parent =
    nullptr, BorderRadiusStyle style = BorderRadiusStyle::None) [explicit]

creates a Frame that has a QLineEdit in it ✨ (创建一个带 QLineEdit 的 Frame). it's [explicit], so bestie, no sneaky implicit conversions, okay? 🚫

Parameters

  • title — text of m_settingName. yep, that's the thing it sets.
  • style — sets the corner rounding: None: no rounded corners, Top: top corners rounded, Bottom: bottom corners rounded, Around: all four corners rounded. (设置圆角(None:无圆角,Top:上圆角,Bottom:下圆角,Around:四圆角))
  • parent — the parent. it's just the parent, the description is literally empty, we respect the mystery 🫣

🎀 Member Function Documentation 🎀

QLineEdit * kdk::KLineEditFrame::lineEdit ()

QLineEdit * kdk::KLineEditFrame::lineEdit ()

gives you back the input box (获取输入框)

Returns

  • QLineEdit

QHBoxLayout * kdk::KLineEditFrame::mainHLayout ()

QHBoxLayout * kdk::KLineEditFrame::mainHLayout ()

gives you back the layout (获取layout)

Returns

  • QHBoxLayout

KLabel * kdk::KLineEditFrame::titleLabel ()

KLabel * kdk::KLineEditFrame::titleLabel ()

gives you back the label (获取label)

Returns

  • QLabel
⚠️ not me pointing out that the function hands you back a KLabel * but the Returns line says QLabel — that's literally what the docs say, so we're keeping it exactly as-is. iykyk. 💀

🌟 Author 🌟

Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS, straight from the source code. the robot wrote this, not a human, and honestly? it ate. 🔥


and that's the whole page, bestie 💜 — this was kdk::KLineEditFrame(3) from LIBKYSDK-APPLICATIONS, version version:3.0, and the footer date slot is just chillin' as kdk::KLineEditFrame(3) again. go forth and build frames with text boxes in them, you absolute main character. 🦋✨💅

📦 where this page comes from