36 QWindow *nativeWindow = widget->windowHandle();
39 std::unique_ptr<KisSurfaceColorManagerInterface> iface(
49#include <moc_KisSRGBSurfaceColorSpaceManager.cpp>
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
static KisConfigNotifier * instance()
KisDisplayConfig This class keeps track of the color management configuration for image to display....
static Options optionsFromKisConfig(const KisConfig &cfg)
KisSRGBSurfaceColorSpaceManager(KisSurfaceColorManagerInterface *interface, QObject *parent=nullptr)
static KisSRGBSurfaceColorSpaceManager * tryCreateForCurrentPlatform(QWidget *widget)
~KisSRGBSurfaceColorSpaceManager()
#define KIS_SAFE_ASSERT_RECOVER_RETURN_VALUE(cond, val)
void setDisplayConfigOptions(const KisConfig::CanvasSurfaceMode surfaceMode, const KisDisplayConfig::Options &options)