BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ModelView::Style Namespace Reference

Functions

MVVM_VIEWMODEL_EXPORT int DefaultInfoBarHeight ()
 Returns default height of info bar. More...
 
MVVM_VIEWMODEL_EXPORT int DefaultInfoBarTextSize ()
 Returns default size of text on info bar. More...
 
MVVM_VIEWMODEL_EXPORT int DefaultPixmapSize ()
 Returns int value corresponding to pixmap in standard Qt table/tree decorations. More...
 

Function Documentation

◆ DefaultInfoBarHeight()

int ModelView::Style::DefaultInfoBarHeight ( )

Returns default height of info bar.

Definition at line 23 of file styleutils.cpp.

24 {
25  const int default_info_bar_height = 24;
26  return default_info_bar_height;
27 }

Referenced by ModelView::StatusLabel::StatusLabel().

◆ DefaultInfoBarTextSize()

int ModelView::Style::DefaultInfoBarTextSize ( )

Returns default size of text on info bar.

Definition at line 29 of file styleutils.cpp.

30 {
31  const int default_info_bar_text_saize = 8;
32  return default_info_bar_text_saize;
33 }

◆ DefaultPixmapSize()

int ModelView::Style::DefaultPixmapSize ( )

Returns int value corresponding to pixmap in standard Qt table/tree decorations.

Definition at line 17 of file styleutils.cpp.

18 {
19  const int default_pixmap_size = 16;
20  return default_pixmap_size;
21 }

Referenced by ModelView::ColorEditor::update_components(), and ModelView::ExternalPropertyEditor::update_components().