BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
styleutils.h
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.h
6 //! @brief Defines 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 
15 #ifndef BORNAGAIN_MVVM_VIEWMODEL_MVVM_EDITORS_STYLEUTILS_H
16 #define BORNAGAIN_MVVM_VIEWMODEL_MVVM_EDITORS_STYLEUTILS_H
17 
18 #include "mvvm/viewmodel_export.h"
19 
20 namespace ModelView {
21 
22 namespace Style {
23 
24 //! Returns int value corresponding to pixmap in standard Qt table/tree decorations.
25 MVVM_VIEWMODEL_EXPORT int DefaultPixmapSize();
26 
27 //! Returns default height of info bar
28 MVVM_VIEWMODEL_EXPORT int DefaultInfoBarHeight();
29 
30 //! Returns default size of text on info bar.
31 MVVM_VIEWMODEL_EXPORT int DefaultInfoBarTextSize();
32 
33 } // namespace Style
34 
35 } // namespace ModelView
36 
37 #endif // BORNAGAIN_MVVM_VIEWMODEL_MVVM_EDITORS_STYLEUTILS_H
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
materialitems.h Collection of materials to populate MaterialModel.