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

Go to the source code of this file.

Enumerations

enum  { ICON_THEME_SYSTEM = 0 , ICON_THEME_OCTAVE , ICON_THEME_TANGO , ICON_THEME_CURSORS }
 
enum  { EXTRA_STYLE_FUSION_DARK = 0 }
 

Functions

const gui_pref global_cursor_blinking ("cursor_blinking", QVariant(true))
 
const gui_pref global_custom_editor ("customFileEditor", QVariant("emacs +%l %f"))
 
const gui_pref global_icon_size ("toolbar_icon_size", QVariant(0))
 
const gui_pref global_icon_theme ("use_system_icon_theme", QVariant(true))
 
const gui_pref global_icon_theme_index ("icon_theme", QVariant(ICON_THEME_SYSTEM))
 
const gui_pref global_language ("language", QVariant("SYSTEM"))
 
const QString global_menubar_style ("QMenuBar {" "margin-top: 0px;" "margin-bottom: 0px;" "padding-top: 0px;" "padding-bottom: 0px;" "}")
 
const gui_pref global_mono_font ("monospace_font", global_font_family)
 
const gui_pref global_ov_startup_dir ("octave_startup_dir", QVariant(QString()))
 
const gui_pref global_prompt_to_exit ("prompt_to_exit", QVariant(false))
 
const gui_pref global_proxy_host ("proxyHostName", QVariant(QString()))
 
const gui_pref global_proxy_pass ("proxyPassword", QVariant(QString()))
 
const gui_pref global_proxy_port ("proxyPort", QVariant(80))
 
const gui_pref global_proxy_type ("proxyType", QVariant(QString()))
 
const gui_pref global_proxy_user ("proxyUserName", QVariant(QString()))
 
const gui_pref global_restore_ov_dir ("restore_octave_dir", QVariant(false))
 
const gui_pref global_status_bar ("show_status_bar", QVariant(true))
 
const gui_pref global_style ("style", QVariant("default"))
 
const QString global_toolbar_style ("QToolBar {" "margin-top: 0px;" "margin-bottom: 0px;" "padding-top: 0px;" "padding-bottom: 0px;" "border-top: 0px;" "border-bottom: 0px;" "}")
 
const gui_pref global_use_custom_editor ("useCustomFileEditor", QVariant(false))
 
const gui_pref global_use_native_dialogs ("use_native_file_dialogs", QVariant(true))
 
const gui_pref global_use_proxy ("useProxyServer", QVariant(false))
 

Variables

const QStringList global_all_icon_theme_names
 
const QStringList global_all_icon_themes
 
const QStringList global_extra_styles
 
const QString global_font_family = "Monospace"
 
const QStringList global_icon_paths
 
const QStyle::PixelMetric global_icon_sizes [3]
 
const QStringList global_proxy_all_types
 
const QList< int > global_proxy_manual_types = { 0, 1 }
 
const QString gui_obj_name_main_window = "MainWindow"
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
ICON_THEME_SYSTEM 
ICON_THEME_OCTAVE 
ICON_THEME_TANGO 
ICON_THEME_CURSORS 

Definition at line 87 of file gui-preferences-global.h.

◆ anonymous enum

anonymous enum
Enumerator
EXTRA_STYLE_FUSION_DARK 

Definition at line 124 of file gui-preferences-global.h.

Function Documentation

◆ global_cursor_blinking()

◆ global_custom_editor()

const gui_pref global_custom_editor ( "customFileEditor"  ,
QVariant("emacs +%l %f")   
)

◆ global_icon_size()

◆ global_icon_theme()

const gui_pref global_icon_theme ( "use_system_icon_theme"  ,
QVariant(true)   
)

◆ global_icon_theme_index()

