26 #if ! defined (octave_gui_preferences_ve_h)
27 #define octave_gui_preferences_ve_h 1
31 #include <QApplication>
59 {
"variable_editor/color_f", QVariant (QPalette::WindowText)},
60 {
"variable_editor/color_b", QVariant (QPalette::Base)},
61 {
"variable_editor/color_s", QVariant (QPalette::HighlightedText)},
62 {
"variable_editor/color_h", QVariant (QPalette::Highlight)},
63 {
"variable_editor/color_a", QVariant (QPalette::AlternateBase)}
67 << QT_TRANSLATE_NOOP (
"octave::settings_dialog",
"Foreground")
68 << QT_TRANSLATE_NOOP (
"octave::settings_dialog",
"Background")
69 << QT_TRANSLATE_NOOP (
"octave::settings_dialog",
"Selected Foreground")
70 << QT_TRANSLATE_NOOP (
"octave::settings_dialog",
"Selected Background")
71 << QT_TRANSLATE_NOOP (
"octave::settings_dialog",
"Alternate Background"));
const int ve_colors_count
const gui_pref ve_column_width("variable_editor/column_width", QVariant(100))
const QStringList ve_color_names(QStringList()<< QT_TRANSLATE_NOOP("octave::settings_dialog", "Foreground")<< QT_TRANSLATE_NOOP("octave::settings_dialog", "Background")<< QT_TRANSLATE_NOOP("octave::settings_dialog", "Selected Foreground")<< QT_TRANSLATE_NOOP("octave::settings_dialog", "Selected Background")<< QT_TRANSLATE_NOOP("octave::settings_dialog", "Alternate Background"))
const QString ve_color_chars("fbsha")
const gui_pref ve_colors[ve_colors_count]
const gui_pref ve_use_terminal_font("variable_editor/use_terminal_font", QVariant(true))
const gui_pref ve_font_size("variable_editor/font_size", QVariant(10))
const gui_pref ve_alternate_rows("variable_editor/alternate_rows", QVariant(false))
const gui_pref ve_font_name("variable_editor/font_name", QVariant())
const gui_pref ve_row_height("variable_editor/row_height", QVariant(10))