GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "settings-dialog.h"
Signals | |
void | apply_new_settings () |
Public Member Functions | |
settings_dialog (QWidget *parent, const QString &desired_tab=QString()) | |
~settings_dialog () | |
void | show_tab (const QString &) |
Private Slots | |
void | button_clicked (QAbstractButton *button) |
void | export_shortcut_set1 () |
void | export_shortcut_set2 () |
void | get_dir (QLineEdit *, const QString &) |
void | get_file_browser_dir () |
void | get_octave_dir () |
void | import_shortcut_set1 () |
void | import_shortcut_set2 () |
void | set_disabled_pref_file_browser_dir (bool disable) |
Private Member Functions | |
void | read_terminal_colors (QSettings *settings) |
void | read_workspace_colors (QSettings *settings) |
void | write_changed_settings (bool closing) |
void | write_terminal_colors (QSettings *settings) |
void | write_workspace_colors (QSettings *settings) |
Definition at line 41 of file settings-dialog.h.
|
explicit |
Definition at line 58 of file settings-dialog.cc.
References _editor_current_line_color, _widget_title_bg_color, _widget_title_bg_color_active, _widget_title_fg_color, _widget_title_fg_color_active, Ui_settings_dialog::btn_export_shortcut_set1, Ui_settings_dialog::btn_export_shortcut_set2, Ui_settings_dialog::btn_import_shortcut_set1, Ui_settings_dialog::btn_import_shortcut_set2, Ui_settings_dialog::button_box, button_clicked(), Ui_settings_dialog::cb_code_folding, Ui_settings_dialog::cb_edit_status_bar, Ui_settings_dialog::cb_hide_tool_tips, Ui_settings_dialog::cb_prevent_readline_conflicts, Ui_settings_dialog::cb_prompt_to_exit, Ui_settings_dialog::cb_restore_file_browser_dir, Ui_settings_dialog::cb_restore_octave_dir, Ui_settings_dialog::cb_show_eol, Ui_settings_dialog::cb_show_hscrollbar, Ui_settings_dialog::cb_status_bar, Ui_settings_dialog::cb_widget_custom_style, Ui_settings_dialog::checkbox_allow_web_connect, Ui_settings_dialog::combo_eol_mode, Ui_settings_dialog::comboBox_language, Ui_settings_dialog::customFileEditor, Ui_settings_dialog::editor_auto_ind_checkbox, Ui_settings_dialog::editor_bs_unind_checkbox, Ui_settings_dialog::editor_checkbox_ac_builtins, Ui_settings_dialog::editor_checkbox_ac_case, Ui_settings_dialog::editor_checkbox_ac_document, Ui_settings_dialog::editor_checkbox_ac_functions, Ui_settings_dialog::editor_checkbox_ac_keywords, Ui_settings_dialog::editor_checkbox_ac_replace, Ui_settings_dialog::editor_codeCompletion, Ui_settings_dialog::editor_create_new_file, Ui_settings_dialog::editor_grid_current_line, Ui_settings_dialog::editor_highlightCurrentLine, Ui_settings_dialog::editor_ind_guides_checkbox, Ui_settings_dialog::editor_ind_uses_tabs_checkbox, Ui_settings_dialog::editor_ind_width_spinbox, Ui_settings_dialog::editor_long_line_column, Ui_settings_dialog::editor_long_line_marker, Ui_settings_dialog::editor_longWindowTitle, Ui_settings_dialog::editor_notebook_tab_width_max, Ui_settings_dialog::editor_notebook_tab_width_min, Ui_settings_dialog::editor_reload_changed_files, Ui_settings_dialog::editor_restoreSession, Ui_settings_dialog::editor_showLineNumbers, Ui_settings_dialog::editor_spinbox_ac_threshold, Ui_settings_dialog::editor_tab_ind_checkbox, Ui_settings_dialog::editor_tab_width_spinbox, Ui_settings_dialog::editor_ws_checkbox, Ui_settings_dialog::editor_ws_indent_checkbox, export_shortcut_set1(), export_shortcut_set2(), shortcut_manager::fill_treewidget(), Ui_settings_dialog::general_icon_graphic, Ui_settings_dialog::general_icon_letter, Ui_settings_dialog::general_icon_octave, get_file_browser_dir(), resource_manager::get_gui_translation_dir(), get_octave_dir(), resource_manager::get_settings(), Ui_settings_dialog::icon_size_large, Ui_settings_dialog::icon_size_normal, Ui_settings_dialog::icon_size_small, import_shortcut_set1(), import_shortcut_set2(), Ui_settings_dialog::layout_widget_bgtitle, Ui_settings_dialog::layout_widget_bgtitle_active, Ui_settings_dialog::layout_widget_fgtitle, Ui_settings_dialog::layout_widget_fgtitle_active, Ui_settings_dialog::le_file_browser_dir, Ui_settings_dialog::le_octave_dir, lexer, Ui_settings_dialog::pb_file_browser_dir, Ui_settings_dialog::pb_octave_dir, Ui_settings_dialog::proxyHostName, Ui_settings_dialog::proxyPassword, Ui_settings_dialog::proxyPort, Ui_settings_dialog::proxyType, Ui_settings_dialog::proxyUserName, Ui_settings_dialog::rb_sc_set1, Ui_settings_dialog::rb_sc_set2, read_terminal_colors(), read_workspace_colors(), Ui_settings_dialog::sb_3d_title, set_disabled_pref_file_browser_dir(), Ui_settings_dialog::setupUi(), Ui_settings_dialog::shortcuts_treewidget, show_tab(), Ui_settings_dialog::showFileSize, Ui_settings_dialog::showFileType, Ui_settings_dialog::showHiddenFiles, Ui_settings_dialog::showLastModified, Ui_settings_dialog::sync_octave_directory, Ui_settings_dialog::terminal_cursorBlinking, Ui_settings_dialog::terminal_cursorType, Ui_settings_dialog::terminal_cursorUseForegroundColor, Ui_settings_dialog::terminal_focus_command, Ui_settings_dialog::terminal_fontName, Ui_settings_dialog::terminal_fontSize, Ui_settings_dialog::terminal_history_buffer, Ui_settings_dialog::terminal_print_dbg_location, ui, Ui_settings_dialog::useAlternatingRowColors, Ui_settings_dialog::useCustomFileEditor, and Ui_settings_dialog::useProxyServer.
settings_dialog::~settings_dialog | ( | ) |
Definition at line 411 of file settings-dialog.cc.
References ui.
|
signal |
Definition at line 123 of file moc-settings-dialog.cc.
Referenced by button_clicked().
|
privateslot |
Definition at line 981 of file settings-dialog.cc.
References apply_new_settings(), Ui_settings_dialog::button_box, ui, and write_changed_settings().
Referenced by settings_dialog().
|
privateslot |
Definition at line 1045 of file settings-dialog.cc.
References shortcut_manager::import_export().
Referenced by settings_dialog().
|
privateslot |
Definition at line 1057 of file settings-dialog.cc.
References shortcut_manager::import_export().
Referenced by settings_dialog().
|
privateslot |
Definition at line 998 of file settings-dialog.cc.
Referenced by get_file_browser_dir(), and get_octave_dir().
|
privateslot |
Definition at line 1013 of file settings-dialog.cc.
References get_dir(), Ui_settings_dialog::le_file_browser_dir, and ui.
Referenced by settings_dialog().
|
privateslot |
Definition at line 1007 of file settings-dialog.cc.
References get_dir(), Ui_settings_dialog::le_octave_dir, and ui.
Referenced by settings_dialog().
|
privateslot |
Definition at line 1039 of file settings-dialog.cc.
References shortcut_manager::import_export().
Referenced by settings_dialog().
|
privateslot |
Definition at line 1051 of file settings-dialog.cc.
References shortcut_manager::import_export().
Referenced by settings_dialog().
|
private |
Definition at line 587 of file settings-dialog.cc.
References resource_manager::terminal_color_chars(), resource_manager::terminal_color_names(), Ui_settings_dialog::terminal_colors_box, resource_manager::terminal_default_colors(), and ui.
Referenced by settings_dialog().
|
private |
Definition at line 546 of file settings-dialog.cc.
References resource_manager::storage_class_chars(), resource_manager::storage_class_default_colors(), resource_manager::storage_class_names(), ui, and Ui_settings_dialog::workspace_colors_box.
Referenced by settings_dialog().
|
privateslot |
Definition at line 1019 of file settings-dialog.cc.
References Ui_settings_dialog::cb_restore_file_browser_dir, Ui_settings_dialog::le_file_browser_dir, Ui_settings_dialog::pb_file_browser_dir, and ui.
Referenced by settings_dialog().
void settings_dialog::show_tab | ( | const QString & | tab | ) |
Definition at line 417 of file settings-dialog.cc.
References resource_manager::get_settings(), Ui_settings_dialog::tab_editor, Ui_settings_dialog::tab_editor_styles, Ui_settings_dialog::tabWidget, and ui.
Referenced by settings_dialog().
|
private |
Definition at line 627 of file settings-dialog.cc.
References _editor_current_line_color, _widget_title_bg_color, _widget_title_bg_color_active, _widget_title_fg_color, _widget_title_fg_color_active, Ui_settings_dialog::cb_code_folding, Ui_settings_dialog::cb_edit_status_bar, Ui_settings_dialog::cb_hide_tool_tips, Ui_settings_dialog::cb_prevent_readline_conflicts, Ui_settings_dialog::cb_prompt_to_exit, Ui_settings_dialog::cb_restore_file_browser_dir, Ui_settings_dialog::cb_restore_octave_dir, Ui_settings_dialog::cb_show_eol, Ui_settings_dialog::cb_show_hscrollbar, Ui_settings_dialog::cb_status_bar, Ui_settings_dialog::cb_widget_custom_style, Ui_settings_dialog::checkbox_allow_web_connect, color_picker::color(), Ui_settings_dialog::combo_eol_mode, Ui_settings_dialog::comboBox_language, Ui_settings_dialog::customFileEditor, Ui_settings_dialog::editor_auto_ind_checkbox, Ui_settings_dialog::editor_bs_unind_checkbox, Ui_settings_dialog::editor_checkbox_ac_builtins, Ui_settings_dialog::editor_checkbox_ac_case, Ui_settings_dialog::editor_checkbox_ac_document, Ui_settings_dialog::editor_checkbox_ac_functions, Ui_settings_dialog::editor_checkbox_ac_keywords, Ui_settings_dialog::editor_checkbox_ac_replace, Ui_settings_dialog::editor_codeCompletion, Ui_settings_dialog::editor_create_new_file, Ui_settings_dialog::editor_highlightCurrentLine, Ui_settings_dialog::editor_ind_guides_checkbox, Ui_settings_dialog::editor_ind_uses_tabs_checkbox, Ui_settings_dialog::editor_ind_width_spinbox, Ui_settings_dialog::editor_long_line_column, Ui_settings_dialog::editor_long_line_marker, Ui_settings_dialog::editor_longWindowTitle, Ui_settings_dialog::editor_notebook_tab_width_max, Ui_settings_dialog::editor_notebook_tab_width_min, Ui_settings_dialog::editor_reload_changed_files, Ui_settings_dialog::editor_restoreSession, Ui_settings_dialog::editor_showLineNumbers, Ui_settings_dialog::editor_spinbox_ac_threshold, Ui_settings_dialog::editor_tab_ind_checkbox, Ui_settings_dialog::editor_tab_width_spinbox, Ui_settings_dialog::editor_ws_checkbox, Ui_settings_dialog::editor_ws_indent_checkbox, Ui_settings_dialog::general_icon_graphic, Ui_settings_dialog::general_icon_letter, resource_manager::get_settings(), Ui_settings_dialog::icon_size_large, Ui_settings_dialog::icon_size_small, Ui_settings_dialog::le_file_browser_dir, Ui_settings_dialog::le_octave_dir, lexer, Ui_settings_dialog::proxyHostName, Ui_settings_dialog::proxyPassword, Ui_settings_dialog::proxyPort, Ui_settings_dialog::proxyType, Ui_settings_dialog::proxyUserName, Ui_settings_dialog::rb_sc_set2, Ui_settings_dialog::sb_3d_title, Ui_settings_dialog::showFileSize, Ui_settings_dialog::showFileType, Ui_settings_dialog::showHiddenFiles, Ui_settings_dialog::showLastModified, Ui_settings_dialog::sync_octave_directory, Ui_settings_dialog::tabWidget, Ui_settings_dialog::terminal_cursorBlinking, Ui_settings_dialog::terminal_cursorType, Ui_settings_dialog::terminal_cursorUseForegroundColor, Ui_settings_dialog::terminal_focus_command, Ui_settings_dialog::terminal_fontName, Ui_settings_dialog::terminal_fontSize, Ui_settings_dialog::terminal_history_buffer, Ui_settings_dialog::terminal_print_dbg_location, ui, Ui_settings_dialog::useAlternatingRowColors, Ui_settings_dialog::useCustomFileEditor, Ui_settings_dialog::useProxyServer, shortcut_manager::write_shortcuts(), write_terminal_colors(), and write_workspace_colors().
Referenced by button_clicked().
|
private |
Definition at line 961 of file settings-dialog.cc.
References color_picker::color(), resource_manager::terminal_color_chars(), Ui_settings_dialog::terminal_colors_box, and ui.
Referenced by write_changed_settings().
|
private |
Definition at line 943 of file settings-dialog.cc.
References color_picker::color(), resource_manager::storage_class_chars(), ui, and Ui_settings_dialog::workspace_colors_box.
Referenced by write_changed_settings().
|
private |
Definition at line 89 of file settings-dialog.h.
Referenced by settings_dialog(), and write_changed_settings().
|
private |
Definition at line 85 of file settings-dialog.h.
Referenced by settings_dialog(), and write_changed_settings().
|
private |
Definition at line 86 of file settings-dialog.h.
Referenced by settings_dialog(), and write_changed_settings().
|
private |
Definition at line 87 of file settings-dialog.h.
Referenced by settings_dialog(), and write_changed_settings().
|
private |
Definition at line 88 of file settings-dialog.h.
Referenced by settings_dialog(), and write_changed_settings().
|
private |
Definition at line 68 of file settings-dialog.h.
Referenced by button_clicked(), get_file_browser_dir(), get_octave_dir(), read_terminal_colors(), read_workspace_colors(), set_disabled_pref_file_browser_dir(), settings_dialog(), show_tab(), write_changed_settings(), write_terminal_colors(), write_workspace_colors(), and ~settings_dialog().