Krita Source Code Documentation
Loading...
Searching...
No Matches
WGConfig Namespace Reference

Classes

struct  ColorPatches
 
struct  GenericSetting
 
struct  NumericSetting
 
struct  ShadeLine
 
class  WGConfig
 
class  WGConfigNotifier
 

Typedefs

typedef class WGConfig Accessor
 

Enumerations

enum  Scrolling { ScrollNone , ScrollLongitudinal , ScrollLaterally }
 

Functions

WGConfigNotifiernotifier ()
 

Variables

const ColorPatches colorHistory
 
const GenericSetting< bool > colorHistoryEnabled {"colorHistoryEnabled", true}
 
const GenericSetting< bool > colorHistoryShowClearButton { "colorHistoryShowClearButton", false }
 
const NumericSetting< WGColorSelectorDock::ColorSpaceSourcecolorSpaceSource
 
const ColorPatches commonColors
 
const GenericSetting< bool > commonColorsAutoUpdate { "commonColorsAutoUpdate", false }
 
const GenericSetting< bool > commonColorsEnabled {"commonColorsEnabled", true}
 
const GenericSetting< bool > minimalShadeSelectorEnabled {"minimalShadeSelectorEnabled", true}
 
const ColorPatches popupPatches
 
const NumericSetting< int > popupSize { "popupSize", 300, 100, 500, true }
 
const GenericSetting< bool > proofToPaintingColors {"proofToPaintingColors", false}
 
const GenericSetting< bool > quickSettingsEnabled { "quickSettingsMenuEnabled", true }
 
const NumericSetting< KisVisualColorModel::ColorModelrgbColorModel
 
const NumericSetting< KisVisualColorSelector::RenderModeselectorRenderMode
 
const NumericSetting< int > shadeSelectorLineHeight { "shadeSelectorLineHeight", 10, 8, 99 }
 
const GenericSetting< bool > shadeSelectorUpdateOnExternalChanges { "shadeSelectorUpdateOnExternalChanges", true }
 
const GenericSetting< bool > shadeSelectorUpdateOnInteractionEnd { "shadeSelectorUpdateOnInteractionEnd", false }
 
const GenericSetting< bool > shadeSelectorUpdateOnRightClick { "shadeSelectorUpdateOnRightClick", true }
 

Typedef Documentation

◆ Accessor

Definition at line 27 of file WGActionManager.h.

Enumeration Type Documentation

◆ Scrolling

Enumerator
ScrollNone 
ScrollLongitudinal 
ScrollLaterally 

Definition at line 188 of file WGConfig.h.

188 {
192};
@ ScrollLongitudinal
Definition WGConfig.h:190
@ ScrollLaterally
Definition WGConfig.h:191
@ ScrollNone
Definition WGConfig.h:189

Function Documentation

◆ notifier()

WGConfigNotifier * WGConfig::notifier ( )
Returns
the WGConfigNotifier singleton

Definition at line 190 of file WGConfig.cpp.

191{
192 return s_notifier_instance;
193}

Variable Documentation

◆ colorHistory

const ColorPatches WGConfig::colorHistory
Initial value:
{
{ "colorHistory.orientation", Qt::Horizontal, Qt::Horizontal, Qt::Vertical, true },
{ "colorHistory.patchSize", QSize(16,16), QSize(10,10), QSize(99,99), true },
{ "colorHistory.maxCount", 30, 2, 200, true },
{ "colorHistory.rows", 1, 1, 20, true },
{ "colorHistory.scrolling", ScrollLongitudinal, ScrollNone, ScrollLaterally, true }
}

Definition at line 213 of file WGConfig.cpp.

213 {
214 { "colorHistory.orientation", Qt::Horizontal, Qt::Horizontal, Qt::Vertical, true },
215 { "colorHistory.patchSize", QSize(16,16), QSize(10,10), QSize(99,99), true },
216 { "colorHistory.maxCount", 30, 2, 200, true },
217 { "colorHistory.rows", 1, 1, 20, true },
218 { "colorHistory.scrolling", ScrollLongitudinal, ScrollNone, ScrollLaterally, true }
219};

◆ colorHistoryEnabled

const GenericSetting< bool > WGConfig::colorHistoryEnabled {"colorHistoryEnabled", true}

Definition at line 238 of file WGConfig.cpp.

238{"colorHistoryEnabled", true};

◆ colorHistoryShowClearButton

const GenericSetting< bool > WGConfig::colorHistoryShowClearButton { "colorHistoryShowClearButton", false }

Definition at line 240 of file WGConfig.cpp.

240{ "colorHistoryShowClearButton", false };

◆ colorSpaceSource

◆ commonColors

