BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
StyleUtils.h File Reference

Description

Defines GUI::StyleUtils namespace.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file StyleUtils.h.

Include dependency graph for StyleUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 GUI
 
 GUI::Util
 
 GUI::Util::Style
 

Functions

QFont GUI::Util::Style::labelFont (bool bold=false)
 Returns font for labels. More...
 
int GUI::Util::Style::PropertyPanelWidth ()
 Returns typical width of the vertical property panel. More...
 
QString GUI::Util::Style::propertyTreeStyle ()
 Returns string representing the style of QTreeView intended for property editor. More...
 
QFont GUI::Util::Style::sectionFont (bool bold=false)
 Returns font for sections. More...
 
void GUI::Util::Style::setPropertyStyle (QTreeView *tree)
 Sets style for the tree to use in property editors. More...
 
void GUI::Util::Style::setResizable (QDialog *dialog)
 Make modal dialog resizable. More...
 
QSize GUI::Util::Style::SizeOfLetterM (const QWidget *widget=nullptr)
 Returns size of largest letter of default system font. More...
 
int GUI::Util::Style::SystemPointSize ()
 Returns size in points of default system font. More...