The ImageListViewer class A widget that displays a list of images in a grid layout.
More...
#include <ImageListViewWidget.h>
|
void | setImageLists (const QStringList &pixPaths) |
| Sets and displays a new list of images.
|
|
|
void | imageClicked (const QString &imagePath) |
| Emitted when an image is clicked.
|
|
The ImageListViewer class A widget that displays a list of images in a grid layout.
Supports dynamic image list assignment and emits signals on image click.
◆ ImageListViewer()
ImageListViewer::ImageListViewer |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
Constructs the ImageListViewer widget.
- Parameters
-
parent | Optional parent QWidget. |
◆ imageClicked
void ImageListViewer::imageClicked |
( |
const QString & |
imagePath | ) |
|
|
signal |
Emitted when an image is clicked.
- Parameters
-
imagePath | Path of the clicked image. |
◆ setImageLists
void ImageListViewer::setImageLists |
( |
const QStringList & |
pixPaths | ) |
|
|
slot |
Sets and displays a new list of images.
- Parameters
-
pixPaths | List of image paths. |
The documentation for this class was generated from the following files:
- builtin/window/settings_window/config_items/wallpaper_settings/utils/ImageListViewWidget.h
- builtin/window/settings_window/config_items/wallpaper_settings/utils/ImageListViewWidget.cpp