CCIMXDesktop
 
Loading...
Searching...
No Matches
SequenciedSettingsWidget Class Reference

The SequenciedSettingsWidget class Manages and configures a list of sequentially changing images (e.g., slideshow). More...

#include <SequenciedSettingsWidget.h>

Inheritance diagram for SequenciedSettingsWidget:

Signals

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.
 

Public Member Functions

 SequenciedSettingsWidget (QWidget *parent=nullptr)
 Constructs the SequenciedSettingsWidget.
 
 ~SequenciedSettingsWidget ()
 Destructor.
 
void flush_with_non_path (const QStringList &image_paths)
 Refreshes the internal image list with image paths from a folder.
 
void flush_images (const QString &list)
 Loads image list from a folder path.
 
QString folders_image_path () const
 Returns the current folder path from which images were loaded.
 
QStringList get_image_lists () const
 Returns the list of currently used image paths.
 
int getAnimation_duration () const
 Gets the animation duration (ms).
 
void setAnimation_duration (int newAnimation_duration)
 Sets the animation duration.
 
int getWallpaper_switch_time () const
 Gets the wallpaper switching interval (ms).
 
void setWallpaper_switch_time (int newWallpaper_switch_time)
 Sets the wallpaper switching interval.
 
QEasingCurve get_easingcurve_type () const
 get_easingcurve_type
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ SequenciedSettingsWidget()

SequenciedSettingsWidget::SequenciedSettingsWidget ( QWidget *  parent = nullptr)
explicit

Constructs the SequenciedSettingsWidget.

Parameters
parentOptional parent QWidget.

Member Function Documentation

◆ flush_images()

void SequenciedSettingsWidget::flush_images ( const QString &  list)

Loads image list from a folder path.

Parameters
listFolder 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_pathsList 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
imageListsList of image paths to load.

◆ reinstalls

void SequenciedSettingsWidget::reinstalls ( const QStringList &  imageLists)
signal

Emitted when image sources should be reinstalled.

Parameters
imageListsNew list of image sources.

◆ setAnimation_duration()

void SequenciedSettingsWidget::setAnimation_duration ( int  newAnimation_duration)

Sets the animation duration.

Parameters
newAnimation_durationNew duration in milliseconds.

◆ setWallpaper_switch_time()

void SequenciedSettingsWidget::setWallpaper_switch_time ( int  newWallpaper_switch_time)

Sets the wallpaper switching interval.

Parameters
newWallpaper_switch_timeNew interval in milliseconds.

The documentation for this class was generated from the following files: