GNU Octave  6.2.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 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 gui_pref ve_use_terminal_font ("variable_editor/use_terminal_font", QVariant(true))
 

Variables

const gui_pref ve_colors [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_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_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[ve_colors_count]
Initial value:
=
{
{"variable_editor/color_f", QVariant (QPalette::WindowText)},
{"variable_editor/color_b", QVariant (QPalette::Base)},
{"variable_editor/color_s", QVariant (QPalette::HighlightedText)},
{"variable_editor/color_h", QVariant (QPalette::Highlight)},
{"variable_editor/color_a", QVariant (QPalette::AlternateBase)}
}

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

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

◆ ve_colors_count