kdk::KSlider(3)

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

💖 kdk::KSlider 💖

okay bestie, welcome to the kdk::KSlider(3) manual page — it's the kdk::KSlider slider widget, and she comes in three whole styles. yes, three. main character energy fr. 💅


✨ NAME ✨

kdk::KSlider — a slider that supports three styles 🌈

  • non-step relationship (非步数关系): the step is 1, and you can click and drag anywhere you want 🦋
  • step relationship (步数关系): the step is a fixed value, and you can click and drag according to that step value
  • node relationship (节点关系): the step is the node interval, and you can click and drag according to the node interval 🌸

🎀 SYNOPSIS 🎀

#include <kslider.h>

Inherits QSlider. yeah, she's got family. 👑

🌟 Public Member Functions 🌟

  • KSlider (QWidget *parent)
  • KSlider (Qt::Orientation orientation, QWidget *parent=nullptr)
  • void setTickInterval (int interval) — sets the node interval
  • void setSliderType (KSliderType type) — sets the slider type
  • KSliderType sliderType () — grabs the slider type
  • int tickInterval () const — grabs the node interval
  • void setValue (int) — sets the value
  • void setNodeVisible (bool flag) — sets whether the nodes are shown
  • bool nodeVisible () — grabs whether the nodes are shown
  • void setToolTip (const QString &) — sets the tooltip
  • QString toolTip () const — grabs the toolTip
  • void setTranslucent (bool flag) — sets whether the translucent effect is enabled
  • bool isTranslucent () — grabs whether the translucent effect is enabled

🧚 Protected Member Functions 🧚

  • void paintEvent (QPaintEvent *event)
  • void resizeEvent (QResizeEvent *event)
  • void mousePressEvent (QMouseEvent *event)
  • void mouseReleaseEvent (QMouseEvent *event)
  • void mouseMoveEvent (QMouseEvent *event)
  • void wheelEvent (QWheelEvent *event)
  • bool eventFilter (QObject *watched, QEvent *event)
  • QSize sizeHint () const override

🔥 Detailed Description 🔥

a slider that supports three styles, periodt:

  • non-step relationship (非步数关系): the step is 1, and you can click and drag at any position 💖
  • step relationship (步数关系): the step is a fixed value, and you can click and drag according to the step value
  • node relationship (节点关系): the step is the node interval, and you can click and drag according to the node interval

⭐ Since ⭐

1.0.0 — she's been iconic since day one, no cap.

🍓 Examples 🍓

testslider/widget.h — go look, it's giving tutorial.


👑 Author 👑

Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. (not a human, just a very diligent robot 💀)


k that's the whole page bestie, you ate it 🫶 — this was LIBKYSDK-APPLICATIONS, Version version:3.0, and yes, it's still kdk::KSlider(3). bye mwah 💜

📦 where this page comes from