const ColorPatches WGConfig::commonColors
Initial value:
{
{ "commonColors.orientation", Qt::Horizontal, Qt::Horizontal, Qt::Vertical, true },
{ "commonColors.patchSize", QSize(16,16), QSize(10,10), QSize(99,99), true },
{ "commonColors.maxCount", 20, 2, 200, true },
{ "commonColors.rows", 1, 1, 20, true },
{ "commonColors.scrolling", ScrollLongitudinal, ScrollNone, ScrollLaterally, true }
}

Definition at line 221 of file WGConfig.cpp.

221 {
222 { "commonColors.orientation", Qt::Horizontal, Qt::Horizontal, Qt::Vertical, true },
223 { "commonColors.patchSize", QSize(16,16), QSize(10,10), QSize(99,99), true },
224 { "commonColors.maxCount", 20, 2, 200, true },
225 { "commonColors.rows", 1, 1, 20, true },
226 { "commonColors.scrolling", ScrollLongitudinal, ScrollNone, ScrollLaterally, true }
227};

◆ commonColorsAutoUpdate

const GenericSetting< bool > WGConfig::commonColorsAutoUpdate { "commonColorsAutoUpdate", false }

Definition at line 241 of file WGConfig.cpp.

241{ "commonColorsAutoUpdate", false };

◆ commonColorsEnabled

const GenericSetting< bool > WGConfig::commonColorsEnabled {"commonColorsEnabled", true}

Definition at line 239 of file WGConfig.cpp.

239{"commonColorsEnabled", true};

◆ minimalShadeSelectorEnabled

const GenericSetting< bool > WGConfig::minimalShadeSelectorEnabled {"minimalShadeSelectorEnabled", true}

Definition at line 246 of file WGConfig.cpp.

246{"minimalShadeSelectorEnabled", true};

◆ popupPatches

const ColorPatches WGConfig::popupPatches
Initial value:
{
{ "popupColorPatchOrientation", Qt::Horizontal, Qt::Horizontal, Qt::Vertical, true },
{ "popupColorPatchSize", QSize(32,32), QSize(10,10), QSize(99,99), true },
{ "popupPatches.maxCount", 30, 2, 200, true },
{ "popupPatches.rows", 1, 1, 20, true },
{ "popupPatches.scrolling", ScrollLongitudinal, ScrollNone, ScrollLaterally, true }
}

Definition at line 229 of file WGConfig.cpp.

229 {
230 { "popupColorPatchOrientation", Qt::Horizontal, Qt::Horizontal, Qt::Vertical, true },
231 { "popupColorPatchSize", QSize(32,32), QSize(10,10), QSize(99,99), true },
232 { "popupPatches.maxCount", 30, 2, 200, true },
233 { "popupPatches.rows", 1, 1, 20, true },
234 { "popupPatches.scrolling", ScrollLongitudinal, ScrollNone, ScrollLaterally, true }
235};

◆ popupSize

const NumericSetting< int > WGConfig::popupSize { "popupSize", 300, 100, 500, true }

Definition at line 244 of file WGConfig.cpp.

244{ "popupSize", 300, 100, 500, true };

◆ proofToPaintingColors

const GenericSetting< bool > WGConfig::proofToPaintingColors {"proofToPaintingColors", false}

Definition at line 237 of file WGConfig.cpp.

237{"proofToPaintingColors", false};

◆ quickSettingsEnabled

const GenericSetting< bool > WGConfig::quickSettingsEnabled { "quickSettingsMenuEnabled", true }

Definition at line 243 of file WGConfig.cpp.

243{ "quickSettingsMenuEnabled", true };

◆ rgbColorModel

◆ selectorRenderMode

◆ shadeSelectorLineHeight

const NumericSetting< int > WGConfig::shadeSelectorLineHeight { "shadeSelectorLineHeight", 10, 8, 99 }

Definition at line 247 of file WGConfig.cpp.

247{ "shadeSelectorLineHeight", 10, 8, 99 };

◆ shadeSelectorUpdateOnExternalChanges

const GenericSetting< bool > WGConfig::shadeSelectorUpdateOnExternalChanges { "shadeSelectorUpdateOnExternalChanges", true }

Definition at line 248 of file WGConfig.cpp.

248{ "shadeSelectorUpdateOnExternalChanges", true };

◆ shadeSelectorUpdateOnInteractionEnd

const GenericSetting< bool > WGConfig::shadeSelectorUpdateOnInteractionEnd { "shadeSelectorUpdateOnInteractionEnd", false }

Definition at line 249 of file WGConfig.cpp.

249{ "shadeSelectorUpdateOnInteractionEnd", false };

◆ shadeSelectorUpdateOnRightClick

const GenericSetting< bool > WGConfig::shadeSelectorUpdateOnRightClick { "shadeSelectorUpdateOnRightClick", true }

Definition at line 250 of file WGConfig.cpp.

250{ "shadeSelectorUpdateOnRightClick", true };