15 #ifndef BORNAGAIN_GUI_APPLICATION_APPLICATIONSETTINGS_H
16 #define BORNAGAIN_GUI_APPLICATION_APPLICATIONSETTINGS_H
ApplicationSettings * appSettings
global pointer to the single instance
Application wide settings.
void setStyleToUse(Style style)
void setDefaultIsSingleInstrumentMode(bool b)
void setDefaultUnitIsAngstrom(bool b) const
Palette m_styleSheetPalette
void loadWindowSizeAndPos(QWidget *w)
bool defaultIsSingleSampleMode() const
const Palette & styleSheetPalette() const
bool defaultIsSingleInstrumentMode() const
void saveWindowSizeAndPos(const QWidget *w)
bool useNativeFileDialog() const
ApplicationSettings::Style currentStyle()
bool createNewProjectOnStartup() const
void setDefaultFunctionalities(const QVariant &functionalities)
void setDefaultIsSingleSampleMode(bool b)
QVariant defaultFunctionalities(const QVariant &absenceValue) const
bool defaultUnitIsAngstrom() const
void loadStyle(ApplicationSettings::Style style)
ApplicationSettings::Style m_currentStyle
void setCreateNewProjectOnStartup(bool b)
QColor headlineBackground