File: TransparencyHelpText.h

package info (click to toggle)
qtop 2.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,840 kB
  • ctags: 5,775
  • sloc: cpp: 38,795; makefile: 9
file content (61 lines) | stat: -rw-r--r-- 3,744 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#ifndef TransparencyHelpText_h
#define TransparencyHelpText_h

/******************************************************************************
*
* Copyright (C) 2002 Hugo PEREIRA <mailto: hugo.pereira@free.fr>
*
* This is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
*
* This software is distributed in the hope that it will be useful, but WITHOUT
* Any WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License along with
* this program.  If not, see <http://www.gnu.org/licenses/>.
*
*******************************************************************************/

#include <QObject>

//* transparency help text
namespace Transparency
{
    static const QString helpText[] =
    {

        //_________________________________________________
        QObject::tr( "Transparency" ),
        QObject::tr( "<h2>Transparency</h2>"
        ""
        "<p>This section describes the various options used to set the application transparent look-and-feel. "
        "These options can be modified in the <i>Transparency</i> panel of the configuration dialog</p>"
        "<p>The following options are available:</p>"
        "<ul>"
        "<li style='margin-bottom:0.5em;'><i>foreground color</i> is the default color used to display the application <i>foreground</i> objects (e.g. text). "
        "Some applications that have more complex objects to display use additional settings to allow for using multiple "
        "foreground colors. The foreground objects can appear semi-transparent, by <i>merging</i> the foreground color with the "
        "transparent background localed underneath. The amount by which these are merged is controlled by the <i>foreground intensity</i> option.</li>"
        "<li style='margin-bottom:0.5em;'><i>shadow color</i> is the color used to possibly draw a shadow below some <i>foreground</i> objects (e.g. text). "
        "This option is ignored if the <i>shadow offset</i> variable (see below) is set to zero.</li>"
        "<li style='margin-bottom:0.5em;'><i>background color</i> is the color possibly used on top of the transparent background. The amount of color used for the tint is controlled by "
        "the <i>tint intensity</i> option. The color is ignored if this intensity is set to zero. On the contrary if the intensity is set to its maximum "
        "value, the transparent background is ignored, which is effectively equivalent to disabling all transparency effects.</li>"
        "<li style='margin-bottom:0.5em;'><i>shadow offset</i> is the offset between foreground objects (e.g. text) and the shadow that is drawn underneath. Setting this parameter to zero disables "
        "the drawing of any shadow</li>"
        "<li style='margin-bottom:0.5em;'><i>foreground intensity</i> controls the amount of merging between the foreground color and the transparent background located "
        "underneath. A value of zero makes all foreground objects invisible. On the contrary a maximum value corresponds to a <i>solid</i> foreground "
        "color, meaning that the background below is not visible.</li>"
        "<li style='margin-bottom:0.5em;'><i>tint intensity</i> is the amount of tint color merged to the transparent background to form the application background. "
        "A value of zero correspond to no tint. A maximum value effectively disable transparency effects.</li>"
        "</ul>" ),
        0
    };

};

#endif