BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
styleutils.cpp
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // qt-mvvm: Model-view-view-model framework for large GUI applications
4 //
5 //! @file mvvm/viewmodel/mvvm/editors/styleutils.cpp
6 //! @brief Implements class CLASS?
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2020
11 //! @authors Gennady Pospelov et al, Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
16 
18 {
19  const int default_pixmap_size = 16;
20  return default_pixmap_size;
21 }
22 
24 {
25  const int default_info_bar_height = 24;
26  return default_info_bar_height;
27 }
28 
30 {
31  const int default_info_bar_text_saize = 8;
32  return default_info_bar_text_saize;
33 }
Defines class CLASS?
MVVM_VIEWMODEL_EXPORT int DefaultInfoBarHeight()
Returns default height of info bar.
Definition: styleutils.cpp:23
MVVM_VIEWMODEL_EXPORT int DefaultPixmapSize()
Returns int value corresponding to pixmap in standard Qt table/tree decorations.
Definition: styleutils.cpp:17
MVVM_VIEWMODEL_EXPORT int DefaultInfoBarTextSize()
Returns default size of text on info bar.
Definition: styleutils.cpp:29