kdk::KListView(3)

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

✨ NAME ✨

kdk::KListView — bestie, this is a list view widget that, when you pair it up with KListviewdelegate, gives you a look where you get one image plus two lines of text. And if there's only one line of text? The icon just centers itself. Very demure, very mindful. 🎀

Oh and hey — this page lives in the Library Functions Manual, so that's the manual family we're in. 💅


🌸 SYNOPSIS 🌸

#include <klistview.h>

Inherits QListView.

🫶 Public Member Functions

  • KListView (QWidget *parent) — the constructor, she's taking a parent widget and showing up ready to go ✨

🧚 Protected Member Functions

  • void mousePressEvent (QMouseEvent *event) — the mouse-press handler, protected so only the family (and subclasses) get to touch it 🔥

👑 Detailed Description 👑

So here's the tea: when you team this widget up with KListviewdelegate, you get a display that's one image + two lines of text. And if there's only one line of text? The icon goes and centers itself, no drama, no fuss. Main character energy honestly. 💖

The original wording, if you want it in the source language: 配合KListviewdelegate可以提供一个图片两行文字的显示效果,若只有一行文字,则对于 icon 居中显示 。

⭐ Since

1.2.0 — she's been iconic since 1.2.0, no cap 🦋


💜 Author 💜

Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS, straight from the source code. Not a human author, just robot magic doing its thing 🙈


okay that's the whole page bestie, you ate that 🎀 and for the cute sign-off: this came out of LIBKYSDK-APPLICATIONS, Version version:3.0, and the footer date tag was kdk::KListView(3) — slay, go build something cute with it 💅✨🌈

📦 where this page comes from