#include "gui-preferences.h"
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" |
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 |
Enumerator | |
---|---|
EXTRA_STYLE_FUSION_DARK |
Definition at line 124 of file gui-preferences-global.h.
const gui_pref global_cursor_blinking | ( | "cursor_blinking" | , |
QVariant(true) | |||
) |
const gui_pref global_icon_size | ( | "toolbar_icon_size" | , |
QVariant(0) | |||
) |
const gui_pref global_icon_theme | ( | "use_system_icon_theme" | , |
QVariant(true) | |||
) |
Referenced by resource_manager::config_icon_theme().
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;" "}" | ) |
Referenced by Figure::Figure(), and octave_dock_widget::handle_settings().
const gui_pref global_mono_font | ( | "monospace_font" | , |
global_font_family | |||
) |
Referenced by settings_dialog::settings_dialog(), terminal_dock_widget::terminal_dock_widget(), resource_manager::get_default_font_family(), history_dock_widget::notice_settings(), variable_editor::notice_settings(), QTerminal::notice_settings(), command_widget::notice_settings(), resource_manager::reload_settings(), and settings_dialog::write_lexer_settings().
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;" "}" | ) |
Referenced by ToolBar::ToolBar(), main_window::construct_tool_bar(), and octave_dock_widget::handle_settings().
const gui_pref global_use_custom_editor | ( | "useCustomFileEditor" | , |
QVariant(false) | |||
) |
const gui_pref global_use_native_dialogs | ( | "use_native_file_dialogs" | , |
QVariant(true) | |||
) |
Referenced by FileDialog::FileDialog(), settings_dialog::settings_dialog(), find_files_dialog::browse_folders(), main_window::browse_for_directory(), variable_editor_stack::do_save(), settings_dialog::get_dir(), main_window::handle_load_workspace_request(), main_window::handle_save_workspace_request(), shortcut_manager::import_export(), files_dock_widget::popdownmenu_search_dir(), main_window::request_open_file(), file_editor_tab::save_file_as(), and settings_dialog::write_changed_settings().
const gui_pref global_use_proxy | ( | "useProxyServer" | , |
QVariant(false) | |||
) |
const QStringList global_all_icon_theme_names |
Definition at line 114 of file gui-preferences-global.h.
Referenced by settings_dialog::settings_dialog().
const QStringList global_all_icon_themes |
Definition at line 106 of file gui-preferences-global.h.
Referenced by resource_manager::config_icon_theme().
const QStringList global_extra_styles |
Definition at line 129 of file gui-preferences-global.h.
Referenced by settings_dialog::settings_dialog(), and main_window::notice_settings().
const QString global_font_family = "Monospace" |
Definition at line 43 of file gui-preferences-global.h.
const QStringList global_icon_paths |
Definition at line 96 of file gui-preferences-global.h.
Referenced by FigureWindow::FigureWindow(), octave_dock_widget::octave_dock_widget(), resource_manager::config_icon_theme(), ToolBarButton< T >::get_icon(), resource_manager::icon(), file_editor::notice_settings(), octave_dock_widget::set_style(), and variable_dock_widget::toplevel_change().
const QStyle::PixelMetric global_icon_sizes[3] |
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().
const QStringList global_proxy_all_types |
Definition at line 187 of file gui-preferences-global.h.
Referenced by settings_dialog::settings_dialog(), and resource_manager::update_network_settings().
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().
const QString gui_obj_name_main_window = "MainWindow" |
Definition at line 33 of file gui-preferences-global.h.
Referenced by label_dock_widget::label_dock_widget(), and main_window::main_window().