![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Go to the source code of this file.
Classes | |
| struct | ImageTransform |
| [10] More... | |
| struct | Scaled |
| [13] More... | |
Functions | |
| U | function (const T &t) |
| [0] | |
| QImage | scaled (const QImage &image) |
| [0] | |
| U | function (T &t) |
| [1] | |
| void | scale (QImage &image) |
| [2] | |
| V | function (T &result, const U &intermediate) void addToCollage(QImage &collage |
| [3] | |
| p | drawImage (offset, thumbnail) |
| void | computeAverage (int &average, int length) |
| [8] | |
| int | colorDistribution (const QImage &string) |
Variables | |
| QList< QImage > | images = ... |
| [5] | |
| QFuture< QImage > | thumbnails = QtConcurrent::mapped(images, scaled) |
| QFuture< void > | future = QtConcurrent::map(images, scale) |
| V const QImage & | thumbnail |
| static QPoint | offset = QPoint(0, 0) |
| QFuture< QImage > | collage = QtConcurrent::mappedReduced(images, scaled, addToCollage) |
| [15] | |
| QStringList | strings = ... |
| [7] | |
| QFuture< void > | squeezedStrings = QtConcurrent::map(strings, &QString::squeeze) |
| QFuture< QImage > | bgrImages |
| QFuture< QSet< int > > | wordLengths |
| QFuture< int > | averageWordLength = QtConcurrent::mappedReduced(strings, &QString::length, computeAverage) |
| QFuture< QSet< int > > | totalColorDistribution |
| QFuture< QImage > | thumbNails |
| std::function< QImage(const QImage &)> | scale |
| QList< int > | vector { 1, 2, 3, 4 } |
| [14] | |
| int | size = 100 |
| auto | process |
| [17] | |
| QList< int > | inputs { 1, 2, 3 } |
| auto | badFuture |
| auto | goodFuture |
|
extern |
|
extern |
[8]
[9]
| U function | ( | const T & | t | ) |
[0]
| V function | ( | T & | result, |
| const U & | intermediate ) & |
[3]
[4] [4] [5]
| U function | ( | T & | t | ) |
[1]
[2]
| QFuture< int > averageWordLength = QtConcurrent::mappedReduced(strings, &QString::length, computeAverage) |
Definition at line 102 of file src_concurrent_qtconcurrentmap.cpp.
| auto badFuture |
Definition at line 195 of file src_concurrent_qtconcurrentmap.cpp.
Definition at line 86 of file src_concurrent_qtconcurrentmap.cpp.
| QList<QImage> collage = QtConcurrent::mappedReduced(images, scaled, addToCollage) |
| QList<QImage> future = QtConcurrent::map(images, scale) |
Definition at line 32 of file src_concurrent_qtconcurrentmap.cpp.
| auto goodFuture |
Definition at line 200 of file src_concurrent_qtconcurrentmap.cpp.
| QList<int> inputs { 1, 2, 3 } |
Definition at line 194 of file src_concurrent_qtconcurrentmap.cpp.
Definition at line 45 of file src_concurrent_qtconcurrentmap.cpp.
| void process |
| std::function<QImage(const QImage &)> scale |
Definition at line 129 of file src_concurrent_qtconcurrentmap.cpp.
| int size = 100 |
Definition at line 159 of file src_concurrent_qtconcurrentmap.cpp.
| QFuture< void > squeezedStrings = QtConcurrent::map(strings, &QString::squeeze) |
Definition at line 82 of file src_concurrent_qtconcurrentmap.cpp.
| QStringList strings = ... |
| V const QImage & thumbnail |
Definition at line 42 of file src_concurrent_qtconcurrentmap.cpp.
Definition at line 122 of file src_concurrent_qtconcurrentmap.cpp.
| QList< QImage > thumbnails = QtConcurrent::mapped(images, scaled) |
Definition at line 16 of file src_concurrent_qtconcurrentmap.cpp.
Definition at line 107 of file src_concurrent_qtconcurrentmap.cpp.
| QList< int > vector { 1, 2, 3, 4 } |
Definition at line 91 of file src_concurrent_qtconcurrentmap.cpp.