Geometrize  1.0
An application for geometrizing images into geometric primitives
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Public Member Functions | Private Member Functions | Private Attributes | List of all members
geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl Class Reference
Collaboration diagram for geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl:
Collaboration graph
[legend]

Public Member Functions

 GlobalPreferencesImpl ()
 
 ~GlobalPreferencesImpl ()
 
GlobalPreferencesImploperator= (const GlobalPreferencesImpl &)=default
 
 GlobalPreferencesImpl (const GlobalPreferencesImpl &)=default
 
bool load (const std::string &filePath)
 
bool save (const std::string &filePath)
 
unsigned int getApplicationLaunchCount () const
 
void incrementApplicationLaunchCount ()
 
bool shouldShowWelcomeScreenOnLaunch () const
 
void setShouldShowWelcomeScreenOnLaunch (const bool show)
 
bool shouldGeometrizeAppLogoOnLaunch () const
 
void setShouldGeometrizeAppLogoOnLaunch (const bool geometrizeLogo)
 
bool shouldPopulateRecentItemsOnLaunch () const
 
void setShouldPopulateRecentItemsOnLaunch (const bool populateRecents)
 
bool shouldPopulateTemplatesOnLaunch () const
 
void setShouldPopulateTemplatesOnLaunch (const bool populateTemplates)
 
std::array< std::int32_t, 4 > getCustomImageTaskBackgroundOverrideColor () const
 
void setCustomImageTaskBackgroundOverrideColor (const std::int32_t r, const std::int32_t g, const std::int32_t b, const std::int32_t a)
 
bool shouldUseCustomImageTaskBackgroundOverrideColor () const
 
void setShouldUseCustomImageTaskBackgroundOverrideColor (const bool useColor)
 
std::array< std::int32_t, 4 > getTargetImageAlphaReplacementColor () const
 
void setTargetImageAlphaReplacementColor (const std::int32_t r, const std::int32_t g, const std::int32_t b, const std::int32_t a)
 
bool shouldUseImageAlphaReplacementColor () const
 
void setShouldReplaceTargetImageAlphaWithCustomColor (const bool useColor)
 
bool shouldAutoLoadImageTaskSettings () const
 
void setShouldAutoLoadImageTaskSettings (const bool loadSettings)
 
bool shouldAutoSaveImageTaskSettings () const
 
void setShouldAutoSaveImageTaskSettings (const bool saveSettings)
 
bool shouldShowLaunchConsoleByDefault () const
 
void setShouldShowLaunchConsoleByDefault (const bool showConsole)
 
bool shouldShowImageTaskVectorViewByDefault () const
 
void setShouldShowImageTaskVectorViewByDefault (const bool showVectorView)
 
bool shouldShowImageTaskConsoleByDefault () const
 
void setShouldShowImageTaskConsoleByDefault (const bool showConsole)
 
bool shouldShowImageTaskScriptEditorByDefault () const
 
void setShouldShowImageTaskScriptEditorByDefault (const bool showScriptEditor)
 
bool shouldShowImageTaskPixmapViewByDefault () const
 
void setShouldShowImageTaskPixmapViewByDefault (const bool showPixmapView)
 
void setImageTaskResizeThreshold (const std::uint32_t width, const std::uint32_t height)
 
std::pair< std::uint32_t,
std::uint32_t > 
getImageTaskResizeThreshold () const
 
bool isImageTaskImageResizeEnabled () const
 
void setImageTaskImageResizeEnabled (const bool enabled)
 
std::uint32_t getImageTaskMaxThreads () const
 
void setImageTaskMaxThreads (const std::uint32_t maxThreads)
 
std::string getLanguageIsoCode () const
 
void setLanguageIsoCode (const std::string &languageIsoCode)
 
std::string getScriptIsoCode () const
 
void setScriptIsoCode (const std::string &scriptIsoCode)
 
std::string getCountryIsoCode () const
 
void setCountryIsoCode (const std::string &countryIsoCode)
 
std::string getLocaleName () const
 
void setLocaleName (const std::string &localeName)
 

Private Member Functions

template<typename T >
void performArchival (T &archive)
 

Private Attributes

serialization::GlobalPreferencesData m_data
 
unsigned int m_applicationLaunchCount {0}
 
bool m_shouldShowWelcomeScreenOnLaunch {true}
 
bool m_shouldGeometrizeAppLogoOnLaunch {false}
 
