26 #if ! defined (octave_gui_settings_h)
27 #define octave_gui_settings_h 1
29 #include "octave-config.h"
49 const QString& organization,
63 using QSettings::value;
70 return value (pref.
key, pref.
def);
91 QColor get_color_value (
const QVariant& def,
int mode = 0)
const;
105 QColor color_value (
const gui_pref& pref,
int mode = 0)
const;
117 void set_color_value (
const gui_pref& pref,
const QColor& color,
120 QString sc_value (
const sc_pref& pref)
const;
122 QKeySequence sc_def_value (
const sc_pref& pref)
const;
gui_settings(QSettings::Format format, QSettings::Scope scope, const QString &organization, const QString &application=QString(), QObject *parent=nullptr)
gui_settings(const gui_settings &)=delete
~gui_settings(void)=default
gui_settings(const QString &file_name, QSettings::Format format, QObject *parent=nullptr)
QVariant value(const gui_pref &pref) const
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
const QColor settings_color_no_change(255, 0, 255)
const QStringList settings_color_modes_ext(QStringList()<< ""<< "_2")
const int settings_reload_default_colors_flag
std::size_t format(std::ostream &os, const char *fmt,...)