The ImagePoolEngine class makes a image selection as an engine, WallPaperAnimationHandler requires the engine to make the wallpaper switch(that is, select with how to select the
image for display)
More...
#include <wallpaperanimationhandler.h>
|
static QString | default_selections (const QStringList &list) |
| default_selections makes the default random selections
|
|
static int | default_index (const QStringList &list) |
| default_index makes the default random selections
|
|
|
QStringList * | image_list { nullptr } |
| image list of the src
|
|
std::function< int(QStringList *)> | selector { nullptr } |
| selector make sense in deciding how to select from the image list, if not set, then it will be random as default issue
|
|
The ImagePoolEngine class makes a image selection as an engine, WallPaperAnimationHandler requires the engine to make the wallpaper switch(that is, select with how to select the
image for display)
◆ default_index()
int WallPaperAnimationHandler::ImagePoolEngine::default_index |
( |
const QStringList & |
list | ) |
|
|
static |
default_index makes the default random selections
- Parameters
-
list | the list pool of selectings |
- Returns
- the index offset of the list
◆ default_selections()
QString WallPaperAnimationHandler::ImagePoolEngine::default_selections |
( |
const QStringList & |
list | ) |
|
|
static |
default_selections makes the default random selections
- Parameters
-
list | the list pool of selectings |
- Returns
- the selected images
The documentation for this struct was generated from the following files: