kdk::KWidgetUtils(3)

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

okay so bestie, you just opened kdk::KWidgetUtils(3) β€” that's the Library Functions Manual page for it, and yes, we're reading it together, grab a snack πŸ“


✨ NAME ✨

kdk::KWidgetUtils


🌸 SYNOPSIS 🌸

πŸ’… Static Public Member Functions

  • static void highDpiScaling () β€” this one makes your app play nice with high-DPI screens (ι€‚ι…ι«˜εˆ†ε±, the glow-up your retina display deserves ✨). IMPORTANT: you have to call it before you create the QApplication object, or it's giving too late, no cap.
KWidgetUtils::highDpiScaling();
QApplication a(argc, argv);
  • static bool checkCompositorRunning (void) β€” literally just asks: is the compositor running or not? (εˆ€ζ–­εˆζˆε™¨ζ˜―ε¦εΌ€ε―) πŸ¦‹

πŸŽ€ Member Function Documentation πŸŽ€

static bool kdk::KWidgetUtils::checkCompositorRunning (void) [static]

The whole vibe of this function is εˆ€ζ–­εˆζˆε™¨ζ˜―ε¦εΌ€ε― β€” it checks whether the compositor is up and running, and hands you back a yes or a no. Simple. Iconic. Does exactly what it says on the tin. πŸ’–

🫢 Parameters

ζ—  β€” literally none, zero, nada, this function takes no arguments πŸ™ˆ

⭐ Return values

  • true β€” 开启, i.e. it's on, the compositor is running πŸ”₯
  • false β€” 沑开启, i.e. it's not on, no compositor in the building πŸ’€

πŸ‘‘ Author πŸ‘‘

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


and that's the whole page, bestie, you ate it πŸŽ€ This little gem comes to you from LIBKYSDK-APPLICATIONS, Version version:3.0, and it's serving kdk::KWidgetUtils(3) realness. Go forth and scale those pixels responsibly πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from