kdk::KSlider(3)
💖 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 intervalvoid setSliderType (KSliderType type)— sets the slider typeKSliderType sliderType ()— grabs the slider typeint tickInterval () const— grabs the node intervalvoid setValue (int)— sets the valuevoid setNodeVisible (bool flag)— sets whether the nodes are shownbool nodeVisible ()— grabs whether the nodes are shownvoid setToolTip (const QString &)— sets the tooltipQString toolTip () const— grabs the toolTipvoid setTranslucent (bool flag)— sets whether the translucent effect is enabledbool 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
- arch rolling: libkysdk-applications 3.0.1.2-1 · BSD-3-Clause AND GPL-3.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later AND MIT AND MulanPSL-2.0
- ubuntu resolute: libkysdk-applications-dev 3.0.1.1-1 · LGPL-3.0-or-later
- ubuntu stonking: libkysdk-applications-dev 3.0.1.2-1build2 · LGPL-3.0-or-later
- 💖 girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms