GNU Octave 7.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
gui-preferences-ve.h File Reference
#include "gui-preferences.h"
#include <QApplication>
Include dependency graph for gui-preferences-ve.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

const gui_pref ve_alternate_rows ("variable_editor/alternate_rows", QVariant(false))
 
const QString ve_color_chars ("fbsha")
 
const gui_pref ve_color_mode ("variable_editor/color_mode", QVariant(0))
 
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 gui_pref ve_column_width ("variable_editor/column_width", QVariant(100))
 
const gui_pref ve_font_name ("variable_editor/font_name", QVariant())
 
const gui_pref ve_font_size ("variable_editor/font_size", QVariant(10))
 
const gui_pref ve_row_height ("variable_editor/row_height", QVariant(10))
 
const QStringList ve_save_formats (QStringList()<< "ascii"<< "binary"<< "float-binary"<< "hdf5"<< "float-hdf5"<< "text"<< "mat7-binary"<< "mat-binary"<< "mat4-binary"<< "zip")
 
const QStringList ve_save_formats_ext (QStringList()<< "-ascii"<< "dat"<< "-hdf5"<< "h5"<< "-text"<< "txt"<< "-v7.3"<< "mat"<< "-7.3"<< "mat"<< "-v7"<< "mat"<< "-7"<< "mat"<< "-mat7-binary"<< "mat"<< "-v6"<< "mat"<< "-6"<< "mat"<< "-mat-binary"<< "mat"<< "-v4"<< "mat"<< "-4"<< "mat"<< "-mat4-binary"<< "mat"<< "-binary"<< "bin"<< "-z"<< "txt.gz")
 
const gui_pref ve_use_terminal_font ("variable_editor/use_terminal_font", QVariant(true))
 

Variables

const gui_pref ve_colors [2 *ve_colors_count]
 
const int ve_colors_count = 5
 

Function Documentation

◆ ve_alternate_rows()

const gui_pref ve_alternate_rows ( "variable_editor/alternate_rows"  ,
QVariant(false)   
)

◆ ve_color_chars()

const QString ve_color_chars ( "fbsha"  )

◆ ve_color_mode()

◆ ve_color_names()

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")  )

◆ ve_column_width()

const gui_pref ve_column_width ( "variable_editor/column_width"  ,
QVariant(100)   
)

◆ ve_font_name()

const gui_pref ve_font_name ( "variable_editor/font_name"  ,
QVariant()   
)

◆ ve_font_size()

const gui_pref ve_font_size ( "variable_editor/font_size"  ,
QVariant(10)   
)

◆ ve_row_height()

const gui_pref ve_row_height ( "variable_editor/row_height"  ,
QVariant(10)   
)

◆ ve_save_formats()

const QStringList ve_save_formats ( QStringList()<< "ascii"<< "binary"<< "float-binary"<< "hdf5"<< "float-hdf5"<< "text"<< "mat7-binary"<< "mat-binary"<< "mat4-binary"<< "zip"  )

◆ ve_save_formats_ext()

const QStringList ve_save_formats_ext ( QStringList()<< "-ascii"<< "dat"<< "-hdf5"<< "h5"<< "-text"<< "txt"<< "-v7.3"<< "mat"<< "-7.3"<< "mat"<< "-v7"<< "mat"<< "-7"<< "mat"<< "-mat7-binary"<< "mat"<< "-v6"<< "mat"<< "-6"<< "mat"<< "-mat-binary"<< "mat"<< "-v4"<< "mat"<< "-4"<< "mat"<< "-mat4-binary"<< "mat"<< "-binary"<< "bin"<< "-z"<< "txt.gz"  )

◆ ve_use_terminal_font()

const gui_pref ve_use_terminal_font ( "variable_editor/use_terminal_font"  ,
QVariant(true)   
)

Variable Documentation

◆ ve_colors

const gui_pref ve_colors[2 *ve_colors_count]
Initial value:
=
{
{"variable_editor/color_f" + settings_color_modes_ext[0], QVariant (QPalette::WindowText)},
{"variable_editor/color_b" + settings_color_modes_ext[0], QVariant (QPalette::Base)},
{"variable_editor/color_s" + settings_color_modes_ext[0], QVariant (QPalette::HighlightedText)},
{"variable_editor/color_h" + settings_color_modes_ext[0], QVariant (QPalette::Highlight)},
{"variable_editor/color_a" + settings_color_modes_ext[0], QVariant (QPalette::AlternateBase)},
{"variable_editor/color_f" + settings_color_modes_ext[1], QVariant ()},
{"variable_editor/color_b" + settings_color_modes_ext[1], QVariant ()},
{"variable_editor/color_s" + settings_color_modes_ext[1], QVariant ()},
{"variable_editor/color_h" + settings_color_modes_ext[1], QVariant ()},
{"variable_editor/color_a" + settings_color_modes_ext[1], QVariant ()}
}
const QStringList settings_color_modes_ext(QStringList()<< ""<< "_2")

Definition at line 59 of file gui-preferences-ve.h.

Referenced by octave::variable_editor::notice_settings(), octave::settings_dialog::read_varedit_colors(), octave::settings_dialog::update_varedit_colors(), and octave::settings_dialog::write_varedit_colors().

◆ ve_colors_count