bool m_shouldPopulateRecentItemsOnLaunch {true}
 
bool m_shouldPopulateTemplatesOnLaunch {true}
 
std::array< std::int32_t, 4 > m_customImageTaskBackgroundOverrideColor { 128, 64, 196, 255 }
 
bool m_shouldUseCustomImageTaskBackgroundOverrideColor {false}
 
std::array< std::int32_t, 4 > m_targetImageAlphaReplacementColor { 255, 255, 255, 255 }
 
bool m_shouldUseImageAlphaReplacementColor {false}
 
bool m_shouldAutoLoadImageTaskSettings {false}
 
bool m_shouldAutoSaveImageTaskSettings {false}
 
bool m_shouldShowLaunchConsoleByDefault {false}
 
bool m_shouldShowImageTaskVectorViewByDefault {false}
 
bool m_shouldShowImageTaskConsoleByDefault {false}
 
bool m_shouldShowImageTaskScriptEditorByDefault {false}
 
bool m_shouldShowImageTaskPixmapViewByDefault {true}
 
bool m_imageTaskResizeEnabled {true}
 
std::pair< std::uint32_t,
std::uint32_t > 
m_imageTaskResizeThreshold {256, 256}
 
std::uint32_t m_imageTaskMaxThreads {4}
 
std::string m_languageIsoCode {"en"}
 
std::string m_scriptIsoCode {"Latn"}
 
std::string m_countryIsoCode {"US"}
 

Constructor & Destructor Documentation

geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::GlobalPreferencesImpl ( )
inline
42  {
44  }
bool load(const std::string &filePath)
Definition: globalpreferences.cpp:55
std::string getGlobalPreferencesConfigPath()
getGlobalPreferencesConfigPath Gets the absolute path to where the global preferences config file sho...
Definition: globalpreferences.cpp:23

Here is the call graph for this function:

geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::~GlobalPreferencesImpl ( )
inline
47  {
48  // NOTE this should really be done after everything else is done writing to preferences
50  }
bool save(const std::string &filePath)
Definition: globalpreferences.cpp:67
std::string getGlobalPreferencesConfigPath()
getGlobalPreferencesConfigPath Gets the absolute path to where the global preferences config file sho...
Definition: globalpreferences.cpp:23

Here is the call graph for this function:

geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::GlobalPreferencesImpl ( const GlobalPreferencesImpl )
default

Member Function Documentation

unsigned int geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::getApplicationLaunchCount ( ) const
inline
90  {
92  }
unsigned int m_applicationLaunchCount
Definition: globalpreferences.cpp:397
std::string geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::getCountryIsoCode ( ) const
inline
301  {
302  return m_countryIsoCode;
303  }
std::string m_countryIsoCode
Definition: globalpreferences.cpp:426
std::array<std::int32_t, 4> geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::getCustomImageTaskBackgroundOverrideColor ( ) const
inline
140  {
142  }
std::array< std::int32_t, 4 > m_customImageTaskBackgroundOverrideColor
Definition: globalpreferences.cpp:405
std::uint32_t geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::getImageTaskMaxThreads ( ) const
inline
271  {
272  return m_imageTaskMaxThreads;
273  }
std::uint32_t m_imageTaskMaxThreads
Definition: globalpreferences.cpp:422
std::pair<std::uint32_t, std::uint32_t> geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::getImageTaskResizeThreshold ( ) const
inline
256  {
258  }
std::pair< std::uint32_t, std::uint32_t > m_imageTaskResizeThreshold
Definition: globalpreferences.cpp:421
std::string geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::getLanguageIsoCode ( ) const
inline
281  {
282  return m_languageIsoCode;
283  }
std::string m_languageIsoCode
Definition: globalpreferences.cpp:424
std::string geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::getLocaleName ( ) const
inline
311  {
312  std::string localeName = m_languageIsoCode;
313  if(!m_scriptIsoCode.empty()) {
314  localeName += "_" + m_scriptIsoCode;
315  }
316  if(!m_countryIsoCode.empty()) {
317  localeName += "_" + m_countryIsoCode;
318  }
319  return localeName;
320  }
std::string m_scriptIsoCode
Definition: globalpreferences.cpp:425
std::string m_countryIsoCode
Definition: globalpreferences.cpp:426
std::string m_languageIsoCode
Definition: globalpreferences.cpp:424
std::string geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::getScriptIsoCode ( ) const
inline
291  {
292  return m_scriptIsoCode;
293  }
std::string m_scriptIsoCode
Definition: globalpreferences.cpp:425
std::array<std::int32_t, 4> geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::getTargetImageAlphaReplacementColor ( ) const
inline
160  {
162  }
std::array< std::int32_t, 4 > m_targetImageAlphaReplacementColor
Definition: globalpreferences.cpp:408
void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::incrementApplicationLaunchCount ( )
inline
95  {
97  }
unsigned int m_applicationLaunchCount
Definition: globalpreferences.cpp:397
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::isImageTaskImageResizeEnabled ( ) const
inline
261  {
263  }
bool m_imageTaskResizeEnabled
Definition: globalpreferences.cpp:420
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::load ( const std::string &  filePath)
inline
56  {
57  std::ifstream input(filePath);
58  try {
59  cereal::JSONInputArchive archive{input};
60  performArchival(archive);
61  } catch(...) {
62  return false;
63  }
64  return true;
65  }
void performArchival(T &archive)
Definition: globalpreferences.cpp:362

