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

Go to the source code of this file.

Functions

const QString ws_class_chars ("agp")
 
const gui_pref ws_color_mode ("workspaceview/color_mode", QVariant(0))
 
const gui_pref ws_column_state ("workspaceview/column_state", QVariant())
 
const gui_pref ws_enable_colors ("workspaceview/enable_colors", QVariant(false))
 
const gui_pref ws_filter_active ("workspaceview/filter_active", QVariant(false))
 
const gui_pref ws_filter_shown ("workspaceview/filter_shown", QVariant(true))
 
const gui_pref ws_hide_tool_tips ("workspaceview/hide_tools_tips", QVariant(false))
 
const gui_pref ws_max_filter_history ("workspaceview/max_filter_history", QVariant(10))
 
const gui_pref ws_mru_list ("workspaceview/mru_list", QVariant())
 
const gui_pref ws_sort_column ("workspaceview/sort_by_column", QVariant(0))
 
const gui_pref ws_sort_order ("workspaceview/sort_order", QVariant(Qt::AscendingOrder))
 

Variables

const QStringList ws_color_names
 
const gui_pref ws_colors [2 *ws_colors_count]
 
const int ws_colors_count = 3
 
const QStringList ws_columns_shown
 
const QStringList ws_columns_shown_keys
 

Function Documentation

◆ ws_class_chars()

const QString ws_class_chars ( "agp"  )

Referenced by workspace_model::data().

◆ ws_color_mode()

◆ ws_column_state()

const gui_pref ws_column_state ( "workspaceview/column_state"  ,
QVariant()   
)

◆ ws_enable_colors()

const gui_pref ws_enable_colors ( "workspaceview/enable_colors"  ,
QVariant(false)   
)

◆ ws_filter_active()

const gui_pref ws_filter_active ( "workspaceview/filter_active"  ,
QVariant(false)   
)

◆ ws_filter_shown()

const gui_pref ws_filter_shown ( "workspaceview/filter_shown"  ,
QVariant(true)   
)

◆ ws_hide_tool_tips()

const gui_pref ws_hide_tool_tips ( "workspaceview/hide_tools_tips"  ,
QVariant(false)   
)

◆ ws_max_filter_history()

const gui_pref ws_max_filter_history ( "workspaceview/max_filter_history"  ,
QVariant(10)   
)

◆ ws_mru_list()

const gui_pref ws_mru_list ( "workspaceview/mru_list"  ,
QVariant()   
)

◆ ws_sort_column()

const gui_pref ws_sort_column ( "workspaceview/sort_by_column"  ,
QVariant(0)   
)

◆ ws_sort_order()

const gui_pref ws_sort_order ( "workspaceview/sort_order"  ,
QVariant(Qt::AscendingOrder)   
)

Variable Documentation

◆ ws_color_names

const QStringList ws_color_names
Initial value:
= {
QT_TRANSLATE_NOOP ("octave::settings_dialog", "argument"),
QT_TRANSLATE_NOOP ("octave::settings_dialog", "global"),
}

Definition at line 92 of file gui-preferences-ws.h.

Referenced by workspace_model::data(), workspace_view::notice_settings(), and settings_dialog::read_workspace_colors().

◆ ws_colors

const gui_pref ws_colors[2 *ws_colors_count]
Initial value:
=
{
{"workspaceview/color_a" + settings_color_modes_ext[0], QVariant (QPalette::Highlight)},
{"workspaceview/color_g" + settings_color_modes_ext[0], QVariant (QPalette::Midlight)},
{"workspaceview/color_p" + settings_color_modes_ext[0], QVariant (QPalette::Dark)},
{"workspaceview/color_a" + settings_color_modes_ext[1], QVariant ()},
{"workspaceview/color_g" + settings_color_modes_ext[1], QVariant ()},
{"workspaceview/color_p" + settings_color_modes_ext[1], QVariant ()}
}
const QStringList settings_color_modes_ext(QStringList()<< ""<< "_2")

Definition at line 79 of file gui-preferences-ws.h.

Referenced by workspace_model::notice_settings(), settings_dialog::read_workspace_colors(), settings_dialog::update_workspace_colors(), and settings_dialog::write_workspace_colors().

◆ ws_colors_count

◆ ws_columns_shown

const QStringList ws_columns_shown
Initial value:
= {
QT_TRANSLATE_NOOP ("octave::workspace_view", "Class"),
QT_TRANSLATE_NOOP ("octave::workspace_view", "Dimension"),
QT_TRANSLATE_NOOP ("octave::workspace_view", "Value"),
}

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

Referenced by workspace_view::header_contextmenu_requested(), and workspace_view::notice_settings().

◆ ws_columns_shown_keys

const QStringList ws_columns_shown_keys
Initial value:
= {
"workspaceview/show_class",
"workspaceview/show_dimension",
"workspaceview/show_value",
"workspaceview/show_attribute"
}

Definition at line 65 of file gui-preferences-ws.h.

Referenced by workspace_view::header_contextmenu_requested(), workspace_view::notice_settings(), and workspace_view::toggle_header().