BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
DesignerHelper.cpp
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/View/Tool/DesignerHelper.cpp
6 //! @brief Implements class DesignerHelper
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
17 
19 {
20  return GUI::Util::Style::SystemPointSize() * 1.2;
21 }
22 
24 {
25  return GUI::Util::Style::SystemPointSize() * 0.9;
26 }
27 
29 {
30  return GUI::Util::Style::SystemPointSize() * 0.7;
31 }
32 
34 {
36 }
Defines class DesignerHelper.
Defines GUI::StyleUtils namespace.
static int getPythonEditorFontSize()
static int getLabelFontSize()
static int getPortFontSize()
static int getSectionFontSize()
Returns system dependent font size.
int SystemPointSize()
Returns size in points of default system font.
Definition: StyleUtils.cpp:119