Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/kis_config.h
Context not available. | |||||
33 | class KoColorProfile; | 33 | class KoColorProfile; | ||
---|---|---|---|---|---|
34 | class KoColorSpace; | 34 | class KoColorSpace; | ||
35 | class KisSnapConfig; | 35 | class KisSnapConfig; | ||
36 | class QSettings; | ||||
37 | class KisOcioConfiguration; | ||||
36 | 38 | | |||
37 | class KRITAUI_EXPORT KisConfig | 39 | class KRITAUI_EXPORT KisConfig | ||
38 | { | 40 | { | ||
Context not available. | |||||
372 | bool levelOfDetailEnabled(bool defaultValue = false) const; | 374 | bool levelOfDetailEnabled(bool defaultValue = false) const; | ||
373 | void setLevelOfDetailEnabled(bool value); | 375 | void setLevelOfDetailEnabled(bool value); | ||
374 | 376 | | |||
377 | KisOcioConfiguration ocioConfiguration(bool defaultValue = false) const; | ||||
378 | void setOcioConfiguration(const KisOcioConfiguration &cfg); | ||||
379 | | ||||
375 | enum OcioColorManagementMode { | 380 | enum OcioColorManagementMode { | ||
376 | INTERNAL = 0, | 381 | INTERNAL = 0, | ||
377 | OCIO_CONFIG, | 382 | OCIO_CONFIG, | ||
Context not available. | |||||
381 | OcioColorManagementMode ocioColorManagementMode(bool defaultValue = false) const; | 386 | OcioColorManagementMode ocioColorManagementMode(bool defaultValue = false) const; | ||
382 | void setOcioColorManagementMode(OcioColorManagementMode mode) const; | 387 | void setOcioColorManagementMode(OcioColorManagementMode mode) const; | ||
383 | 388 | | |||
384 | QString ocioConfigurationPath(bool defaultValue = false) const; | | |||
385 | void setOcioConfigurationPath(const QString &path) const; | | |||
386 | | ||||
387 | QString ocioLutPath(bool defaultValue = false) const; | | |||
388 | void setOcioLutPath(const QString &path) const; | | |||
389 | | ||||
390 | int ocioLutEdgeSize(bool defaultValue = false) const; | 389 | int ocioLutEdgeSize(bool defaultValue = false) const; | ||
391 | void setOcioLutEdgeSize(int value); | 390 | void setOcioLutEdgeSize(int value); | ||
392 | 391 | | |||
Context not available. | |||||
579 | bool activateTransformToolAfterPaste(bool defaultValue = false) const; | 578 | bool activateTransformToolAfterPaste(bool defaultValue = false) const; | ||
580 | void setActivateTransformToolAfterPaste(bool value); | 579 | void setActivateTransformToolAfterPaste(bool value); | ||
581 | 580 | | |||
581 | enum RootSurfaceFormat { | ||||
582 | BT709_G22 = 0, | ||||
583 | BT709_G10, | ||||
584 | BT2020_PQ | ||||
585 | }; | ||||
586 | RootSurfaceFormat rootSurfaceFormat(bool defaultValue = false) const; | ||||
587 | void setRootSurfaceFormat(RootSurfaceFormat value); | ||||
588 | | ||||
589 | static RootSurfaceFormat rootSurfaceFormat(QSettings *displayrc, bool defaultValue = false); | ||||
590 | static void setRootSurfaceFormat(QSettings *displayrc, RootSurfaceFormat value); | ||||
591 | | ||||
582 | bool useZip64(bool defaultValue = false) const; | 592 | bool useZip64(bool defaultValue = false) const; | ||
583 | void setUseZip64(bool value); | 593 | void setUseZip64(bool value); | ||
584 | 594 | | |||
Context not available. |