Here is the call graph for this function:

Here is the caller graph for this function:

GlobalPreferencesImpl& geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::operator= ( const GlobalPreferencesImpl )
default
template<typename T >
void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::performArchival ( T &  archive)
inlineprivate
363  {
364  m_data.archive(archive,
366 
370 
373 
376 
379 
385 
389 
393  }
bool m_imageTaskResizeEnabled
Definition: globalpreferences.cpp:420
bool m_shouldShowImageTaskVectorViewByDefault
Definition: globalpreferences.cpp:415
serialization::GlobalPreferencesData m_data
Definition: globalpreferences.cpp:395
bool m_shouldPopulateTemplatesOnLaunch
Definition: globalpreferences.cpp:403
bool m_shouldShowWelcomeScreenOnLaunch
Definition: globalpreferences.cpp:399
bool m_shouldUseImageAlphaReplacementColor
Definition: globalpreferences.cpp:409
bool m_shouldGeometrizeAppLogoOnLaunch
Definition: globalpreferences.cpp:401
bool m_shouldShowImageTaskScriptEditorByDefault
Definition: globalpreferences.cpp:417
bool m_shouldShowLaunchConsoleByDefault
Definition: globalpreferences.cpp:414
std::array< std::int32_t, 4 > m_customImageTaskBackgroundOverrideColor
Definition: globalpreferences.cpp:405
std::array< std::int32_t, 4 > m_targetImageAlphaReplacementColor
Definition: globalpreferences.cpp:408
void archive(Archive &ar, bool &shouldShowWelcomeScreenOnLaunch, bool &shouldGeometrizeAppLogoOnLaunch, bool &shouldPopulateRecentItemsOnLaunch, bool &shouldPopulateTemplatesOnLaunch, std::array< std::int32_t, 4 > &customImageTaskBackgroundOverrideColor, bool &shouldUseCustomImageTaskBackgroundOverrideColor, std::array< std::int32_t, 4 > &targetImageAlphaReplacementColor, bool &shouldUseImageAlphaReplacementColor, bool &shouldAutoLoadImageTaskSettings, bool &shouldAutoSaveImageTaskSettings, bool &shouldShowLaunchConsoleByDefault, bool &shouldShowImageTaskVectorViewByDefault, bool &shouldShowImageTaskConsoleByDefault, bool &shouldShowImageTaskScriptEditorByDefault, bool &shouldShowImageTaskPixmapViewByDefault, bool &imageTaskImageResizeEnabled, std::pair< std::uint32_t, std::uint32_t > &imageTaskImageResizeThreshold, std::uint32_t &imageTaskMaxThreads, std::string &isoLanguageCode, std::string &isoScriptCode, std::string &isoCountryCode)
Definition: globalpreferencesdata.h:25
bool m_shouldShowImageTaskPixmapViewByDefault
Definition: globalpreferences.cpp:418
std::string m_scriptIsoCode
Definition: globalpreferences.cpp:425
bool m_shouldShowImageTaskConsoleByDefault
Definition: globalpreferences.cpp:416
std::pair< std::uint32_t, std::uint32_t > m_imageTaskResizeThreshold
Definition: globalpreferences.cpp:421
bool m_shouldAutoLoadImageTaskSettings
Definition: globalpreferences.cpp:411
bool m_shouldUseCustomImageTaskBackgroundOverrideColor
Definition: globalpreferences.cpp:406
std::string m_countryIsoCode
Definition: globalpreferences.cpp:426
std::string m_languageIsoCode
Definition: globalpreferences.cpp:424
std::uint32_t m_imageTaskMaxThreads
Definition: globalpreferences.cpp:422
bool m_shouldAutoSaveImageTaskSettings
Definition: globalpreferences.cpp:412
bool m_shouldPopulateRecentItemsOnLaunch
Definition: globalpreferences.cpp:402

Here is the call graph for this function:

Here is the caller graph for this function:

bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::save ( const std::string &  filePath)
inline
68  {
69  // Create the directory at the filepath if it does not already exist
70  // This is necessary because the output archive will not create any missing directories
71  const QFileInfo info(QString::fromStdString(filePath));
72  const QDir dir(info.absoluteDir());
73  if(!dir.exists() && !dir.mkpath(dir.absolutePath())) {
74  assert(0 && "Failed to create directory in which to save global preferences");
75  return false;
76  }
77 
78  std::ofstream output(filePath);
79  try {
80  cereal::JSONOutputArchive archive{output};
81  performArchival(archive);
82  } catch(...) {
83  assert(0 && "Failed to write global preferences");
84  return false;
85  }
86  return true;
87  }
void performArchival(T &archive)
Definition: globalpreferences.cpp:362

Here is the call graph for this function:

Here is the caller graph for this function:

void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setCountryIsoCode ( const std::string &  countryIsoCode)
inline
306  {
307  m_countryIsoCode = countryIsoCode;
308  }
std::string m_countryIsoCode
Definition: globalpreferences.cpp:426

Here is the caller graph for this function:

void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setCustomImageTaskBackgroundOverrideColor ( const std::int32_t  r,
const std::int32_t  g,
const std::int32_t  b,
const std::int32_t  a 
)
inline
145  {
147  }
std::array< std::int32_t, 4 > m_customImageTaskBackgroundOverrideColor
Definition: globalpreferences.cpp:405
void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setImageTaskImageResizeEnabled ( const bool  enabled)
inline
266  {
267  m_imageTaskResizeEnabled = enabled;
268  }
bool m_imageTaskResizeEnabled
Definition: globalpreferences.cpp:420
void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setImageTaskMaxThreads ( const std::uint32_t  maxThreads)
inline
276  {
277  m_imageTaskMaxThreads = maxThreads;
278  }
std::uint32_t m_imageTaskMaxThreads
Definition: globalpreferences.cpp:422
void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setImageTaskResizeThreshold ( const std::uint32_t  width,
const std::uint32_t  height 
)
inline
250  {
251  m_imageTaskResizeThreshold.first = width;
252  m_imageTaskResizeThreshold.second = height;
253  }
std::pair< std::uint32_t, std::uint32_t > m_imageTaskResizeThreshold
Definition: globalpreferences.cpp:421
void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setLanguageIsoCode ( const std::string &  languageIsoCode)
inline
286  {
287  m_languageIsoCode = languageIsoCode;
288  }
std::string m_languageIsoCode
Definition: globalpreferences.cpp:424

Here is the caller graph for this function:

void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setLocaleName ( const std::string &  localeName)
inline
323  {
324  const std::vector<std::string> components{geometrize::util::split(localeName, '_')};
325  const std::size_t size{components.size()};
326 
327  std::string languageCode{""};
328  std::string scriptCode{""};
329  std::string countryCode{""};
330 
331  switch(size) {
332  case 1:
333  languageCode = components[0];
334  break;
335  case 2:
336  languageCode = components[0];
337  if(components[1].size() == 2) {
338  countryCode = components[1];
339  } else if(components[1].size() == 4) {
340  scriptCode = components[1];
341  } else {
342  assert(0 && "First locale component was invalid");
343  }
344  break;
345  case 3:
346  languageCode = components[0];
347  scriptCode = components[1];
348  countryCode = components[2];
349  break;
350  default:
351  assert(0 && "Failed to set invalid locale name");
352  return;
353  }
354 
355  setLanguageIsoCode(languageCode);
356  setScriptIsoCode(scriptCode);
357  setCountryIsoCode(countryCode);
358  }
void setLanguageIsoCode(const std::string &languageIsoCode)
Definition: globalpreferences.cpp:285
void setCountryIsoCode(const std::string &countryIsoCode)
Definition: globalpreferences.cpp:305
void setScriptIsoCode(const std::string &scriptIsoCode)
Definition: globalpreferences.cpp:295
std::vector< std::string > split(const std::string &s, const char delimiter)
split Splits a given string into a vector of tokens using the given delimiter.
Definition: util.cpp:304

Here is the call graph for this function:

void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setScriptIsoCode ( const std::string &  scriptIsoCode)
inline
296  {
297  m_scriptIsoCode = scriptIsoCode;
298  }
std::string m_scriptIsoCode
Definition: globalpreferences.cpp:425

Here is the caller graph for this function:

void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setShouldAutoLoadImageTaskSettings ( const bool  loadSettings)
inline
185  {
186  m_shouldAutoLoadImageTaskSettings = loadSettings;
187  }
bool m_shouldAutoLoadImageTaskSettings
Definition: globalpreferences.cpp:411
void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setShouldAutoSaveImageTaskSettings ( const bool  saveSettings)
inline
195  {
196  m_shouldAutoSaveImageTaskSettings = saveSettings;
197  }
bool m_shouldAutoSaveImageTaskSettings
Definition: globalpreferences.cpp:412
void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setShouldGeometrizeAppLogoOnLaunch ( const bool  geometrizeLogo)
inline
115  {
116  m_shouldGeometrizeAppLogoOnLaunch = geometrizeLogo;
117  }
bool m_shouldGeometrizeAppLogoOnLaunch
Definition: globalpreferences.cpp:401
void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setShouldPopulateRecentItemsOnLaunch ( const bool  populateRecents)
inline
125  {
126  m_shouldPopulateRecentItemsOnLaunch = populateRecents;
127  }
bool m_shouldPopulateRecentItemsOnLaunch
Definition: globalpreferences.cpp:402
void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setShouldPopulateTemplatesOnLaunch ( const bool  populateTemplates)
inline
135  {
136  m_shouldPopulateTemplatesOnLaunch = populateTemplates;
137  }
bool m_shouldPopulateTemplatesOnLaunch
Definition: globalpreferences.cpp:403
void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setShouldReplaceTargetImageAlphaWithCustomColor ( const bool  useColor)
inline
175  {
177  }
bool m_shouldUseImageAlphaReplacementColor
Definition: globalpreferences.cpp:409
void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setShouldShowImageTaskConsoleByDefault ( const bool  showConsole)
inline
225  {
227  }
bool m_shouldShowImageTaskConsoleByDefault
Definition: globalpreferences.cpp:416
void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setShouldShowImageTaskPixmapViewByDefault ( const bool  showPixmapView)
inline
245  {
247  }
bool m_shouldShowImageTaskPixmapViewByDefault
Definition: globalpreferences.cpp:418
void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setShouldShowImageTaskScriptEditorByDefault ( const bool  showScriptEditor)
inline
235  {
237  }
bool m_shouldShowImageTaskScriptEditorByDefault
Definition: globalpreferences.cpp:417
void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setShouldShowImageTaskVectorViewByDefault ( const bool  showVectorView)
inline
215  {
217  }
bool m_shouldShowImageTaskVectorViewByDefault
Definition: globalpreferences.cpp:415
void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setShouldShowLaunchConsoleByDefault ( const bool  showConsole)
inline
205  {
207  }
bool m_shouldShowLaunchConsoleByDefault
Definition: globalpreferences.cpp:414
void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setShouldShowWelcomeScreenOnLaunch ( const bool  show)
inline
105  {
107  }
bool m_shouldShowWelcomeScreenOnLaunch
Definition: globalpreferences.cpp:399
void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setShouldUseCustomImageTaskBackgroundOverrideColor ( const bool  useColor)
inline
155  {
157  }
bool m_shouldUseCustomImageTaskBackgroundOverrideColor
Definition: globalpreferences.cpp:406
void geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::setTargetImageAlphaReplacementColor ( const std::int32_t  r,
const std::int32_t  g,
const std::int32_t  b,
const std::int32_t  a 
)
inline
165  {
166  m_targetImageAlphaReplacementColor = { r, g, b, a };
167  }
std::array< std::int32_t, 4 > m_targetImageAlphaReplacementColor
Definition: globalpreferences.cpp:408
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::shouldAutoLoadImageTaskSettings ( ) const
inline
180  {
182  }
bool m_shouldAutoLoadImageTaskSettings
Definition: globalpreferences.cpp:411
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::shouldAutoSaveImageTaskSettings ( ) const
inline
190  {
192  }
bool m_shouldAutoSaveImageTaskSettings
Definition: globalpreferences.cpp:412
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::shouldGeometrizeAppLogoOnLaunch ( ) const
inline
110  {
112  }
bool m_shouldGeometrizeAppLogoOnLaunch
Definition: globalpreferences.cpp:401
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::shouldPopulateRecentItemsOnLaunch ( ) const
inline
120  {
122  }
bool m_shouldPopulateRecentItemsOnLaunch
Definition: globalpreferences.cpp:402
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::shouldPopulateTemplatesOnLaunch ( ) const
inline
130  {
132  }
bool m_shouldPopulateTemplatesOnLaunch
Definition: globalpreferences.cpp:403
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::shouldShowImageTaskConsoleByDefault ( ) const
inline
220  {
222  }
bool m_shouldShowImageTaskConsoleByDefault
Definition: globalpreferences.cpp:416
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::shouldShowImageTaskPixmapViewByDefault ( ) const
inline
240  {
242  }
bool m_shouldShowImageTaskPixmapViewByDefault
Definition: globalpreferences.cpp:418
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::shouldShowImageTaskScriptEditorByDefault ( ) const
inline
230  {
232  }
bool m_shouldShowImageTaskScriptEditorByDefault
Definition: globalpreferences.cpp:417
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::shouldShowImageTaskVectorViewByDefault ( ) const
inline
210  {
212  }
bool m_shouldShowImageTaskVectorViewByDefault
Definition: globalpreferences.cpp:415
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::shouldShowLaunchConsoleByDefault ( ) const
inline
200  {
202  }
bool m_shouldShowLaunchConsoleByDefault
Definition: globalpreferences.cpp:414
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::shouldShowWelcomeScreenOnLaunch ( ) const
inline
100  {
102  }
bool m_shouldShowWelcomeScreenOnLaunch
Definition: globalpreferences.cpp:399
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::shouldUseCustomImageTaskBackgroundOverrideColor ( ) const
inline
150  {
152  }
bool m_shouldUseCustomImageTaskBackgroundOverrideColor
Definition: globalpreferences.cpp:406
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::shouldUseImageAlphaReplacementColor ( ) const
inline
170  {
172  }
bool m_shouldUseImageAlphaReplacementColor
Definition: globalpreferences.cpp:409

Member Data Documentation

unsigned int geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_applicationLaunchCount {0}
private
std::string geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_countryIsoCode {"US"}
private
std::array<std::int32_t, 4> geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_customImageTaskBackgroundOverrideColor { 128, 64, 196, 255 }
private
serialization::GlobalPreferencesData geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_data
private
std::uint32_t geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_imageTaskMaxThreads {4}
private
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_imageTaskResizeEnabled {true}
private
std::pair<std::uint32_t, std::uint32_t> geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_imageTaskResizeThreshold {256, 256}
private
std::string geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_languageIsoCode {"en"}
private
std::string geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_scriptIsoCode {"Latn"}
private
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_shouldAutoLoadImageTaskSettings {false}
private
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_shouldAutoSaveImageTaskSettings {false}
private
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_shouldGeometrizeAppLogoOnLaunch {false}
private
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_shouldPopulateRecentItemsOnLaunch {true}
private
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_shouldPopulateTemplatesOnLaunch {true}
private
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_shouldShowImageTaskConsoleByDefault {false}
private
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_shouldShowImageTaskPixmapViewByDefault {true}
private
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_shouldShowImageTaskScriptEditorByDefault {false}
private
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_shouldShowImageTaskVectorViewByDefault {false}
private
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_shouldShowLaunchConsoleByDefault {false}
private
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_shouldShowWelcomeScreenOnLaunch {true}
private
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_shouldUseCustomImageTaskBackgroundOverrideColor {false}
private
bool geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_shouldUseImageAlphaReplacementColor {false}
private
std::array<std::int32_t, 4> geometrize::preferences::GlobalPreferences::GlobalPreferencesImpl::m_targetImageAlphaReplacementColor { 255, 255, 255, 255 }
private

The documentation for this class was generated from the following file: