Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquickimageselector.cpp File Reference

(4bd87b903b355b53e3105ba1ae7c154c4e55cdaf)

#include "qquickimageselector_p.h"
#include <QtCore/qdir.h>
#include <QtCore/qfileinfo.h>
#include <QtCore/qcache.h>
#include <QtCore/qloggingcategory.h>
#include <QtCore/qfileselector.h>
#include <QtQml/qqmlfile.h>
#include <QtQml/private/qqmlproperty_p.h>
#include <algorithm>
#include "moc_qquickimageselector_p.cpp"
+ Include dependency graph for qquickimageselector.cpp:

Go to the source code of this file.

Functions

static int cacheSize ()
 
static QList< QStringListpermutations (const QStringList &input, int count=-1)
 
static QString findFile (const QDir &dir, const QString &baseName, const QStringList &extensions)
 

Variables

static QT_BEGIN_NAMESPACE const int DEFAULT_CACHE = 500
 

Function Documentation

◆ cacheSize()

static int cacheSize ( )
inlinestatic

Definition at line 21 of file qquickimageselector.cpp.

References DEFAULT_CACHE, ok, and qEnvironmentVariableIntValue().

+ Here is the call graph for this function:

◆ findFile()

static QString findFile ( const QDir & dir,
const QString & baseName,
const QStringList & extensions )
static

Definition at line 62 of file qquickimageselector.cpp.

References dir, QFile::exists(), and QFileSelector::select().

Referenced by QQuickImageSelector::updateSource().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ permutations()

static QList< QStringList > permutations ( const QStringList & input,
int count = -1 )
static

Definition at line 30 of file qquickimageselector.cpp.

References i, output, permutations(), and sub.

Referenced by permutations(), and QQuickImageSelector::updateSource().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ DEFAULT_CACHE

QT_BEGIN_NAMESPACE const int DEFAULT_CACHE = 500
static

Definition at line 19 of file qquickimageselector.cpp.

Referenced by cacheSize().