The SequenciedSettingsWidget class Manages and configures a list of sequentially changing images (e.g., slideshow).
More...
#include <SequenciedSettingsWidget.h>
|
void | loadToImageListView (const QStringList &imageLists) |
| Emitted when images should be loaded into a viewer.
|
|
void | reinstalls (const QStringList &imageLists) |
| Emitted when image sources should be reinstalled.
|
|
The SequenciedSettingsWidget class Manages and configures a list of sequentially changing images (e.g., slideshow).
This widget provides options to control animation duration, switching interval, and manage the list of images used in rotation. It supports interaction with an external image viewer component.
◆ SequenciedSettingsWidget()
SequenciedSettingsWidget::SequenciedSettingsWidget |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ flush_images()
void SequenciedSettingsWidget::flush_images |
( |
const QString & |
list | ) |
|
Loads image list from a folder path.
- Parameters
-
list | Folder path containing images. |
◆ flush_with_non_path()
void SequenciedSettingsWidget::flush_with_non_path |
( |
const QStringList & |
image_paths | ) |
|
Refreshes the internal image list with image paths from a folder.
- Parameters
-
image_paths | List of image file paths. |
◆ folders_image_path()
QString SequenciedSettingsWidget::folders_image_path |
( |
| ) |
const |
Returns the current folder path from which images were loaded.
- Returns
- Path as a string.
◆ get_easingcurve_type()
QEasingCurve SequenciedSettingsWidget::get_easingcurve_type |
( |
| ) |
const |
get_easingcurve_type
- Returns
◆ get_image_lists()
QStringList SequenciedSettingsWidget::get_image_lists |
( |
| ) |
const |
Returns the list of currently used image paths.
- Returns
- List of file paths.
◆ getAnimation_duration()
int SequenciedSettingsWidget::getAnimation_duration |
( |
| ) |
const |
Gets the animation duration (ms).
- Returns
- Animation duration.
◆ getWallpaper_switch_time()
int SequenciedSettingsWidget::getWallpaper_switch_time |
( |
| ) |
const |
Gets the wallpaper switching interval (ms).
- Returns
- Time interval.
◆ loadToImageListView
void SequenciedSettingsWidget::loadToImageListView |
( |
const QStringList & |
imageLists | ) |
|
|
signal |
Emitted when images should be loaded into a viewer.
- Parameters
-
imageLists | List of image paths to load. |
◆ reinstalls
void SequenciedSettingsWidget::reinstalls |
( |
const QStringList & |
imageLists | ) |
|
|
signal |
Emitted when image sources should be reinstalled.
- Parameters
-
imageLists | New list of image sources. |
◆ setAnimation_duration()
void SequenciedSettingsWidget::setAnimation_duration |
( |
int |
newAnimation_duration | ) |
|
Sets the animation duration.
- Parameters
-
newAnimation_duration | New duration in milliseconds. |
◆ setWallpaper_switch_time()
void SequenciedSettingsWidget::setWallpaper_switch_time |
( |
int |
newWallpaper_switch_time | ) |
|
Sets the wallpaper switching interval.
- Parameters
-
newWallpaper_switch_time | New interval in milliseconds. |
The documentation for this class was generated from the following files:
- builtin/window/settings_window/config_items/wallpaper_settings/option_widgets/SequenciedSettingsWidget.h
- builtin/window/settings_window/config_items/wallpaper_settings/option_widgets/SequenciedSettingsWidget.cpp