kdk::KTranslucentFloor(3)

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

💖 kdk::KTranslucentFloor(3) 💖

Library Functions Manual ✨ yes bestie, we're in the kdk::KTranslucentFloor(3) section, third page of the library functions manual, and she is serving.


🎀 NAME

kdk::KTranslucentFloor — 提供一个半透明底板,可作为基础窗体进行布局

okay so literally: a translucent floor panel 🦋, and you can use it as a base form to lay stuff out on. Main character widget energy fr fr.


✨ SYNOPSIS

#include <ktranslucentfloor.h>

Inherits QFrame.

so she's a QFrame girlie at heart 💜 — everything QFrame can do, she can do too.

👑 Public Member Functions

  • KTranslucentFloor (QWidget *parent=nullptr) — the constructor, the birth of a legend 🌈 (default parent is nullptr, no cap)
  • void setBorderRadius (int radius) — 设置圆角半径 ✨ (sets the corner radius, the rounded-ness, the softness)
  • int borderRadius () — 返回圆角半径 💅 (hands you back the corner radius)
  • void setShadow (bool flag) — 设置是否显示阴影 🫶 (sets whether the shadow shows or not)
  • bool shadow () — 返回是否显示阴影 👑 (tells you whether the shadow is showing)
  • void setEnableBlur (bool flag) — 设置是否启用毛玻璃效果 🌸 (sets whether the frosted-glass blur effect is enabled)
  • bool enableBlur () — 获取是否已启用毛玻璃效果 🧚 (gets whether the frosted-glass blur effect is already enabled)
  • void setOpacity (qreal opacity) — 设置透明度 💜 (sets the opacity)
  • qreal opacity () — 获取透明度 ⭐ (gets the opacity)

🔒 Protected Member Functions

  • void paintEvent (QPaintEvent *) — the protected one, the behind-the-scenes queen 🙈

🌟 Detailed Description

提供一个半透明底板,可作为基础窗体进行布局

That's it, that's the whole vibe: a semi-transparent base panel that you lay out your UI on top of. She's the foundation, she's the floor, she's literally holding everything up 💅

Since — 1.2.0 🎀 (been iconic since 1.2.0)


💖 Member Function Documentation

🌸 int kdk::KTranslucentFloor::borderRadius ()

返回圆角半径

Returns — the original doesn't spell out a return description here, bestie, so we're just vibing with the documented name 🙈

🦋 bool kdk::KTranslucentFloor::enableBlur ()

获取是否已启用毛玻璃效果

Returns — same situation, no return text in the source, so it's giving mystery ✨

💜 qreal kdk::KTranslucentFloor::opacity ()

获取透明度

Returns — nothing written after Returns in the original either 💀 she's shy

⭐ void kdk::KTranslucentFloor::setBorderRadius (int radius)

设置圆角半径

Parameters

  • radius

🎀 void kdk::KTranslucentFloor::setEnableBlur (bool flag)

设置是否启用毛玻璃效果

Parameters

  • flag

🌈 void kdk::KTranslucentFloor::setOpacity (qreal opacity)

设置透明度

Parameters

  • opacity

👑 void kdk::KTranslucentFloor::setShadow (bool flag)

设置是否显示阴影

Parameters

  • flag

🫶 bool kdk::KTranslucentFloor::shadow ()

返回是否显示阴影

Returns — again, no return description in the original, just the function name doing all the talking 🧚


🌟 Author

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

not me getting written by a robot 💀 Doxygen really said "I got this" and generated the whole page. Slay, I guess.


💖 cute sign-off time: this page came to you courtesy of LIBKYSDK-APPLICATIONS, Version version:3.0 ✨ That's the source and the version, right there, at the very end, exactly where the footer would've been. Periodt. 🎀🦋
📦 where this page comes from