44 void logImportantSettings()
const;
53 TouchPainting touchPainting(
bool defaultValue =
false)
const;
54 void setTouchPainting(TouchPainting
value)
const;
55 bool disableTouchOnCanvas()
const;
58 bool useProjections(
bool defaultValue =
false)
const;
59 void setUseProjections(
bool useProj)
const;
61 bool undoEnabled(
bool defaultValue =
false)
const;
62 void setUndoEnabled(
bool undo)
const;
64 int undoStackLimit(
bool defaultValue =
false)
const;
65 void setUndoStackLimit(
int limit)
const;
67 bool useCumulativeUndoRedo(
bool defaultValue =
false)
const;
68 void setCumulativeUndoRedo(
bool value);
73 qint32 defImageWidth(
bool defaultValue =
false)
const;
74 void defImageWidth(qint32 width)
const;
76 qint32 defImageHeight(
bool defaultValue =
false)
const;
77 void defImageHeight(qint32 height)
const;
79 qreal defImageResolution(
bool defaultValue =
false)
const;
80 void defImageResolution(qreal res)
const;
82 int preferredVectorImportResolutionPPI(
bool defaultValue =
false)
const;
83 void setPreferredVectorImportResolutionPPI(
int value)
const;
85 bool useDefaultColorSpace(
bool defaultvalue =
false)
const;
86 void setUseDefaultColorSpace(
bool value)
const;
90 QString defColorModel(
bool defaultValue =
false)
const;
94 void defColorModel(
const QString & model)
const;
99 QString defaultColorDepth(
bool defaultValue =
false)
const;
103 void setDefaultColorDepth(
const QString & depth)
const;
108 QString defColorProfile(
bool defaultValue =
false)
const;
112 void defColorProfile(
const QString & depth)
const;
114 CursorStyle newCursorStyle(
bool defaultValue =
false)
const;
117 QColor getCursorMainColor(
bool defaultValue =
false)
const;
118 void setCursorMainColor(
const QColor&
v)
const;
120 OutlineStyle newOutlineStyle(
bool defaultValue =
false)
const;
123 OutlineStyle lastUsedOutlineStyle(
bool defaultValue =
false)
const;
126 bool separateEraserCursor(
bool defaultValue =
false)
const;
127 void setSeparateEraserCursor(
bool value)
const;
129 CursorStyle eraserCursorStyle(
bool defaultValue =
false)
const;
132 QColor getEraserCursorMainColor(
bool defaultValue =
false)
const;
133 void setEraserCursorMainColor(
const QColor&
v)
const;
135 OutlineStyle eraserOutlineStyle(
bool defaultValue =
false)
const;
147 ColorSamplerPreviewStyle colorSamplerPreviewStyle(
bool defaultValue =
false)
const;
148 void setColorSamplerPreviewStyle(ColorSamplerPreviewStyle style);
150 int colorSamplerPreviewCircleDiameter(
bool defaultValue =
false)
const;
151 void setColorSamplerPreviewCircleDiameter(
int style);
153 qreal colorSamplerPreviewCircleThickness(
bool defaultValue =
false)
const;
154 void setColorSamplerPreviewCircleThickness(qreal thickness);
156 bool colorSamplerPreviewCircleOutlineEnabled(
bool defaultValue =
false)
const;
157 void setColorSamplerPreviewCircleOutlineEnabled(
bool enabled);
159 bool colorSamplerPreviewCircleExtraCirclesEnabled(
bool defaultValue =
false)
const;
160 void setColorSamplerPreviewCircleExtraCirclesEnabled(
bool enabled);
170 bool enableCanvasSurfaceColorSpaceManagement(
bool defaultValue =
false)
const;
171 void setEnableCanvasSurfaceColorSpaceManagement(
bool value);
186 CanvasSurfaceMode canvasSurfaceColorSpaceManagementMode(
bool defaultValue =
false)
const;
187 void setCanvasSurfaceColorSpaceManagementMode(CanvasSurfaceMode
value);
195 static CanvasSurfaceBitDepthMode canvasSurfaceBitDepthMode(QSettings *settings,
bool defaultValue =
false);
196 static void setCanvasSurfaceBitDepthMode(QSettings *settings, CanvasSurfaceBitDepthMode
value);
198 CanvasSurfaceBitDepthMode canvasSurfaceBitDepthMode(
bool defaultValue =
false)
const;
199 void setCanvasSurfaceBitDepthMode(CanvasSurfaceBitDepthMode
value);
201 CanvasSurfaceBitDepthMode effectiveCanvasSurfaceBitDepthMode(
const QSurfaceFormat &format)
const;
204 QString monitorProfile(
int screen)
const;
205 void setMonitorProfile(
int screen,
const QString & monitorProfile,
bool override)
const;
207 QString monitorForScreen(
int screen,
const QString &defaultMonitor,
bool defaultValue =
true)
const;
208 void setMonitorForScreen(
int screen,
const QString& monitor);
215 const QString getScreenStringIdentfier(
int screenNo)
const;
217 QString workingColorSpace(
bool defaultValue =
false)
const;
218 void setWorkingColorSpace(
const QString & workingColorSpace)
const;
223 QString printerColorSpace(
bool defaultValue =
false)
const;
224 void setPrinterColorSpace(
const QString & printerColorSpace)
const;
226 QString printerProfile(
bool defaultValue =
false)
const;
227 void setPrinterProfile(
const QString & printerProfile)
const;
229 bool useBlackPointCompensation(
bool defaultValue =
false)
const;
230 void setUseBlackPointCompensation(
bool useBlackPointCompensation)
const;
232 bool allowLCMSOptimization(
bool defaultValue =
false)
const;
233 void setAllowLCMSOptimization(
bool allowLCMSOptimization);
235 bool forcePaletteColors(
bool defaultValue =
false)
const;
236 void setForcePaletteColors(
bool forcePaletteColors);
238 bool colorHistoryPerDocument(
bool defaultValue =
false)
const;
240 void writeKoColor(
const QString& name,
const KoColor& color)
const;
244 void writeKoColors(
const QString &name,
const QList<KoColor> &colors)
const;
246 bool showRulers(
bool defaultValue =
false)
const;
247 void setShowRulers(
bool rulers)
const;
249 bool forceShowSaveMessages(
bool defaultValue =
true)
const;
250 void setForceShowSaveMessages(
bool value)
const;
252 bool forceShowAutosaveMessages(
bool defaultValue =
true)
const;
253 void setForceShowAutosaveMessages(
bool ShowAutosaveMessages)
const;
255 bool rulersTrackMouse(
bool defaultValue =
false)
const;
256 void setRulersTrackMouse(
bool value)
const;
258 qint32 pasteBehaviour(
bool defaultValue =
false)
const;
259 void setPasteBehaviour(qint32 behaviour)
const;
261 qint32 pasteFormat(
bool defaultValue)
const;
262 void setPasteFormat(qint32 format);
264 qint32 monitorRenderIntent(
bool defaultValue =
false)
const;
265 void setRenderIntent(qint32 monitorRenderIntent)
const;
267 bool useOpenGL(
bool defaultValue =
false)
const;
268 void disableOpenGL()
const;
270 int openGLFilteringMode(
bool defaultValue =
false)
const;
271 void setOpenGLFilteringMode(
int filteringMode);
273 void setWidgetStyle(QString name);
274 QString widgetStyle(
bool defaultValue =
false);
276 bool useOpenGLTextureBuffer(
bool defaultValue =
false)
const;
277 void setUseOpenGLTextureBuffer(
bool useBuffer);
279 static bool preferXcbEglProvider(
const QSettings *settings,
bool defaultValue =
false);
280 bool preferXcbEglProvider(
bool defaultValue =
false)
const;
281 void setPreferXcbEglProvider(
bool value);
283 bool forceOpenGLFenceWorkaround(
bool defaultValue =
false)
const;
285 int numMipmapLevels(
bool defaultValue =
false)
const;
286 int openGLTextureSize(
bool defaultValue =
false)
const;
287 int textureOverlapBorder()
const;
289 quint32 getGridMainStyle(
bool defaultValue =
false)
const;
290 void setGridMainStyle(quint32
v)
const;
292 quint32 getGridSubdivisionStyle(
bool defaultValue =
false)
const;
293 void setGridSubdivisionStyle(quint32
v)
const;
295 quint32 getGridIsoVerticalStyle(
bool defaultValue =
false)
const;
296 void setGridIsoVerticalStyle(quint32
v)
const;
298 QColor getGridMainColor(
bool defaultValue =
false)
const;
299 void setGridMainColor(
const QColor &
v)
const;
301 QColor getGridSubdivisionColor(
bool defaultValue =
false)
const;
302 void setGridSubdivisionColor(
const QColor &
v)
const;
304 QColor getGridIsoVerticalColor(
bool defaultValue =
false)
const;
305 void setGridIsoVerticalColor(
const QColor &
v)
const;
307 QColor getPixelGridColor(
bool defaultValue =
false)
const;
308 void setPixelGridColor(
const QColor &
v)
const;
310 qreal getPixelGridDrawingThreshold(
bool defaultValue =
false)
const;
311 void setPixelGridDrawingThreshold(qreal
v)
const;
313 bool pixelGridEnabled(
bool defaultValue =
false)
const;
314 void enablePixelGrid(
bool v)
const;
316 quint32 guidesLineStyle(
bool defaultValue =
false)
const;
317 void setGuidesLineStyle(quint32
v)
const;
318 QColor guidesColor(
bool defaultValue =
false)
const;
319 void setGuidesColor(
const QColor &
v)
const;
321 void loadSnapConfig(
KisSnapConfig *config,
bool defaultValue =
false)
const;
324 qint32 checkSize(
bool defaultValue =
false)
const;
325 void setCheckSize(qint32 checkSize)
const;
327 bool scrollCheckers(
bool defaultValue =
false)
const;
328 void setScrollingCheckers(
bool scrollCheckers)
const;
330 QColor checkersColor1(
bool defaultValue =
false)
const;
331 void setCheckersColor1(
const QColor &
v)
const;
333 QColor checkersColor2(
bool defaultValue =
false)
const;
334 void setCheckersColor2(
const QColor &
v)
const;
336 QColor canvasBorderColor(
bool defaultValue =
false)
const;
337 void setCanvasBorderColor(
const QColor &color)
const;
339 bool hideScrollbars(
bool defaultValue =
false)
const;
340 void setHideScrollbars(
bool value)
const;
342 bool scrollbarZoomEnabled(
bool defaultValue =
false)
const;
343 void setScrollbarZoomEnabled(
bool enabled)
const;
345 bool antialiasCurves(
bool defaultValue =
false)
const;
346 void setAntialiasCurves(
bool v)
const;
348 bool antialiasSelectionOutline(
bool defaultValue =
false)
const;
349 void setAntialiasSelectionOutline(
bool v)
const;
351 bool showRootLayer(
bool defaultValue =
false)
const;
352 void setShowRootLayer(
bool showRootLayer)
const;
354 bool showGlobalSelection(
bool defaultValue =
false)
const;
355 void setShowGlobalSelection(
bool showGlobalSelection)
const;
357 bool showOutlineWhilePainting(
bool defaultValue =
false)
const;
358 void setShowOutlineWhilePainting(
bool showOutlineWhilePainting)
const;
360 bool forceAlwaysFullSizedOutline(
bool defaultValue =
false)
const;
361 void setForceAlwaysFullSizedOutline(
bool value)
const;
363 bool showEraserOutlineWhilePainting(
bool defaultValue =
false)
const;
364 void setShowEraserOutlineWhilePainting(
bool showEraserOutlineWhilePainting)
const;
366 bool forceAlwaysFullSizedEraserOutline(
bool defaultValue =
false)
const;
367 void setForceAlwaysFullSizedEraserOutline(
bool value)
const;
372 SOS_ShowSessionManager
374 SessionOnStartup sessionOnStartup(
bool defaultValue =
false)
const;
375 void setSessionOnStartup(SessionOnStartup
value);
377 bool saveSessionOnQuit(
bool defaultValue)
const;
378 void setSaveSessionOnQuit(
bool value);
380 bool hideDevFundBanner(
bool defaultValue =
false)
const;
381 void setHideDevFundBanner(
bool value =
true);
383 qreal outlineSizeMinimum(
bool defaultValue =
false)
const;
384 void setOutlineSizeMinimum(qreal outlineSizeMinimum)
const;
386 qreal selectionViewSizeMinimum(
bool defaultValue =
false)
const;
387 void setSelectionViewSizeMinimum(qreal outlineSizeMinimum)
const;
389 int autoSaveInterval(
bool defaultValue =
false)
const;
390 void setAutoSaveInterval(
int seconds)
const;
392 bool backupFile(
bool defaultValue =
false)
const;
393 void setBackupFile(
bool backupFile)
const;
395 bool showFilterGallery(
bool defaultValue =
false)
const;
396 void setShowFilterGallery(
bool showFilterGallery)
const;
398 bool showFilterGalleryLayerMaskDialog(
bool defaultValue =
false)
const;
399 void setShowFilterGalleryLayerMaskDialog(
bool showFilterGallery)
const;
402 QString canvasState(
bool defaultValue =
false)
const;
403 void setCanvasState(
const QString& state)
const;
405 bool toolOptionsPopupDetached(
bool defaultValue =
false)
const;
406 void setToolOptionsPopupDetached(
bool detached)
const;
408 bool paintopPopupDetached(
bool defaultValue =
false)
const;
409 void setPaintopPopupDetached(
bool detached)
const;
411 QString pressureTabletCurve(
bool defaultValue =
false)
const;
412 void setPressureTabletCurve(
const QString& curveString)
const;
414 bool useWin8PointerInput(
bool defaultValue =
false)
const;
415 void setUseWin8PointerInput(
bool value);
417 static bool useWin8PointerInputNoApp(QSettings *settings,
bool defaultValue =
false);
418 static void setUseWin8PointerInputNoApp(QSettings *settings,
bool value);
420 bool useRightMiddleTabletButtonWorkaround(
bool defaultValue =
false)
const;
421 void setUseRightMiddleTabletButtonWorkaround(
bool value);
424 bool usePageUpDownMouseButtonEmulationWorkaround(
bool defaultValue =
false)
const;
425 void setUsePageUpDownMouseButtonEmulationWorkaround(
bool value);
427 bool useHighFunctionKeyMouseButtonEmulationWorkaround(
bool defaultValue =
false)
const;
428 void setUseHighFunctionKeyMouseButtonEmulationWorkaround(
bool value);
430 bool useIgnoreHistoricTabletEventsWorkaround(
bool defaultValue =
false)
const;
431 void setUseIgnoreHistoricTabletEventsWorkaround(
bool value);
434 qreal vastScrolling(
bool defaultValue =
false)
const;
435 void setVastScrolling(
const qreal factor)
const;
437 int presetChooserViewMode(
bool defaultValue =
false)
const;
438 void setPresetChooserViewMode(
const int mode)
const;
440 int presetIconSize(
bool defaultValue =
false)
const;
441 void setPresetIconSize(
const int value)
const;
444 bool firstRun(
bool defaultValue =
false)
const;
445 void setFirstRun(
const bool firstRun)
const;
447 bool clicklessSpacePan(
bool defaultValue =
false)
const;
448 void setClicklessSpacePan(
const bool toggle)
const;
450 int horizontalSplitLines(
bool defaultValue =
false)
const;
451 void setHorizontalSplitLines(
const int numberLines)
const;
453 int verticalSplitLines(
bool defaultValue =
false)
const;
454 void setVerticalSplitLines(
const int numberLines)
const;
456 bool hideDockersFullscreen(
bool defaultValue =
false)
const;
457 void setHideDockersFullscreen(
const bool value)
const;
459 bool showDockerTitleBars(
bool defaultValue =
false)
const;
460 void setShowDockerTitleBars(
const bool value)
const;
462 bool showDockers(
bool defaultValue =
false)
const;
463 void setShowDockers(
const bool value)
const;
465 bool showStatusBar(
bool defaultValue =
false)
const;
466 void setShowStatusBar(
const bool value)
const;
468 bool hideMenuFullscreen(
bool defaultValue =
false)
const;
469 void setHideMenuFullscreen(
const bool value)
const;
471 bool hideScrollbarsFullscreen(
bool defaultValue =
false)
const;
472 void setHideScrollbarsFullscreen(
const bool value)
const;
474 bool hideStatusbarFullscreen(
bool defaultValue =
false)
const;
475 void setHideStatusbarFullscreen(
const bool value)
const;
477 bool hideTitlebarFullscreen(
bool defaultValue =
false)
const;
478 void setHideTitlebarFullscreen(
const bool value)
const;
480 bool hideToolbarFullscreen(
bool defaultValue =
false)
const;
481 void setHideToolbarFullscreen(
const bool value)
const;
483 bool fullscreenMode(
bool defaultValue =
false)
const;
484 void setFullscreenMode(
const bool value)
const;
486 QStringList favoriteCompositeOps(
bool defaultValue =
false)
const;
487 void setFavoriteCompositeOps(
const QStringList& compositeOps)
const;
489 QString exportConfigurationXML(
const QString &filterId,
bool defaultValue =
false)
const;
493 QString importConfiguration(
const QString &filterId,
bool defaultValue =
false)
const;
496 bool useOcio(
bool defaultValue =
false)
const;
497 void setUseOcio(
bool useOCIO)
const;
499 int favoritePresets(
bool defaultValue =
false)
const;
500 void setFavoritePresets(
const int value);
502 bool levelOfDetailEnabled(
bool defaultValue =
false)
const;
503 void setLevelOfDetailEnabled(
bool value);
514 OcioColorManagementMode ocioColorManagementMode(
bool defaultValue =
false)
const;
515 void setOcioColorManagementMode(OcioColorManagementMode mode)
const;
517 int ocioLutEdgeSize(
bool defaultValue =
false)
const;
518 void setOcioLutEdgeSize(
int value);
520 bool ocioLockColorVisualRepresentation(
bool defaultValue =
false)
const;
521 void setOcioLockColorVisualRepresentation(
bool value);
523 bool useSystemMonitorProfile(
bool defaultValue =
false)
const;
524 void setUseSystemMonitorProfile(
bool _useSystemMonitorProfile)
const;
526 QString defaultPalette(
bool defaultValue =
false)
const;
527 void setDefaultPalette(
const QString& name)
const;
529 QString toolbarSlider(
int sliderNumber,
bool defaultValue =
false)
const;
530 void setToolbarSlider(
int sliderNumber,
const QString &slider);
533 int layerThumbnailSize(
bool defaultValue =
false)
const;
534 void setLayerThumbnailSize(
int size);
536 int layerTreeIndentation(
bool defaultValue =
false)
const;
537 void setLayerTreeIndentation(
int percentage);
540 bool sliderLabels(
bool defaultValue =
false)
const;
541 void setSliderLabels(
bool enabled);
543 QString currentInputProfile(
bool defaultValue =
false)
const;
544 void setCurrentInputProfile(
const QString& name);
546 bool presetStripVisible(
bool defaultValue =
false)
const;
547 void setPresetStripVisible(
bool visible);
549 bool scratchpadVisible(
bool defaultValue =
false)
const;
550 void setScratchpadVisible(
bool visible);
552 bool showSingleChannelAsColor(
bool defaultValue =
false)
const;
553 void setShowSingleChannelAsColor(
bool asColor);
555 bool hidePopups(
bool defaultValue =
false)
const;
556 void setHidePopups(
bool hidePopups);
558 int numDefaultLayers(
bool defaultValue =
false)
const;
559 void setNumDefaultLayers(
int num);
561 quint8 defaultBackgroundOpacity(
bool defaultValue =
false)
const;
562 void setDefaultBackgroundOpacity(quint8
value);
564 QColor defaultBackgroundColor(
bool defaultValue =
false)
const;
565 void setDefaultBackgroundColor(
const QColor &
value);
573 BackgroundStyle defaultBackgroundStyle(
bool defaultValue =
false)
const;
574 void setDefaultBackgroundStyle(BackgroundStyle
value);
576 int lineSmoothingType(
bool defaultValue =
false)
const;
577 void setLineSmoothingType(
int value);
579 qreal lineSmoothingDistanceMin(
bool defaultValue =
false)
const;
580 void setLineSmoothingDistanceMin(qreal
value);
582 qreal lineSmoothingDistanceMax(
bool defaultValue =
false)
const;
583 void setLineSmoothingDistanceMax(qreal
value);
585 bool lineSmoothingDistanceKeepAspectRatio(
bool defaultValue =
false)
const;
586 void setLineSmoothingDistanceKeepAspectRatio(
bool value);
588 qreal lineSmoothingTailAggressiveness(
bool defaultValue =
false)
const;
589 void setLineSmoothingTailAggressiveness(qreal
value);
591 bool lineSmoothingSmoothPressure(
bool defaultValue =
false)
const;
592 void setLineSmoothingSmoothPressure(
bool value);
594 bool lineSmoothingScalableDistance(
bool defaultValue =
false)
const;
595 void setLineSmoothingScalableDistance(
bool value);
597 qreal lineSmoothingDelayDistance(
bool defaultValue =
false)
const;
598 void setLineSmoothingDelayDistance(qreal
value);
600 bool lineSmoothingUseDelayDistance(
bool defaultValue =
false)
const;
601 void setLineSmoothingUseDelayDistance(
bool value);
603 bool lineSmoothingFinishStabilizedCurve(
bool defaultValue =
false)
const;
604 void setLineSmoothingFinishStabilizedCurve(
bool value);
606 bool lineSmoothingStabilizeSensors(
bool defaultValue =
false)
const;
607 void setLineSmoothingStabilizeSensors(
bool value);
609 int tabletEventsDelay(
bool defaultValue =
false)
const;
610 void setTabletEventsDelay(
int value);
612 bool trackTabletEventLatency(
bool defaultValue =
false)
const;
613 void setTrackTabletEventLatency(
bool value);
615 bool ignoreHighFunctionKeys(
bool defaultValue =
false)
const;
616 void setIgnoreHighFunctionKeys(
bool value);
618 bool testingAcceptCompressedTabletEvents(
bool defaultValue =
false)
const;
619 void setTestingAcceptCompressedTabletEvents(
bool value);
621 bool shouldEatDriverShortcuts(
bool defaultValue =
false)
const;
623 bool testingCompressBrushEvents(
bool defaultValue =
false)
const;
624 void setTestingCompressBrushEvents(
bool value);
626 const KoColorSpace* customColorSelectorColorSpace(
bool defaultValue =
false)
const;
627 void setCustomColorSelectorColorSpace(
const KoColorSpace *cs);
629 bool useDirtyPresets(
bool defaultValue =
false)
const;
630 void setUseDirtyPresets(
bool value);
632 bool useEraserBrushSize(
bool defaultValue =
false)
const;
633 void setUseEraserBrushSize(
bool value);
635 bool useEraserBrushOpacity(
bool defaultValue =
false)
const;
636 void setUseEraserBrushOpacity(
bool value);
638 QPoint getDefaultGridSpacing(
bool defaultValue =
false)
const;
639 void setDefaultGridSpacing(QPoint gridSpacing);
641 QString getMDIBackgroundColor(
bool defaultValue =
false)
const;
642 void setMDIBackgroundColor(
const QString &
v)
const;
644 QString getMDIBackgroundImage(
bool defaultValue =
false)
const;
645 void setMDIBackgroundImage(
const QString & fileName)
const;
647 int workaroundX11SmoothPressureSteps(
bool defaultValue =
false)
const;
649 bool showCanvasMessages(
bool defaultValue =
false)
const;
650 void setShowCanvasMessages(
bool show);
652 bool compressKra(
bool defaultValue =
false)
const;
653 void setCompressKra(
bool compress);
655 bool trimKra(
bool defaultValue =
false)
const;
656 void setTrimKra(
bool trim);
658 bool trimFramesImport(
bool defaultValue =
false)
const;
659 void setTrimFramesImport(
bool trim);
661 QString exportMimeType(
bool defaultValue)
const;
662 void setExportMimeType(
const QString &defaultExportMimeType);
664 bool toolOptionsInDocker(
bool defaultValue =
false)
const;
665 void setToolOptionsInDocker(
bool inDocker);
667 bool kineticScrollingEnabled(
bool defaultValue =
false)
const;
668 void setKineticScrollingEnabled(
bool enabled);
670 int kineticScrollingGesture(
bool defaultValue =
false)
const;
671 void setKineticScrollingGesture(
int kineticScroll);
673 int kineticScrollingSensitivity(
bool defaultValue =
false)
const;
674 void setKineticScrollingSensitivity(
int sensitivity);
676 bool kineticScrollingHiddenScrollbars(
bool defaultValue =
false)
const;
677 void setKineticScrollingHideScrollbars(
bool scrollbar);
679 int zoomSteps(
bool defaultValue =
false)
const;
680 void setZoomSteps(
int steps);
682 int zoomMarginSize(
bool defaultValue =
false)
const;
683 void setZoomMarginSize(
int zoomMarginSize);
685 void setEnableOpenGLFramerateLogging(
bool value)
const;
686 bool enableOpenGLFramerateLogging(
bool defaultValue =
false)
const;
688 void setEnableBrushSpeedLogging(
bool value)
const;
689 bool enableBrushSpeedLogging(
bool defaultValue =
false)
const;
691 void setDisableVectorOptimizations(
bool value);
692 bool disableVectorOptimizations(
bool defaultValue =
false)
const;
694 void setDisableAVXOptimizations(
bool value);
695 bool disableAVXOptimizations(
bool defaultValue =
false)
const;
697 void setAnimationPlaybackBackend(
int value);
698 int animationPlaybackBackend(
bool defaultValue =
false)
const;
700 bool animationDropFrames(
bool defaultValue =
false)
const;
701 void setAnimationDropFrames(
bool value);
703 bool autoPinLayersToTimeline(
bool defaultValue =
false)
const;
704 void setAutoPinLayersToTimeline(
bool value);
706 bool adaptivePlaybackRange(
bool defaultValue =
false)
const;
707 void setAdaptivePlaybackRange(
bool value);
709 bool autoZoomTimelineToPlaybackRange(
bool defaultValue =
false)
const;
710 void setAutoZoomTimelineToPlaybackRange(
bool value);
712 QString ffmpegLocation(
bool defaultValue =
false)
const;
713 void setFFMpegLocation(
const QString&
value);
715 qreal timelineZoom(
bool defaultValue =
false)
const;
716 void setTimelineZoom(qreal
value);
718 int scrubbingUpdatesDelay(
bool defaultValue =
false)
const;
719 void setScrubbingUpdatesDelay(
int value);
721 int scrubbingAudioUpdatesDelay(
bool defaultValue =
false)
const;
722 void setScrubbingAudioUpdatesDelay(
int value);
724 int audioOffsetTolerance(
bool defaultValue =
false)
const;
725 void setAudioOffsetTolerance(
int value);
727 bool switchSelectionCtrlAlt(
bool defaultValue =
false)
const;
728 void setSwitchSelectionCtrlAlt(
bool value);
730 bool convertToImageColorspaceOnImport(
bool defaultValue =
false)
const;
731 void setConvertToImageColorspaceOnImport(
bool value);
733 int stabilizerSampleSize(
bool defaultValue =
false)
const;
734 void setStabilizerSampleSize(
int value);
736 bool stabilizerDelayedPaint(
bool defaultValue =
false)
const;
737 void setStabilizerDelayedPaint(
bool value);
739 bool showBrushHud(
bool defaultValue =
false)
const;
740 void setShowBrushHud(
bool value);
742 bool showPaletteBottomBar(
bool defaultValue =
false)
const;
743 void setShowPaletteBottomBar(
bool value);
745 QString brushHudSetting(
bool defaultValue =
false)
const;
746 void setBrushHudSetting(
const QString &
value)
const;
748 bool calculateAnimationCacheInBackground(
bool defaultValue =
false)
const;
749 void setCalculateAnimationCacheInBackground(
bool value);
751 QColor defaultAssistantsColor(
bool defaultValue =
false)
const;
752 void setDefaultAssistantsColor(
const QColor &color)
const;
754 bool autoSmoothBezierCurves(
bool defaultValue =
false)
const;
755 void setAutoSmoothBezierCurves(
bool value);
757 bool activateTransformToolAfterPaste(
bool defaultValue =
false)
const;
758 void setActivateTransformToolAfterPaste(
bool value);
760 bool zoomHorizontal(
bool defaultValue =
false)
const;
761 void setZoomHorizontal(
bool value);
763 bool selectionActionBar(
bool defaultValue =
false)
const;
764 void setSelectionActionBar(
bool value);
771 RootSurfaceFormat rootSurfaceFormat(
bool defaultValue =
false)
const;
772 void setRootSurfaceFormat(RootSurfaceFormat
value);
774 static RootSurfaceFormat rootSurfaceFormat(QSettings *displayrc,
bool defaultValue =
false);
775 static void setRootSurfaceFormat(QSettings *displayrc, RootSurfaceFormat
value);
777 bool useZip64(
bool defaultValue =
false)
const;
778 void setUseZip64(
bool value);
780 bool convertLayerColorSpaceInProperties(
bool defaultValue =
false)
const;
781 void setConvertLayerColorSpaceInProperties(
bool value);
783 bool renamePastedLayers(
bool defaultValue =
false)
const;
784 void setRenamePastedLayers(
bool value);
792 LayerInfoTextStyle layerInfoTextStyle(
bool defaultValue =
false)
const;
793 void setLayerInfoTextStyle(LayerInfoTextStyle
value);
795 int layerInfoTextOpacity(
bool defaultValue =
false)
const;
796 void setLayerInfoTextOpacity(
int value);
798 bool useInlineLayerInfoText(
bool defaultValue =
false)
const;
799 void setUseInlineLayerInfoText(
bool value);
801 bool useLayerSelectionCheckbox(
bool defaultValue =
false)
const;
802 void setUseLayerSelectionCheckbox(
bool value);
805 ASSISTANTS_DRAW_MODE_DIRECT = 0,
806 ASSISTANTS_DRAW_MODE_PIXMAP_CACHE = 1,
807 ASSISTANTS_DRAW_MODE_LARGE_PIXMAP_CACHE = 2,
809 AssistantsDrawMode assistantsDrawMode(
bool defaultValue =
false)
const;
810 void setAssistantsDrawMode(AssistantsDrawMode
value);
812 bool longPressEnabled(
bool defaultValue =
false)
const;
813 void setLongPressEnabled(
bool value);
821 int layerThumbnailGenerationTimeout(
bool defaultValue =
false)
const;
822 void setLayerThumbnailGenerationTimeout(
int value);
826 m_cfg.writeEntry(name,
value);
831 m_cfg.writeEntry(name,
value);
835 T
readEntry(
const QString& name,
const T& defaultValue=T()) {
836 return m_cfg.readEntry(name, defaultValue);
841 return m_cfg.readEntry(name, defaultValue);