Mercurial > octave
annotate libgui/src/gui-preferences-sd.h @ 33658:b1d6e40ac737 stable tip
NEWS.9.md: Fix typo and minor formatting changes.
* etc/NEWS.9.md: Fix typo. Adjust whitespace. Use markdown syntax for code
snippets.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Wed, 05 Jun 2024 11:27:35 +0200 |
parents | 2e484f9f1f18 |
children |
rev | line source |
---|---|
27923
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
1 //////////////////////////////////////////////////////////////////////// |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
2 // |
32632
2e484f9f1f18
maint: update Octave Project Developers copyright for the new year
John W. Eaton <jwe@octave.org>
parents:
32519
diff
changeset
|
3 // Copyright (C) 2017-2024 The Octave Project Developers |
27923
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
4 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
5 // See the file COPYRIGHT.md in the top-level directory of this |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
6 // distribution or <https://octave.org/copyright/>. |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
7 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
8 // This file is part of Octave. |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
9 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
10 // Octave is free software: you can redistribute it and/or modify it |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
11 // under the terms of the GNU General Public License as published by |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
12 // the Free Software Foundation, either version 3 of the License, or |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
13 // (at your option) any later version. |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
14 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
15 // Octave is distributed in the hope that it will be useful, but |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
16 // WITHOUT ANY WARRANTY; without even the implied warranty of |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
18 // GNU General Public License for more details. |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
19 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
20 // You should have received a copy of the GNU General Public License |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
21 // along with Octave; see the file COPYING. If not, see |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
22 // <https://www.gnu.org/licenses/>. |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
23 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
24 //////////////////////////////////////////////////////////////////////// |
27867
99371079780f
use symbolic constants for settings dialogs prefs
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
25 |
99371079780f
use symbolic constants for settings dialogs prefs
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
26 #if ! defined (octave_gui_preferences_sd_h) |
99371079780f
use symbolic constants for settings dialogs prefs
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
27 #define octave_gui_preferences_sd_h 1 |
99371079780f
use symbolic constants for settings dialogs prefs
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
28 |
99371079780f
use symbolic constants for settings dialogs prefs
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
29 #include "gui-preferences.h" |
99371079780f
use symbolic constants for settings dialogs prefs
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
30 |
99371079780f
use symbolic constants for settings dialogs prefs
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
31 // Settings dialog |
99371079780f
use symbolic constants for settings dialogs prefs
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
32 |
31702
aae24eaf89ad
update gui_pref class to match recent changes to sc_pref class
John W. Eaton <jwe@octave.org>
parents:
31558
diff
changeset
|
33 extern gui_pref sd_geometry; |
27867
99371079780f
use symbolic constants for settings dialogs prefs
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
34 |
31702
aae24eaf89ad
update gui_pref class to match recent changes to sc_pref class
John W. Eaton <jwe@octave.org>
parents:
31558
diff
changeset
|
35 extern gui_pref sd_last_tab; |
27867
99371079780f
use symbolic constants for settings dialogs prefs
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
36 |
31702
aae24eaf89ad
update gui_pref class to match recent changes to sc_pref class
John W. Eaton <jwe@octave.org>
parents:
31558
diff
changeset
|
37 extern gui_pref sd_last_editor_styles_tab; |
27867
99371079780f
use symbolic constants for settings dialogs prefs
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
38 |
31558
69c8979f8b2c
fix missing trnaslation for new strings in settings dialog (bug #63404)
Torsten Lilge <ttl-octave@mailbox.org>
parents:
30564
diff
changeset
|
39 // Textstrings for second color schemes |
31718
52a5bec0fc74
style fixes: avoid breaking lines after "(" and prefer "" over QString ("")
John W. Eaton <jwe@octave.org>
parents:
31707
diff
changeset
|
40 const QString settings_color_modes |
52a5bec0fc74
style fixes: avoid breaking lines after "(" and prefer "" over QString ("")
John W. Eaton <jwe@octave.org>
parents:
31707
diff
changeset
|
41 = QT_TRANSLATE_NOOP ("octave::settings_dialog", |
52a5bec0fc74
style fixes: avoid breaking lines after "(" and prefer "" over QString ("")
John W. Eaton <jwe@octave.org>
parents:
31707
diff
changeset
|
42 "Second color mode (light/dark)"); |
31702
aae24eaf89ad
update gui_pref class to match recent changes to sc_pref class
John W. Eaton <jwe@octave.org>
parents:
31558
diff
changeset
|
43 |
31718
52a5bec0fc74
style fixes: avoid breaking lines after "(" and prefer "" over QString ("")
John W. Eaton <jwe@octave.org>
parents:
31707
diff
changeset
|
44 const QString settings_color_modes_tooltip |
52a5bec0fc74
style fixes: avoid breaking lines after "(" and prefer "" over QString ("")
John W. Eaton <jwe@octave.org>
parents:
31707
diff
changeset
|
45 = QT_TRANSLATE_NOOP ("octave::settings_dialog", |
32519
6ff63f154144
maint: Review and update strings that appear in GUI.
Rik <rik@octave.org>
parents:
31718
diff
changeset
|
46 "Switch to a second set of colors.\n" |
6ff63f154144
maint: Review and update strings that appear in GUI.
Rik <rik@octave.org>
parents:
31718
diff
changeset
|
47 "Useful for defining light/dark modes.\n" |
31718
52a5bec0fc74
style fixes: avoid breaking lines after "(" and prefer "" over QString ("")
John W. Eaton <jwe@octave.org>
parents:
31707
diff
changeset
|
48 "Discards non-applied current changes!"); |
31702
aae24eaf89ad
update gui_pref class to match recent changes to sc_pref class
John W. Eaton <jwe@octave.org>
parents:
31558
diff
changeset
|
49 |
31718
52a5bec0fc74
style fixes: avoid breaking lines after "(" and prefer "" over QString ("")
John W. Eaton <jwe@octave.org>
parents:
31707
diff
changeset
|
50 const QString settings_reload_colors |
52a5bec0fc74
style fixes: avoid breaking lines after "(" and prefer "" over QString ("")
John W. Eaton <jwe@octave.org>
parents:
31707
diff
changeset
|
51 = QT_TRANSLATE_NOOP ("octave::settings_dialog", |
52a5bec0fc74
style fixes: avoid breaking lines after "(" and prefer "" over QString ("")
John W. Eaton <jwe@octave.org>
parents:
31707
diff
changeset
|
52 "&Reload default colors"); |
31702
aae24eaf89ad
update gui_pref class to match recent changes to sc_pref class
John W. Eaton <jwe@octave.org>
parents:
31558
diff
changeset
|
53 |
31718
52a5bec0fc74
style fixes: avoid breaking lines after "(" and prefer "" over QString ("")
John W. Eaton <jwe@octave.org>
parents:
31707
diff
changeset
|
54 const QString settings_reload_colors_tooltip |
52a5bec0fc74
style fixes: avoid breaking lines after "(" and prefer "" over QString ("")
John W. Eaton <jwe@octave.org>
parents:
31707
diff
changeset
|
55 = QT_TRANSLATE_NOOP ("octave::settings_dialog", |
32519
6ff63f154144
maint: Review and update strings that appear in GUI.
Rik <rik@octave.org>
parents:
31718
diff
changeset
|
56 "Reload the default colors,\n" |
6ff63f154144
maint: Review and update strings that appear in GUI.
Rik <rik@octave.org>
parents:
31718
diff
changeset
|
57 "depends on currently selected mode."); |
31702
aae24eaf89ad
update gui_pref class to match recent changes to sc_pref class
John W. Eaton <jwe@octave.org>
parents:
31558
diff
changeset
|
58 |
31718
52a5bec0fc74
style fixes: avoid breaking lines after "(" and prefer "" over QString ("")
John W. Eaton <jwe@octave.org>
parents:
31707
diff
changeset
|
59 const QString settings_reload_styles |
52a5bec0fc74
style fixes: avoid breaking lines after "(" and prefer "" over QString ("")
John W. Eaton <jwe@octave.org>
parents:
31707
diff
changeset
|
60 = QT_TRANSLATE_NOOP ("octave::settings_dialog", |
52a5bec0fc74
style fixes: avoid breaking lines after "(" and prefer "" over QString ("")
John W. Eaton <jwe@octave.org>
parents:
31707
diff
changeset
|
61 "&Reload default styles"); |
31702
aae24eaf89ad
update gui_pref class to match recent changes to sc_pref class
John W. Eaton <jwe@octave.org>
parents:
31558
diff
changeset
|
62 |
31718
52a5bec0fc74
style fixes: avoid breaking lines after "(" and prefer "" over QString ("")
John W. Eaton <jwe@octave.org>
parents:
31707
diff
changeset
|
63 const QString settings_reload_styles_tooltip |
52a5bec0fc74
style fixes: avoid breaking lines after "(" and prefer "" over QString ("")
John W. Eaton <jwe@octave.org>
parents:
31707
diff
changeset
|
64 = QT_TRANSLATE_NOOP ("octave::settings_dialog", |
32519
6ff63f154144
maint: Review and update strings that appear in GUI.
Rik <rik@octave.org>
parents:
31718
diff
changeset
|
65 "Reload the default style values,\n" |
6ff63f154144
maint: Review and update strings that appear in GUI.
Rik <rik@octave.org>
parents:
31718
diff
changeset
|
66 "depends on currently selected mode."); |
31558
69c8979f8b2c
fix missing trnaslation for new strings in settings dialog (bug #63404)
Torsten Lilge <ttl-octave@mailbox.org>
parents:
30564
diff
changeset
|
67 |
27867
99371079780f
use symbolic constants for settings dialogs prefs
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
68 #endif |