User-configured tiling parameters that affect algorithm preview generation. More...
#include <phosphor-tiles/include/PhosphorTiles/AlgorithmPreviewParams.h>
Public Member Functions | |
| bool | operator== (const AlgorithmPreviewParams &other) const |
| bool | operator!= (const AlgorithmPreviewParams &other) const |
Public Attributes | |
| QString | algorithmId |
| Active algorithm — maxWindows/splitRatio/masterCount apply only to this. | |
| int | maxWindows = -1 |
| -1 = use algorithm default | |
| int | masterCount = -1 |
| -1 = use default (1) | |
| qreal | splitRatio = -1.0 |
| -1 = use algorithm default | |
| QHash< QString, QVariantMap > | savedAlgorithmSettings |
| Per-algorithm saved settings (masterCount, splitRatio). | |
User-configured tiling parameters that affect algorithm preview generation.
Lives at namespace scope (rather than nested inside AlgorithmRegistry) so the abstract ITileAlgorithmRegistry contract can carry it without the interface depending on the concrete registry type — which would create a circular include.
|
inline |
| bool PhosphorTiles::AlgorithmPreviewParams::operator== | ( | const AlgorithmPreviewParams & | other | ) | const |
| QString PhosphorTiles::AlgorithmPreviewParams::algorithmId |
Active algorithm — maxWindows/splitRatio/masterCount apply only to this.
| int PhosphorTiles::AlgorithmPreviewParams::masterCount = -1 |
-1 = use default (1)
| int PhosphorTiles::AlgorithmPreviewParams::maxWindows = -1 |
-1 = use algorithm default
| QHash<QString, QVariantMap> PhosphorTiles::AlgorithmPreviewParams::savedAlgorithmSettings |
Per-algorithm saved settings (masterCount, splitRatio).
Generalised replacement for hard-coded centered-master fields. Key = algorithm ID, value = QVariantMap with "masterCount" (int) and "splitRatio" (qreal).
| qreal PhosphorTiles::AlgorithmPreviewParams::splitRatio = -1.0 |
-1 = use algorithm default