GNU Octave  8.1.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 "gui-settings.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 gui_pref cs_color_mode ("terminal/color_mode", QVariant(0))
 
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 QStringList cs_color_names
 
const gui_pref cs_colors [2 *cs_colors_count]
 
const unsigned int cs_colors_count = 4
 
const std::vector< std::string > cs_cursor_types
 

Function Documentation

◆ cs_color_mode()

◆ 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_color_names

const QStringList cs_color_names
Initial value:
= {
QT_TRANSLATE_NOOP ("octave::settings_dialog", "foreground"),
QT_TRANSLATE_NOOP ("octave::settings_dialog", "background"),
QT_TRANSLATE_NOOP ("octave::settings_dialog", "selection"),
}

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

Referenced by settings_dialog::read_terminal_colors(), and settings_dialog::write_terminal_colors().

◆ cs_colors

const gui_pref cs_colors[2 *cs_colors_count]
Initial value:
=
{
{"terminal/color_f" + settings_color_modes_ext[0], QVariant (QPalette::WindowText)},
{"terminal/color_b" + settings_color_modes_ext[0], QVariant (QPalette::Base)},
{"terminal/color_s" + settings_color_modes_ext[0], QVariant (QPalette::Highlight)},
{"terminal/color_c" + settings_color_modes_ext[0], QVariant (QPalette::QPalette::WindowText)},
{"terminal/color_f" + settings_color_modes_ext[1], QVariant ()},
{"terminal/color_b" + settings_color_modes_ext[1], QVariant ()},
{"terminal/color_s" + settings_color_modes_ext[1], QVariant ()},
{"terminal/color_c" + settings_color_modes_ext[1], QVariant ()}
}
const QStringList settings_color_modes_ext(QStringList()<< ""<< "_2")

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

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

◆ cs_colors_count

const unsigned int cs_colors_count = 4

◆ cs_cursor_types

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

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

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