GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
gui-preferences-sd.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 //
3 // Copyright (C) 2017-2023 The Octave Project Developers
4 //
5 // See the file COPYRIGHT.md in the top-level directory of this
6 // distribution or <https://octave.org/copyright/>.
7 //
8 // This file is part of Octave.
9 //
10 // Octave is free software: you can redistribute it and/or modify it
11 // under the terms of the GNU General Public License as published by
12 // the Free Software Foundation, either version 3 of the License, or
13 // (at your option) any later version.
14 //
15 // Octave is distributed in the hope that it will be useful, but
16 // WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 // GNU General Public License for more details.
19 //
20 // You should have received a copy of the GNU General Public License
21 // along with Octave; see the file COPYING. If not, see
22 // <https://www.gnu.org/licenses/>.
23 //
24 ////////////////////////////////////////////////////////////////////////
25 
26 #if ! defined (octave_gui_preferences_sd_h)
27 #define octave_gui_preferences_sd_h 1
28 
29 #include "gui-preferences.h"
30 
31 // Settings dialog
32 
33 const gui_pref
34 sd_geometry ("settings/geometry", QVariant ());
35 
36 const gui_pref
37 sd_last_tab ("settings/last_tab", QVariant (0));
38 
39 const gui_pref
40 sd_last_editor_styles_tab ("settings/last_editor_styles_tab", QVariant (0));
41 
42 // Textstrings for second color schemes
43 const QString settings_color_modes = QT_TRANSLATE_NOOP (
44  "octave::settings_dialog",
45  "Second color mode (light/dark)");
46 const QString settings_color_modes_tooltip = QT_TRANSLATE_NOOP (
47  "octave::settings_dialog",
48  "Switches to another set of colors.\n"
49  "Useful for defining a dark/light mode.\n"
50  "Discards non-applied current changes!");
51 const QString settings_reload_colors = QT_TRANSLATE_NOOP (
52  "octave::settings_dialog",
53  "&Reload default colors");
54 const QString settings_reload_colors_tooltip = QT_TRANSLATE_NOOP (
55  "octave::settings_dialog",
56  "Reloads the default colors,\n"
57  "depending on currently selected mode.");
58 const QString settings_reload_styles = QT_TRANSLATE_NOOP (
59  "octave::settings_dialog",
60  "&Reload default styles");
61 const QString settings_reload_styles_tooltip = QT_TRANSLATE_NOOP (
62  "octave::settings_dialog",
63  "Reloads the default values of the styles,\n"
64  "depending on currently selected mode.");
65 
66 #endif
const QString settings_reload_colors_tooltip
const QString settings_color_modes_tooltip
const QString settings_color_modes
const gui_pref sd_geometry("settings/geometry", QVariant())
const QString settings_reload_colors
const QString settings_reload_styles_tooltip
const gui_pref sd_last_editor_styles_tab("settings/last_editor_styles_tab", QVariant(0))
const QString settings_reload_styles
const gui_pref sd_last_tab("settings/last_tab", QVariant(0))