const gui_pref global_icon_theme_index ( "icon_theme"  ,
QVariant(ICON_THEME_SYSTEM  
)

◆ global_language()

const gui_pref global_language ( "language"  ,
QVariant("SYSTEM")   
)

◆ global_menubar_style()

const QString global_menubar_style ( "QMenuBar {" "margin-top: 0px;" "margin-bottom: 0px;" "padding-top: 0px;" "padding-bottom: 0px;" "}"  )

◆ global_mono_font()

◆ global_ov_startup_dir()

const gui_pref global_ov_startup_dir ( "octave_startup_dir"  ,
QVariant(QString())   
)

◆ global_prompt_to_exit()

const gui_pref global_prompt_to_exit ( "prompt_to_exit"  ,
QVariant(false)   
)

◆ global_proxy_host()

const gui_pref global_proxy_host ( "proxyHostName"  ,
QVariant(QString())   
)

◆ global_proxy_pass()

const gui_pref global_proxy_pass ( "proxyPassword"  ,
QVariant(QString())   
)

◆ global_proxy_port()

const gui_pref global_proxy_port ( "proxyPort"  ,
QVariant(80)   
)

◆ global_proxy_type()

const gui_pref global_proxy_type ( "proxyType"  ,
QVariant(QString())   
)

◆ global_proxy_user()

const gui_pref global_proxy_user ( "proxyUserName"  ,
QVariant(QString())   
)

◆ global_restore_ov_dir()

const gui_pref global_restore_ov_dir ( "restore_octave_dir"  ,
QVariant(false)   
)

◆ global_status_bar()

const gui_pref global_status_bar ( "show_status_bar"  ,
QVariant(true)   
)

◆ global_style()

const gui_pref global_style ( "style"  ,
QVariant("default")   
)

◆ global_toolbar_style()

const QString global_toolbar_style ( "QToolBar {" "margin-top: 0px;" "margin-bottom: 0px;" "padding-top: 0px;" "padding-bottom: 0px;" "border-top: 0px;" "border-bottom: 0px;" "}"  )

◆ global_use_custom_editor()

◆ global_use_native_dialogs()

◆ global_use_proxy()

const gui_pref global_use_proxy ( "useProxyServer"  ,
QVariant(false)   
)

Variable Documentation

◆ global_all_icon_theme_names

const QStringList global_all_icon_theme_names
Initial value:
= {
"System",
"Octave",
"Tango"
}

Definition at line 114 of file gui-preferences-global.h.

Referenced by settings_dialog::settings_dialog().

◆ global_all_icon_themes

const QStringList global_all_icon_themes
Initial value:
= {
"",
"octave",
"tango",
"cursors"
}

Definition at line 106 of file gui-preferences-global.h.

Referenced by resource_manager::config_icon_theme().

◆ global_extra_styles

const QStringList global_extra_styles
Initial value:
= {
"Fusion-Dark"
}

Definition at line 129 of file gui-preferences-global.h.

Referenced by settings_dialog::settings_dialog(), and main_window::notice_settings().

◆ global_font_family

const QString global_font_family = "Monospace"

Definition at line 43 of file gui-preferences-global.h.

◆ global_icon_paths

const QStringList global_icon_paths

◆ global_icon_sizes

const QStyle::PixelMetric global_icon_sizes[3]
Initial value:
=
{
QStyle::PM_SmallIconSize,
QStyle::PM_ToolBarIconSize,
QStyle::PM_LargeIconSize
}

Definition at line 74 of file gui-preferences-global.h.

Referenced by variable_editor::notice_settings(), documentation::notice_settings(), files_dock_widget::notice_settings(), file_editor::notice_settings(), and main_window::notice_settings().

◆ global_proxy_all_types

const QStringList global_proxy_all_types
Initial value:
= {
"HttpProxy",
"Socks5Proxy",
}

Definition at line 187 of file gui-preferences-global.h.

Referenced by settings_dialog::settings_dialog(), and resource_manager::update_network_settings().

◆ global_proxy_manual_types

const QList<int> global_proxy_manual_types = { 0, 1 }

Definition at line 193 of file gui-preferences-global.h.

Referenced by settings_dialog::proxy_items_update().

◆ gui_obj_name_main_window

const QString gui_obj_name_main_window = "MainWindow"