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

Go to the source code of this file.

Functions

const QStringList cs_color_names (QStringList()<< QT_TRANSLATE_NOOP("octave::settings_dialog", "foreground")<< QT_TRANSLATE_NOOP("octave::settings_dialog", "background")<< QT_TRANSLATE_NOOP("octave::settings_dialog", "selection")<< QT_TRANSLATE_NOOP("octave::settings_dialog", "cursor"))
 
const gui_pref cs_cursor ("terminal/cursorType", QVariant("ibeam"))
 
const gui_pref cs_cursor_blinking ("terminal/cursorBlinking", QVariant(true))
 
const gui_pref cs_cursor_use_fgcol ("terminal/cursorUseForegroundColor", QVariant(true))
 
const gui_pref cs_dbg_location ("terminal/print_debug_location", QVariant(false))
 
const gui_pref cs_focus_cmd ("terminal/focus_after_command", QVariant(false))
 
const gui_pref cs_font ("terminal/fontName", QVariant())
 
const gui_pref cs_font_size ("terminal/fontSize", QVariant(10))
 
const gui_pref cs_hist_buffer ("terminal/history_buffer", QVariant(1000))
 

Variables

const gui_pref cs_colors [cs_colors_count]
 
const unsigned int cs_colors_count = 4
 
const std::vector< std::string > cs_cursor_types
 

Function Documentation

◆ cs_color_names()

const QStringList cs_color_names ( QStringList()<< QT_TRANSLATE_NOOP("octave::settings_dialog", "foreground")<< QT_TRANSLATE_NOOP("octave::settings_dialog", "background")<< QT_TRANSLATE_NOOP("octave::settings_dialog", "selection")<< QT_TRANSLATE_NOOP("octave::settings_dialog", "cursor")  )

◆ cs_cursor()

const gui_pref cs_cursor ( "terminal/cursorType"  ,
QVariant("ibeam")   
)

◆ cs_cursor_blinking()

const gui_pref cs_cursor_blinking ( "terminal/cursorBlinking"  ,
QVariant(true)   
)

◆ cs_cursor_use_fgcol()

const gui_pref cs_cursor_use_fgcol ( "terminal/cursorUseForegroundColor"  ,
QVariant(true)   
)

◆ cs_dbg_location()

const gui_pref cs_dbg_location ( "terminal/print_debug_location"  ,
QVariant(false)   
)

◆ cs_focus_cmd()

const gui_pref cs_focus_cmd ( "terminal/focus_after_command"  ,
QVariant(false)   
)

◆ cs_font()

◆ cs_font_size()

◆ cs_hist_buffer()

const gui_pref cs_hist_buffer ( "terminal/history_buffer"  ,
QVariant(1000)   
)

Variable Documentation

◆ cs_colors

const gui_pref cs_colors[cs_colors_count]
Initial value:
=
{
{"terminal/color_f", QVariant (QColor(0,0,0))},
{"terminal/color_b", QVariant (QColor(255,255,255))},
{"terminal/color_s", QVariant (QColor(192,192,192))},
{"terminal/color_c", QVariant (QColor(128,128,128))}
}

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

Referenced by QTerminal::notice_settings(), octave::settings_dialog::read_terminal_colors(), and octave::settings_dialog::write_terminal_colors().

◆ cs_colors_count

const unsigned int cs_colors_count = 4

Definition at line 58 of file gui-preferences-cs.h.

Referenced by octave::settings_dialog::read_terminal_colors().

◆ cs_cursor_types

const std::vector<std::string> cs_cursor_types
Initial value:
=
{
"ibeam",
"block",
"underline"
}

Definition at line 39 of file gui-preferences-cs.h.

Referenced by octave::settings_dialog::settings_dialog(), QTerminal::notice_settings(), and octave::settings_dialog::write_changed_settings().